Package net.sf.l2j.gameserver.skills.effects

Examples of net.sf.l2j.gameserver.skills.effects.EffectCharge.exit()


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

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


    // update icons
    // activeChar.updateEffectIcons();

    // maybe exit? no charge
    if (effect.numCharges == 0) effect.exit();

    // apply effects
    if (hasEffects())
      for (int index = 0; index < targets.length; index++)
        getEffects(activeChar, (L2Character)targets[index]);
View Full Code Here

    if (getTargetType() != SkillTargetType.TARGET_AREA && getTargetType() != SkillTargetType.TARGET_MULTIFACE)
      effect.numCharges -= getNumCharges();
    if (caster instanceof L2PcInstance)
      caster.sendPacket(new EtcStatusUpdate((L2PcInstance)caster));
        if (effect.numCharges == 0)
          {effect.exit();}
        for (int index = 0;index < targets.length;index++)
        {
          L2ItemInstance weapon = caster.getActiveWeaponInstance();
          L2Character target = (L2Character)targets[index];
          if (target.isAlikeDead())
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.