Thread: Event death
View Single Post
  #1  
Old 03-25-2017, 02:35 AM
Excuses
Hill Giant
 
Join Date: Mar 2015
Posts: 126
Default Event death

Hey guys,

In regards to event on death and death complete, i was wondering if it's possible to reward players a LDoN currency, when they die? i have tried a few ways, even the simplest way:

sub EVENT_DEATH_COMPLETE {

quest::addldonpoints("15", 1);

}

But obviously, not exactly like that because it would have to reward the $name of who killed him, i have tried several ways but cannot seem to pinpoint it, any hints?