Package l2p.gameserver.model.instances

Examples of l2p.gameserver.model.instances.L2ControlTowerInstance


  public static void spawnControlTowers(Castle castle)
  {
    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);
    }
  }
View Full Code Here

TOP

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

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.