Package l2p.gameserver.model.instances

Examples of l2p.gameserver.model.instances.L2SiegeBossInstance.spawnMe()


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