Package l2p.gameserver.model.items

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


          }
        }
        target.deleteMe();
        return;
      }
      if(!target.pickupMe(this))
      {
        owner.sendActionFailed();
        return;
      }
    }
View Full Code Here


        if(!getInventory().validateCapacity(item))
        {
          sendPacket(Msg.YOUR_INVENTORY_IS_FULL);
          return;
        }
        if(!item.pickupMe(this))
        {
          return;
        }
        sendPacket(SystemMessage.obtainItems(item));
        Log.LogItem(this, Log.PickupItem, getInventory().addItem(item));
View Full Code Here

        }
        sendChanges();
      }
      else if(item.getItemId() == 57)
      {
        if(!item.pickupMe(this))
        {
          return;
        }
        getParty().distributeAdena(item, this);
      }
View Full Code Here

        getParty().distributeAdena(item, this);
      }
      else
      {
        // Нужно обязательно сначало удалить предмет с земли.
        if(!item.pickupMe(null))
        {
          return;
        }
        getParty().distributeItem(this, item);
      }
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.