Package l2p.gameserver.model.instances

Examples of l2p.gameserver.model.instances.L2ArtefactInstance


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

TOP

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

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.