Package l2p.gameserver.model.instances

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


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

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

          }
        }
        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

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.