Vexira
02-08-2010, 10:26 PM
I want to make it so that when a player kills an npc, he gets points but I want it to work for npcs even if they already have a quest which leads me to the player.pl file in /templates/.
sub EVENT_DEATH doesn't seem to work for what I need and KILL_MERIT seems to only work for groups... Is there some event I can use that is triggered when a player kills an NPC?
sub EVENT_KILL {
quest::ldonpoints(1,2);
}
Something like this?
sub EVENT_DEATH doesn't seem to work for what I need and KILL_MERIT seems to only work for groups... Is there some event I can use that is triggered when a player kills an NPC?
sub EVENT_KILL {
quest::ldonpoints(1,2);
}
Something like this?