hmm
after looking into it deeper is see I need more
still tweaking to see what works.
sub EVENT_DEATH
{
quest::say("I'll get you back $name!");
my @items = (all the item numbers go here 1,22,33,433,40.);
quest::summonitem("$items[int(rand($#items+1))]"); <-- this is wrong need the item on the npc's corpse.
quest::shout("I've just died!");
}
Last edited by sdabbs65; 08-08-2005 at 01:40 PM..
|