summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-12 13:59:40 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-12 13:59:40 -0300
commitd92f82406f07d1b54f599205a33fda10f18444b2 (patch)
tree5721f13067a7beb38c2381a2eb1764c22e921e86
parent2d5d1836008140dcf8f780f89e69e471a240a787 (diff)
downloadserverdata-d92f82406f07d1b54f599205a33fda10f18444b2.tar.gz
serverdata-d92f82406f07d1b54f599205a33fda10f18444b2.tar.bz2
serverdata-d92f82406f07d1b54f599205a33fda10f18444b2.tar.xz
serverdata-d92f82406f07d1b54f599205a33fda10f18444b2.zip
Fix another bug
-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);