View Single Post
  #1  
Old 02-08-2010, 10:26 PM
Vexira
Fire Beetle
 
Join Date: Jun 2009
Location: Hi
Posts: 27
Default player.pl question

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?
Reply With Quote