summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/global_event_handler.txt1
-rw-r--r--npc/functions/mob_points.txt2
2 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/global_event_handler.txt b/npc/functions/global_event_handler.txt
index aa06a38b..7780ad8b 100644
--- a/npc/functions/global_event_handler.txt
+++ b/npc/functions/global_event_handler.txt
@@ -16,6 +16,7 @@ OnPCKillEvent:
callfunc "elanore_decrease_exp"; // decrease heal exp for doing bad things
end;
+OnNPCKillEvent:
OnMobKillEvent:
MobPoints();
end;
diff --git a/npc/functions/mob_points.txt b/npc/functions/mob_points.txt
index cecf645e..da92ad34 100644
--- a/npc/functions/mob_points.txt
+++ b/npc/functions/mob_points.txt
@@ -6,7 +6,7 @@
// fix_mobkill(mobID) → Manual fix for scripted mobs
function script fix_mobkill {
killedrid=getarg(0);
- doevent "#mobptsys::OnNPCKillEvent";
+ doevent "#GlobalHandler::OnNPCKillEvent";
return;
}