diff options
Diffstat (limited to 'world/map/npc/functions/global_event_handler.txt')
-rw-r--r-- | world/map/npc/functions/global_event_handler.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/world/map/npc/functions/global_event_handler.txt b/world/map/npc/functions/global_event_handler.txt index fe87b380..01d01e62 100644 --- a/world/map/npc/functions/global_event_handler.txt +++ b/world/map/npc/functions/global_event_handler.txt @@ -16,12 +16,14 @@ OnPCLoginEvent: addtimer 0, "Magic Timer::OnLogin"; // prevent cast rate abuse callfunc "MaybeGiveBirthday"; callfunc "MiriamExpire"; // force the speed skill quest to expire + callfunc "CheckDeath"; // add more here set @login_event, 2; end; OnPCKillEvent: callfunc "elanore_decrease_exp"; // decrease heal exp for doing bad things + callfunc "HardKill"; end; OnMobKillEvent: @@ -33,6 +35,7 @@ OnPCDieEvent: addtimer 0, "Magic Timer::OnClear"; // reset magic block on death callfunc "SpawnGhost"; callfunc "MiriamExpire"; // force the speed skill quest to expire + callfunc "HardDeath"; set @killerrid, 0; // reset killer rid end; |