summaryrefslogtreecommitdiff
path: root/npc/annuals
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-11-21 16:21:58 -0300
committerJesusaves <cpntb1@ymail.com>2021-11-21 16:21:58 -0300
commit6a941671dd609b9aa0b60698c439f8a4657fd905 (patch)
tree4349cad2df04b9abaee7285e114393dcfa3f4f44 /npc/annuals
parent9ed449f62e151c955240810397111c2f4c8e5221 (diff)
downloadserverdata-6a941671dd609b9aa0b60698c439f8a4657fd905.tar.gz
serverdata-6a941671dd609b9aa0b60698c439f8a4657fd905.tar.bz2
serverdata-6a941671dd609b9aa0b60698c439f8a4657fd905.tar.xz
serverdata-6a941671dd609b9aa0b60698c439f8a4657fd905.zip
Add the necessary scripts so the Existence Frontier can be tested.
Diffstat (limited to 'npc/annuals')
-rw-r--r--npc/annuals/xmas/2021.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/npc/annuals/xmas/2021.txt b/npc/annuals/xmas/2021.txt
index 23db64d5..9bd5f239 100644
--- a/npc/annuals/xmas/2021.txt
+++ b/npc/annuals/xmas/2021.txt
@@ -8,6 +8,10 @@ function script X21ID {
return (getcharid(1) > 0 ? getcharid(1) : getcharid(3));
}
+function script X21ID2 {
+ return (getcharid(1) > 0 ? getcharid(1) : getcharid(0));
+}
+
function script X21TYPE {
return (getcharid(1) > 0 ? IOT_PARTY : IOT_CHAR);
}
@@ -16,6 +20,11 @@ function script X21BC1_CLEAR {
return (XMAS2021 & X21_BOSSDEFEAT);
}
+function script X21BC1_DOCLEAR {
+ XMAS2021 = (XMAS2021 | X21_BOSSDEFEAT);
+ return;
+}
+
/* You cannot fiddle with party in this region */
080-1 mapflag partylock
081-1 mapflag partylock
@@ -24,6 +33,6 @@ function script X21BC1_CLEAR {
/* Secure regions */
081-3 mapflag zone MMO
-081-3 mapflag nosave 000-1,22,22
+081-3 mapflag nosave 081-1,68,31