From ed39c7518c82ede371b9b74f6eca8deb66a73e31 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 11 Apr 2021 08:38:20 -0300 Subject: Fix bugs, prepare to implement the *real* skill loop --- npc/functions/global_event_handler.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 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 75a2fabc..8e1116dc 100644 --- a/npc/functions/global_event_handler.txt +++ b/npc/functions/global_event_handler.txt @@ -4,9 +4,10 @@ OnPCLoginEvent: @login_event = 1; + adddefaultskills(); //callfunc "fixHeadStyles"; // convert headstyles //callfunc "ClearVariables"; // removes / converts old variables - callfunc "DisplayMOTD"; // send the motd to the client, if enabled + DisplayMOTD(); // send the motd to the client, if enabled // add more here @login_event = 2; end; @@ -16,7 +17,7 @@ OnPCKillEvent: end; OnMobKillEvent: - callfunc "MobPoints"; + MobPoints(); end; OnPCDieEvent: @@ -25,6 +26,6 @@ OnPCDieEvent: end; OnInit: - callfunc "MOTD"; // set the MOTD array + MOTD(); // set the MOTD array end; } -- cgit v1.2.3-60-g2f50