summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-11-21 10:50:10 -0300
committerJesusaves <cpntb1@ymail.com>2021-11-21 10:50:10 -0300
commitd621c59d33b2a8796765c3b7e9d25abb314adc63 (patch)
tree3fba130b7c59afea3ded5f1f732c275e7f9e6832 /npc/functions/hub.txt
parent99f51abecd3e687370cfdbe9313625d0ab81e341 (diff)
downloadserverdata-d621c59d33b2a8796765c3b7e9d25abb314adc63.tar.gz
serverdata-d621c59d33b2a8796765c3b7e9d25abb314adc63.tar.bz2
serverdata-d621c59d33b2a8796765c3b7e9d25abb314adc63.tar.xz
serverdata-d621c59d33b2a8796765c3b7e9d25abb314adc63.zip
Christmas 2021 Mirror Lake Integration.
I've been wanting to test this one for a while, now :3
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r--npc/functions/hub.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 831bd2e0f..dd903a45d 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -25,6 +25,18 @@ function script HUB_Login {
// Mirror Lake functionality
if (getvaultid() && !getstatus(SC_JAILED)) {
+ // Christmas 2021
+ if ($EVENT$ == "Christmas") {
+ if (#XMAS2021 < ##01_TMWEXP) {
+ getexp ##01_TMWEXP-#XMAS2021, 0;
+ #XMAS2021 = ##01_TMWEXP;
+ } else if (#XMAS2021 > ##01_TMWEXP) {
+ // You leveled up?
+ getexp ##01_TMWEXP, 0;
+ #XMAS2021 = ##01_TMWEXP;
+ }
+ }
+
.@gto=get_byte(##00_INFO, 3);
.@mlp=get_nibble(##00_INFO, 5);
/*debugmes "INFO: %d", ##00_INFO;