Package com.l2jfrozen.gameserver.skills.effects

Examples of com.l2jfrozen.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(false);
      }
      skill.getEffectsSelf(activeChar);
      effect = null;
    }
   
View Full Code Here


   
    if (caster instanceof L2PcInstance)
      caster.sendPacket(new EtcStatusUpdate((L2PcInstance) caster));
   
    if (effect.numCharges == 0)
      effect.exit(false);
   
    boolean ss = caster.checkSs();
   
    for (L2Object target2 : targets)
    {
View Full Code Here

    // activeChar.updateEffectIcons();

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

    // apply effects
    if(hasEffects())
    {
View Full Code Here

      effect.numCharges -= skill.getNumCharges();
      sendPacket(new EtcStatusUpdate(this));

      if(effect.numCharges == 0)
      {
        effect.exit(false);
      }
    }
    //************************************* Check Casting Conditions *******************************************

    // Check if the caster own the weapon needed
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.