diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-13 17:34:10 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-13 17:34:10 -0300 |
commit | b81ba68b3fba3d882744ac9f26c4869b830a2a66 (patch) | |
tree | ef4eac8cbcc563f0f73f017764a581990340e79c /npc | |
parent | 2768679bdb26269ec19ad10bd1b06ab5dbb2b5e6 (diff) | |
download | serverdata-b81ba68b3fba3d882744ac9f26c4869b830a2a66.tar.gz serverdata-b81ba68b3fba3d882744ac9f26c4869b830a2a66.tar.bz2 serverdata-b81ba68b3fba3d882744ac9f26c4869b830a2a66.tar.xz serverdata-b81ba68b3fba3d882744ac9f26c4869b830a2a66.zip |
And the event label has been renamed in Hercules, adjust correctly
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/global_event_handler.txt | 1 | ||||
-rw-r--r-- | npc/functions/mob_points.txt | 2 |
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; } |