Examples of addDamage()


Examples of com.l2jfrozen.gameserver.model.actor.instance.L2MinionInstance.addDamage()

                      if (minion != null && !minion.isDead())
                      {
                        ((L2AttackableAI) minion.getAI()).setGlobalAggro(-25);
                        minion.clearAggroList();
                        minion.getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE);
                        minion.addDamage(((L2Attackable) player).getMostHated(), 100);
                      }
                    }
                    itr = null;
                    spawnedMinions = null;
                    minion = null;
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2MinionInstance.addDamage()

                if (minion != null && !minion.isDead())
                {
                  ((L2AttackableAI) minion.getAI()).setGlobalAggro(-25);
                  minion.clearAggroList();
                  minion.getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE);
                  minion.addDamage(((L2MinionInstance) target).getLeader().getMostHated(), 100);
                }
              }
              itr = null;
              spawnedMinions = null;
              minion = null;
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2MinionInstance.addDamage()

                if (minion != null && !minion.isDead())
                {
                  ((L2AttackableAI) minion.getAI()).setGlobalAggro(-25);
                  minion.clearAggroList();
                  minion.getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE);
                  minion.addDamage(((L2Attackable) target).getMostHated(), 100);
                }
              }
              itr = null;
              spawnedMinions = null;
              minion = null;
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2MinionInstance.addDamage()

                      if (minion != null && !minion.isDead())
                      {
                        ((L2AttackableAI) minion.getAI()).setGlobalAggro(-25);
                        minion.clearAggroList();
                        minion.getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE);
                        minion.addDamage(((L2Attackable) player).getMostHated(), 100);
                      }
                    }
                    itr = null;
                    spawnedMinions = null;
                    minion = null;
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2MonsterInstance.addDamage()

      {
        master = ((L2MinionInstance) this).getLeader();

        if(!master.isInCombat() && !master.isDead())
        {
          master.addDamage(attacker, 1);
        }
      }

      if(master.hasMinions())
      {
View Full Code Here

Examples of com.tankz.components.Health.addDamage()

  }
 
  private void addDamageToTarget(Entity crate) {
    Health h = crate.getComponent(Health.class);
    if(h != null)
      h.addDamage(10f);
  }



}
View Full Code Here

Examples of l2p.gameserver.model.entity.olympiad.OlympiadGame.addDamage()

          attacker.getPlayer().sendPacket(Msg.INVALID_TARGET);
          return;
        }
        if(this != attacker)
        {
          olymp_game.addDamage(this, Math.min(hp, i));
        }
        if(i >= hp)
        {
          if(olymp_game.getType() != CompType.TEAM && olymp_game.getType() != CompType.TEAM_RANDOM)
          {
View Full Code Here

Examples of lineage2.gameserver.model.entity.olympiad.OlympiadGame.addDamage()

    if (isInOlympiadMode())
    {
      OlympiadGame game = _olympiadGame;
      if ((this != attacker) && ((skill == null) || skill.isOffensive()))
      {
        game.addDamage(this, Math.min(hp, damage));
      }
      if ((hp - damage) <= 1)
      {
        if (game.getType() != CompType.TEAM)
        {
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance.addDamage()

        {
            L2MonsterInstance master = (L2MonsterInstance) this;
            if (this instanceof L2MinionInstance)
            {
                master = ((L2MinionInstance)this).getLeader();
                if (!master.isInCombat()&&!master.isDead()) master.addDamage(attacker, 1);
            }
            if (master.hasMinions())
                master.callMinionsToAssist(attacker);
        }
View Full Code Here

Examples of org.moparscape.msc.gs.model.mini.Damage.addDamage()

  public void addDamage(final Player player, final int damage,
      final int damageType) {
    final Damage prev = this.damage.get(player);
    if (prev != null) {
      prev.addDamage(damage, damageType);
    } else {
      this.damage.put(player, new Damage(damage, damageType));
    }
  }
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.