Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.doAutoLoot()


            }else{
             
              if(!player.getInventory().validateCapacity(item_templ) || (!Config.AUTO_LOOT_BOSS && this instanceof L2RaidBossInstance) || (!Config.AUTO_LOOT_BOSS && this instanceof L2GrandBossInstance))
                DropItem(player, item);
              else
                player.doAutoLoot(this, item); // Give this or these Item(s) to the L2PcInstance that has killed the L2Attackable
           
            }
         
          }
          else
View Full Code Here


          L2Item item_templ = ItemTable.getInstance().getTemplate(item.getItemId());
         
          if(!player.getInventory().validateCapacity(item_templ))
            DropItem(player, item);
          else
            player.doAutoLoot(this, item); // Give this or these Item(s) to the L2PcInstance that has killed the L2Attackable
        }
        else
        {
          DropItem(player, item); // drop the item on the ground
        }
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.