summaryrefslogtreecommitdiff
path: root/npc/functions/global_event_handler.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-10 17:39:36 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-10 17:39:36 -0300
commit8f15ef24a574284482ea76311237c39e136aa18b (patch)
treef4ad9f91b430029614a765d537ed20d5e58f2bd2 /npc/functions/global_event_handler.txt
parentc46f9692a9ee4c4db500dd4806d5ad3fb0fa5d92 (diff)
downloadserverdata-8f15ef24a574284482ea76311237c39e136aa18b.tar.gz
serverdata-8f15ef24a574284482ea76311237c39e136aa18b.tar.bz2
serverdata-8f15ef24a574284482ea76311237c39e136aa18b.tar.xz
serverdata-8f15ef24a574284482ea76311237c39e136aa18b.zip
Remove ClearGlobalVars() - no longer needed
Diffstat (limited to 'npc/functions/global_event_handler.txt')
-rw-r--r--npc/functions/global_event_handler.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/npc/functions/global_event_handler.txt b/npc/functions/global_event_handler.txt
index 80a0643c..75a2fabc 100644
--- a/npc/functions/global_event_handler.txt
+++ b/npc/functions/global_event_handler.txt
@@ -7,7 +7,6 @@ OnPCLoginEvent:
//callfunc "fixHeadStyles"; // convert headstyles
//callfunc "ClearVariables"; // removes / converts old variables
callfunc "DisplayMOTD"; // send the motd to the client, if enabled
- //addtimer 0, "Magic Timer::OnLogin"; // prevent cast rate abuse
// add more here
@login_event = 2;
end;
@@ -21,15 +20,11 @@ OnMobKillEvent:
end;
OnPCDieEvent:
- callfunc "fightclub_GoBack"; // this used by the battle master
- //callfunc "fightclub_event_die"; // this is used by the 1v1 arena
@necromancer = 0;
- //addtimer 0, "Magic Timer::OnClear"; // reset magic block on death
set @killerrid, 0; // reset killer rid
end;
OnInit:
- callfunc "ClearGlobalVars";
callfunc "MOTD"; // set the MOTD array
end;
}