diff options
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/global_event_handler.txt | 7 | ||||
-rw-r--r-- | npc/functions/main.txt | 3 |
2 files changed, 4 insertions, 6 deletions
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; } diff --git a/npc/functions/main.txt b/npc/functions/main.txt index 8dd7c95f..18441094 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -87,9 +87,6 @@ function script adddefaultskills { if (getskilllv(TMW2_FAKESKILL) < 1) { skill TMW2_FAKESKILL, 1, 0; } - if (getskilllv(TMW2_FAKESKILL2) < 1) { - skill TMW2_FAKESKILL2, 1, 0; - } return; } |