Package l2p.gameserver.model.instances

Examples of l2p.gameserver.model.instances.L2SiegeBossInstance


  private void spawnSiegeBosses()
  {
    for(SiegeSpawn sp : ClanHallSiegeManager.getSiegeBossSpawnList(getSiegeUnit().getId()))
    {
      L2SiegeBossInstance siegeBoss = new L2SiegeBossInstance(IdFactory.getInstance().getNextId(), NpcTable.getTemplate(sp.getNpcId()));
      siegeBoss.setCurrentHpMp(siegeBoss.getMaxHp(), siegeBoss.getMaxMp(), true);
      siegeBoss.setXYZInvisible(sp.getLoc().correctGeoZ());
      siegeBoss.setSpawnedLoc(siegeBoss.getLoc());
      siegeBoss.setHeading(sp.getLoc().h);
      siegeBoss.spawnMe();
      _siegeBosses.add(siegeBoss);
      if(sp.getNpcId() == 35408)
      {
        Functions.npcSay(siegeBoss, "Gustave's soldiers, fight! Delivers the invader to die!");
      }
View Full Code Here

TOP

Related Classes of l2p.gameserver.model.instances.L2SiegeBossInstance

Copyright © 2018 www.massapicom. 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.