diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-07-07 20:34:27 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-07-07 20:34:27 -0300 |
commit | 9877fd4ad81120af8e63e96d5d429092014dc017 (patch) | |
tree | ec045a0535109a2e0d82e0e8155eb01ed9776452 /world/map/npc/functions/global_event_handler.txt | |
parent | aedbeb335a5ec5f55d22eace389076a18241ac9a (diff) | |
download | serverdata-9877fd4ad81120af8e63e96d5d429092014dc017.tar.gz serverdata-9877fd4ad81120af8e63e96d5d429092014dc017.tar.bz2 serverdata-9877fd4ad81120af8e63e96d5d429092014dc017.tar.xz serverdata-9877fd4ad81120af8e63e96d5d429092014dc017.zip |
Remove all Legacy files
Diffstat (limited to 'world/map/npc/functions/global_event_handler.txt')
-rw-r--r-- | world/map/npc/functions/global_event_handler.txt | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/world/map/npc/functions/global_event_handler.txt b/world/map/npc/functions/global_event_handler.txt deleted file mode 100644 index b92967b3..00000000 --- a/world/map/npc/functions/global_event_handler.txt +++ /dev/null @@ -1,48 +0,0 @@ -// This is the global event dispatcher -// Do not add code to this file. Please only add callfuncs -// -// Author: meko - --|script|#GlobalHandler|32767 -{ - end; - -OnPCLoginEvent: - set @login_event, 1; - callfunc "fixHeadStyles"; // convert headstyles - callfunc "ClearVariables"; // removes / converts old variables - callfunc "DisplayMOTD"; // send the motd to the client, if enabled - callfunc "getBroadcast"; // get the scheduled broadcast, if any - addtimer 0, "Magic Timer::OnLogin"; // prevent cast rate abuse - callfunc "MaybeGiveBirthday"; - callfunc "MiriamExpire"; // force the speed skill quest to expire - // add more here - set @login_event, 2; - end; - -OnPCKillEvent: - callfunc "elanore_decrease_exp"; // decrease heal exp for doing bad things - end; - -OnMobKillEvent: - callfunc "MobPoints"; - end; - -OnPCDieEvent: - set @necromancer, 0; - addtimer 0, "Magic Timer::OnClear"; // reset magic block on death - callfunc "SpawnGhost"; - callfunc "MiriamExpire"; // force the speed skill quest to expire - callfunc "DoomsdayAct5"; // Doomsday Event Act 5 - set @killerrid, 0; // reset killer rid - end; - -OnInit: - callfunc "ClearGlobalVars"; - callfunc "MOTD"; // set the MOTD array - end; - -OnDay0411: - callfunc "MaybeAnnounceBirthday"; - end; -} |