summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/annuals/xmas/2021.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/annuals/xmas/2021.txt b/npc/annuals/xmas/2021.txt
index 059179fe..208ffa86 100644
--- a/npc/annuals/xmas/2021.txt
+++ b/npc/annuals/xmas/2021.txt
@@ -172,6 +172,7 @@ function script X21INIT {
/* Ensure the instance is up and running without fail */
sleep2(50);
.@me = getcharid(3);
+ .@te = X21TYPE();
detachrid();
debugmes "NO RID (Me is %d)", .@me;
@@ -184,7 +185,7 @@ function script X21INIT {
"#XMAS21Core"::spawn2(BlueSpark, 47, 191, 65, 212, 2, .@mapa$);
debugmes "Spwn Square code OK";
"#XMAS21Core"::spawn2(RedSpark, 47, 191, 65, 212, 2, .@mapa$);
- if (X21TYPE() == IOT_PARTY)
+ if (.@te == IOT_PARTY)
"#XMAS21Core"::spawn2(Koyntety, 70, 250, 99, 265, 1, .@mapa$, true);
else
"#XMAS21Core"::spawn2(ManaGuard, 70, 250, 99, 265, 1, .@mapa$, true);