Examples of dropItem()


Examples of lineage2.gameserver.model.instances.NpcInstance.dropItem()

            }
            break;
          case 22262:
            if (Rnd.chance(12))
            {
              actor.dropItem(player, GREEN_CRYSTAL, 1);
            }
            break;
          case 22264:
            if (Rnd.chance(12))
            {
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.dropItem()

            }
            break;
          case 22264:
            if (Rnd.chance(12))
            {
              actor.dropItem(player, GREEN_CRYSTAL, 1);
            }
            break;
          case 22266:
            if (Rnd.chance(5))
            {
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.dropItem()

            }
            break;
          case 22266:
            if (Rnd.chance(5))
            {
              actor.dropItem(player, RED_CRYSTAL, 1);
            }
            break;
          case 22257:
            if (Rnd.chance(21))
            {
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.dropItem()

            }
            break;
          case 22257:
            if (Rnd.chance(21))
            {
              actor.dropItem(player, YELLOW_CRYSTAL, 1);
            }
            break;
          case 22258:
            if (Rnd.chance(22))
            {
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.dropItem()

            }
            break;
          case 22258:
            if (Rnd.chance(22))
            {
              actor.dropItem(player, YELLOW_CRYSTAL, 1);
            }
            break;
        }
      }
    }
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.dropItem()

    {
      final Player player = killer.getPlayer();
      if (player != null)
      {
        final NpcInstance actor = getActor();
        actor.dropItem(player, SPIRIT_OF_LAKE, 1);
        if (Rnd.chance(10))
        {
          actor.dropItem(player, BLUE_CRYSTAL, 1);
        }
      }
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.dropItem()

      {
        final NpcInstance actor = getActor();
        actor.dropItem(player, SPIRIT_OF_LAKE, 1);
        if (Rnd.chance(10))
        {
          actor.dropItem(player, BLUE_CRYSTAL, 1);
        }
      }
    }
    super.onEvtDead(killer);
  }
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.dropItem()

      ItemList il = new ItemList(activeChar, true);
      activeChar.sendPacket(il);
    }

    L2ItemInstance dropedItem = activeChar.dropItem("Drop", _objectId, _count, _x, _y, _z, null, false);

    if (Config.DEBUG) _log.fine("dropping " + _objectId + " item("+_count+") at: " + _x + " " + _y + " " + _z);

    // activeChar.broadcastUserInfo();
View Full Code Here

Examples of npc.model.MeleonInstance.dropItem()

      for (RewardData d : _dropList)
      {
        List<RewardItem> itd = d.roll(null, dropMod);
        for (RewardItem i : itd)
        {
          actor.dropItem(actor.getSpawner(), i.itemId, i.count);
        }
      }
    }
  }
 
View Full Code Here

Examples of npc.model.SquashInstance.dropItem()

      for (RewardData d : _dropList)
      {
        List<RewardItem> itd = d.roll(null, dropMod);
        for (RewardItem i : itd)
        {
          actor.dropItem(actor.getSpawner(), i.itemId, i.count);
        }
      }
    }
  }
 
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.