diff options
Diffstat (limited to 'npc/annuals')
-rw-r--r-- | npc/annuals/xmas/2021.txt | 11 |
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 |