Examples of MinionData


Examples of lineage2.gameserver.templates.npc.MinionData

   * @param template NpcTemplate
   */
  public Kama26BossInstance(int objectId, NpcTemplate template)
  {
    super(objectId, template);
    getMinionList().addMinion(new MinionData(18556, 1));
  }
View Full Code Here

Examples of lineage2.gameserver.templates.npc.MinionData

  @Override
  protected void onEvtSpawn()
  {
    super.onEvtSpawn();
    final NpcInstance actor = getActor();
    actor.getMinionList().addMinion(new MinionData(Servitors[Rnd.get(Servitors.length)], Rnd.get(2)));
    _lastMinionCount = Math.max(actor.getMinionList().getAliveMinions().size(), 1);
  }
View Full Code Here

Examples of lineage2.gameserver.templates.npc.MinionData

  {
    if ((minions != null) && (minions.length > 0))
    {
      for (int id : minions)
      {
        template.addMinion(new MinionData(id, 1));
      }
    }
  }
View Full Code Here

Examples of lineage2.gameserver.templates.npc.MinionData

    @Override
    protected void onEvtSpawn() {
        super.onEvtSpawn();

        NpcInstance actor = getActor();
        actor.getMinionList().addMinion(new MinionData(Servitors[Rnd.get(Servitors.length)], Rnd.get(2)));
        _lastMinionCount = Math.max(actor.getMinionList().getAliveMinions().size(), 1);
    }
View Full Code Here

Examples of lineage2.gameserver.templates.npc.MinionData

          for (Iterator<org.dom4j.Element> nextIterator = secondElement.elementIterator(); nextIterator.hasNext();)
          {
            org.dom4j.Element nextElement = nextIterator.next();
            int id = Integer.parseInt(nextElement.attributeValue("npc_id"));
            int count = Integer.parseInt(nextElement.attributeValue("count"));
            template.addMinion(new MinionData(id, count));
          }
        }
        else if (nodeName.equalsIgnoreCase("teach_classes"))
        {
          for (Iterator<org.dom4j.Element> nextIterator = secondElement.elementIterator(); nextIterator.hasNext();)
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.