Examples of clearAggroList()


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

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

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

                        minion.setWalking();
                      }
                      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;
View Full Code Here

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

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

Examples of l2p.gameserver.model.instances.L2NpcInstance.clearAggroList()

    {
      return;
    }
    if(clearAggro)
    {
      actor.clearAggroList(true);
    }
    setIntention(CtrlIntention.AI_INTENTION_ACTIVE);
    // Удаляем все задания
    clearTasks();
    Location sloc = actor.getSpawnedLoc();
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.clearAggroList()

    {
      return;
    }
    if(clearAggro)
    {
      actor.clearAggroList(true);
    }
    setIntention(CtrlIntention.AI_INTENTION_ACTIVE);
    // Удаляем все задания
    clearTasks();
    Location sloc = actor.getSpawnedLoc();
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.clearAggroList()

      }
    }
    stopAITask();
    if(actor != null)
    {
      actor.clearAggroList(false);
    }
    if(actor != null)
    {
      actor.setAttackTimeout(Long.MAX_VALUE);
    }
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.clearAggroList()

          }
        }
        if(target.isNpc())
        {
          L2NpcInstance npc = (L2NpcInstance) target;
          npc.clearAggroList(true);
          npc.getAI().clearTasks();
          npc.getAI().setGlobalAggro(System.currentTimeMillis() + 10000);
          npc.getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE);
        }
        getEffects(activeChar, target, false, false);
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2Attackable.clearAggroList()

                        L2Attackable targ = (L2Attackable)target;
                      targ.stopHating(activeChar);
                        if (targ.getMostHated() == null)
                            {
                               ((L2AttackableAI)targ.getAI()).setGlobalAggro(-25);
                            targ.clearAggroList();
                            targ.getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE);
                            targ.setWalking();
                            }
                        }
                      skill.getEffects(activeChar, target);
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2Attackable.clearAggroList()

            if (aggro <= 0)
            {
              if (me.getMostHated() == null)
              {
                _globalAggro = -25;
                me.clearAggroList();
                setIntention(AI_INTENTION_IDLE, null, null);
              }
            return;
            }
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2Attackable.clearAggroList()

          aggro = me.getHating(mostHated);
          if (aggro <= 0)
            {
            _globalAggro = -25;
            me.clearAggroList();
            setIntention(AI_INTENTION_IDLE, null, null);
            }
        }
    }
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.