Examples of MinionList


Examples of lineage2.gameserver.model.MinionList

        {
          if (!master.isDead() && master.isVisible())
          {
            master.getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, attacker, damage);
          }
          MinionList minionList = master.getMinionList();
          if (minionList != null)
          {
            for (MinionInstance minion : minionList.getAliveMinions())
            {
              if (minion != actor)
              {
                minion.getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, attacker, damage);
              }
            }
          }
        }
      }
      MinionList minionList = actor.getMinionList();
      if ((minionList != null) && minionList.hasAliveMinions())
      {
        for (MinionInstance minion : minionList.getAliveMinions())
        {
          minion.getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, attacker, damage);
        }
      }
      for (NpcInstance npc : activeFactionTargets())
View Full Code Here

Examples of lineage2.gameserver.model.MinionList

   * @param template NpcTemplate
   */
  public MonsterInstance(int objectId, NpcTemplate template)
  {
    super(objectId, template);
    minionList = new MinionList(this);
  }
View Full Code Here

Examples of net.sf.l2j.gameserver.util.MinionList

   */
  public L2MonsterInstance(int objectId, L2NpcTemplate template)
  {
    super(objectId, template);
    getKnownList()// init knownlist
        _minionList  = new MinionList(this);
  }
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.