Package l2p.gameserver.model.items

Examples of l2p.gameserver.model.items.L2ItemInstance.spawnMe()


    for(SiegeSpawn sp : FortressSiegeManager.getFlagsList(getSiegeUnit().getId()))
    {
      L2ItemInstance flag = ItemTable.getInstance().createItem(sp.getNpcId());
      flag.setCustomFlags(L2ItemInstance.FLAG_EQUIP_ON_PICKUP | L2ItemInstance.FLAG_NO_DESTROY | L2ItemInstance.FLAG_NO_TRADE | L2ItemInstance.FLAG_NO_UNEQUIP, false);
      flag.setXYZInvisible(sp.getLoc().correctGeoZ());
      flag.spawnMe();
      _flags.add(flag);
    }
  }

  private void unSpawnFlags()
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.