diff options
author | gumi <git@gumi.ca> | 2019-07-29 14:15:06 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2020-03-08 16:06:35 -0400 |
commit | 6e4491532daf12607093ad493a070f78aa7756d9 (patch) | |
tree | 18b226822fef5bd0eec661ce2c0eb8a15b782324 /world/map/npc/functions/global_event_handler.txt | |
parent | 0b3c98ddcce3b7c306c3416ffa54cc65c0806975 (diff) | |
download | serverdata-6e4491532daf12607093ad493a070f78aa7756d9.tar.gz serverdata-6e4491532daf12607093ad493a070f78aa7756d9.tar.bz2 serverdata-6e4491532daf12607093ad493a070f78aa7756d9.tar.xz serverdata-6e4491532daf12607093ad493a070f78aa7756d9.zip |
hardcore server
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; |