Package l2p.gameserver.model.instances

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


    for(SiegeSpawn sp : _artefactSpawnList.get(castle.getId()))
    {
      L2ArtefactInstance art = new L2ArtefactInstance(IdFactory.getInstance().getNextId(), NpcTable.getTemplate(sp.getNpcId()));
      art.setCurrentHpMp(art.getMaxHp(), art.getMaxMp(), true);
      art.setHeading(sp.getLoc().h);
      art.spawnMe(sp.getLoc().changeZ(50));
      castle.getSiege().addArtifact(art);
    }
  }

  public static void spawnControlTowers(Castle castle)
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.