summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
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;