EVENT_DEATH_COMPLETE's initiator is the one who did the killing, I believe. (I'd have to look again). But, I assume you were using that code in the /quests/global/global_player.pl
If so, and it didn't work, then, I suspect the one doing the killing is indeed the initiator.
So try this instead:
Code:
sub EVENT_DEATH_COMPLETE
{
if ($entity_list->GetMobByID($killer_id)->IsNPC())
{
$client->UpdateLDoNPoints(15, 1);
}
}
Points is a long integer last time I checked, so, there is no need to place it in quotes (though I'm assuming what you posted was just one of many iterations trying to get it to work, so it's just a fyi).