Package com.l2jfrozen.gameserver.model

Examples of com.l2jfrozen.gameserver.model.L2Effect.exit()


    // self Effect :]
    L2Effect effect = activeChar.getFirstEffect(skill.getId());
    if(effect != null && effect.isSelfEffect())
    {
      //Replace old effect with new one.
      effect.exit(false);
    }
    effect = null;
    skill.getEffectsSelf(activeChar);

    if(skill.isSuicideAttack())
View Full Code Here


    L2Effect effect = activeChar.getFirstEffect(skill.getId());
    if(effect != null && effect.isSelfEffect())
    {
      //Replace old effect with new one.
      effect.exit(false);
    }
    skill.getEffectsSelf(activeChar);

    effect = null;
  }
View Full Code Here

    // self Effect :]
    L2Effect effect = activeChar.getFirstEffect(skill.getId());
    if(effect != null && effect.isSelfEffect())
    {
      //Replace old effect with new one.
      effect.exit(false);
    }
    effect = null;
    skill.getEffectsSelf(activeChar);

  } //end void
View Full Code Here

    // effect self :]
    L2Effect effect = activeChar.getFirstEffect(getId());
    if (effect != null && effect.isSelfEffect())
    {
      // Replace old effect with new one.
      effect.exit(false);
    }
    // cast self effect if any
    getEffectsSelf(activeChar);
  }
 
View Full Code Here

      // self Effect :]
      L2Effect effect = activeChar.getFirstEffect(skill.getId());
      if (effect != null && effect.isSelfEffect())
      {
        // Replace old effect with new one.
        effect.exit(false);
      }
      skill.getEffectsSelf(activeChar);
      effect = null;
    }
   
View Full Code Here

      // Self Effect
      if (skill.hasSelfEffects())
      {
        final L2Effect effect = activeChar.getFirstEffect(skill.getId());
        if (effect != null && effect.isSelfEffect())
          effect.exit(false);
        skill.getEffectsSelf(activeChar);
      }
    }
   
    if (skill.isMagic())
View Full Code Here

      }
    }

    L2Effect effect = player.getFirstEffect(skill.getId());
    if(effect != null && effect.isSelfEffect())
      effect.exit(false);
    skill.getEffectsSelf(player);

    player = null;
    clan = null;
  }
View Full Code Here

    // effect self :]
    L2Effect seffect = caster.getFirstEffect(getId());
    if (seffect != null && seffect.isSelfEffect())
    {
      // Replace old effect with new one.
      seffect.exit(false);
    }
    // cast self effect if any
    getEffectsSelf(caster);
  }
}
View Full Code Here

        {
          L2Effect toggleEffect = getFirstEffect(sk.getId());
          if(toggleEffect != null)
          {
            // stop old toggle skill effect, and give new toggle skill effect back
            toggleEffect.exit(false);
            sk.getEffects(this, this,false,false,false);
          }
        }

        addSkill(sk, true);
View Full Code Here

     
      if(effect != null)
      {
        //fake death exception
        if (skill.getId() != 60)
          effect.exit(false);

        // Send a Server->Client packet ActionFailed to the L2PcInstance
        sendPacket(ActionFailed.STATIC_PACKET);
        return;
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.