From 8f15ef24a574284482ea76311237c39e136aa18b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 10 Apr 2021 17:39:36 -0300 Subject: Remove ClearGlobalVars() - no longer needed --- npc/functions/global_event_handler.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'npc/functions/global_event_handler.txt') 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; } -- cgit v1.2.3-60-g2f50