summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/global_event_handler.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/functions/global_event_handler.txt')
-rw-r--r--world/map/npc/functions/global_event_handler.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/world/map/npc/functions/global_event_handler.txt b/world/map/npc/functions/global_event_handler.txt
index e4247d18..4d453c83 100644
--- a/world/map/npc/functions/global_event_handler.txt
+++ b/world/map/npc/functions/global_event_handler.txt
@@ -21,14 +21,16 @@ OnPCKillEvent:
callfunc "elanore_decrease_exp"; // decrease heal exp for doing bad things
end;
-OnPCKilledEvent:
- callfunc "fightclub_event_killed"; // this is used by the 1v1 arena
+OnMobKillEvent:
+ callfunc "MobPoints";
end;
OnPCDieEvent:
callfunc "fightclub_GoBack"; // this used by the battle master
- callfunc "fightclub_event_die"; // this is used by the 1v1 arena
+ //callfunc "fightclub_event_die"; // this is used by the 1v1 arena
set @necromancer, 0;
+ set @_M_BLOCK, 0; // reset magic block on death
+ set @killerrid, 0; // reset killer rid
end;
OnInit: