Examples of removeEffect()


Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.removeEffect()

      for (L2Effect e : effects)
      {
        if (e.getEffectType() == L2Effect.EffectType.HEAL_OVER_TIME)
        {
          activeChar.stopEffects(L2Effect.EffectType.HEAL_OVER_TIME);
          activeChar.removeEffect(e);
        }
        if (e.getEffectType() == L2Effect.EffectType.COMBAT_POINT_HEAL_OVER_TIME)
        {
          activeChar.stopEffects(L2Effect.EffectType.COMBAT_POINT_HEAL_OVER_TIME);
          activeChar.removeEffect(e);
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.removeEffect()

          activeChar.removeEffect(e);
        }
        if (e.getEffectType() == L2Effect.EffectType.COMBAT_POINT_HEAL_OVER_TIME)
        {
          activeChar.stopEffects(L2Effect.EffectType.COMBAT_POINT_HEAL_OVER_TIME);
          activeChar.removeEffect(e);
        }
      }
    }

    // Apply augmentation boni for equipped items
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.removeEffect()

            for (L2Effect e : activeChar.getAllEffects())
            {
                if (e.getEffectType() == L2Effect.EffectType.HEAL_OVER_TIME)
                {
                    activeChar.stopEffects(L2Effect.EffectType.HEAL_OVER_TIME);
                    activeChar.removeEffect(e);
                }

                if (e.getEffectType() == L2Effect.EffectType.COMBAT_POINT_HEAL_OVER_TIME)
                {
                    activeChar.stopEffects(L2Effect.EffectType.COMBAT_POINT_HEAL_OVER_TIME);
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.removeEffect()

                }

                if (e.getEffectType() == L2Effect.EffectType.COMBAT_POINT_HEAL_OVER_TIME)
                {
                    activeChar.stopEffects(L2Effect.EffectType.COMBAT_POINT_HEAL_OVER_TIME);
                    activeChar.removeEffect(e);
                }
            }
        }

        // apply augmentation boni for equipped items
View Full Code Here

Examples of org.pokenet.server.battle.BattleField.removeEffect()

      }
      public int use(BattleMechanics mech, Pokemon user, Pokemon target) {
        BattleField field = user.getField();
        FieldEffect effect = field.getEffectByType(SpeedSwapEffect.class);
        if (effect != null) {
          field.removeEffect(effect);
        } else {
          field.showMessage(user.getName() + " twisted the dimensions!");
          field.applyEffect(new SpeedSwapEffect());
        }
        return 0;
View Full Code Here

Examples of org.pokenet.server.battle.BattleField.removeEffect()

            return entry;
          }

          public boolean tickField(BattleField field) {
            if (--m_turns == 0) {
              field.removeEffect(this);
              return true;
            }
            return false;
          }
          public String getName() {
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.