summaryrefslogtreecommitdiff
path: root/npc/functions/global_event_handler.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-11 08:38:20 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-11 08:38:20 -0300
commited39c7518c82ede371b9b74f6eca8deb66a73e31 (patch)
treee6fe9662612df7fc4ec55e9ed32fd87c97ab93dc /npc/functions/global_event_handler.txt
parentedf822b99c36c7bede00aef3202b2cbe42cde37b (diff)
downloadserverdata-ed39c7518c82ede371b9b74f6eca8deb66a73e31.tar.gz
serverdata-ed39c7518c82ede371b9b74f6eca8deb66a73e31.tar.bz2
serverdata-ed39c7518c82ede371b9b74f6eca8deb66a73e31.tar.xz
serverdata-ed39c7518c82ede371b9b74f6eca8deb66a73e31.zip
Fix bugs, prepare to implement the *real* skill loop
Diffstat (limited to 'npc/functions/global_event_handler.txt')
-rw-r--r--npc/functions/global_event_handler.txt7
1 files changed, 4 insertions, 3 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;
}