Package l2p.gameserver.model.instances

Examples of l2p.gameserver.model.instances.L2MonsterInstance.giveItem()


        {
          L2ItemInstance item = L2ItemInstance.restoreFromDb(rset.getInt("object_id"), true);
          if(temp.size() > 0)
          {
            L2MonsterInstance monster = (L2MonsterInstance) temp.toArray()[Rnd.get(temp.size())];
            monster.giveItem(item, false);
          }
          else
          {
            NpcTable.getTemplate(rset.getInt("owner_id")).giveItem(item, false);
          }
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.