View Single Post
  #2  
Old 08-20-2005, 05:05 PM
sdabbs65
Dragon
 
Join Date: Dec 2003
Location: Earth
Posts: 818
Default command

Quote:
Originally Posted by sdabbs65
Im looking for a plugin that will drop a random item on a corpse in event_death.
summonitem is not good enuff, I want it on the corpse.
I have all the item numbers from items.sql but I am unable to find a function that will place them on a corpse.
there is some old code that I enabled in 6.0 source for poolLoot items but it only drops coins.

if anyone has one please share.
just need to make this pick a random loot somehow...

# After hailing the NPC he gains 1 of item ID 5420 to his inventory.
sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::addloot(5420,1);
}
}
__________________
hosting Eqemu/Runuo/wow Emulators.

www.cheaterz.info
Reply With Quote