Package l2p.gameserver.model.instances

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


    for(SiegeSpawn sp : getControlTowerSpawnList(castle.getId()))
    {
      L2ControlTowerInstance tower = new L2ControlTowerInstance(IdFactory.getInstance().getNextId(), NpcTable.getTemplate(sp.getNpcId()), castle.getSiege(), sp.getValue());
      tower.setCurrentHpMp(tower.getMaxHp(), tower.getMaxMp(), true);
      tower.setHeading(sp.getLoc().h);
      tower.spawnMe(sp.getLoc());
      castle.getSiege().addControlTower(tower);
    }
  }

  public static int getControlTowerLosePenalty()
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.