summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-04-22 10:49:30 -0300
committerJesusaves <cpntb1@ymail.com>2019-04-22 10:49:30 -0300
commitfce253b2e98fab3077dd48ef5bcc232f06e901eb (patch)
treec539e21079577ec82d50c827a62370788ab49180 /npc/functions
parent86cee66ca1d73ba39648e7ac35616fcc6ff07800 (diff)
downloadserverdata-fce253b2e98fab3077dd48ef5bcc232f06e901eb.tar.gz
serverdata-fce253b2e98fab3077dd48ef5bcc232f06e901eb.tar.bz2
serverdata-fce253b2e98fab3077dd48ef5bcc232f06e901eb.tar.xz
serverdata-fce253b2e98fab3077dd48ef5bcc232f06e901eb.zip
Monster King Siege: Evil Sanctum on all maps
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/weather.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt
index ce18f11a1..83a02fecd 100644
--- a/npc/functions/weather.txt
+++ b/npc/functions/weather.txt
@@ -118,6 +118,14 @@ OnMinute45:
.@mk=.@mk^MASK_SNOW;
if (.@mk & MASK_NIGHT)
.@mk=.@mk^MASK_NIGHT;
+ if (.@mk & MASK_EVILSANCTUM)
+ .@mk=.@mk^MASK_EVILSANCTUM;
+
+ // Monster King Sieges
+ if ($@MK_SCENE)
+ .@mk=.@mk|MASK_EVILSANCTUM;
+ if (.@mk & (MASK_MATTACK|MASK_EVILSANCTUM))
+ .@mk=.@mk^MASK_EVILSANCTUM;
// Remove all current masks, and add rain/snow/sand
if (.@type$ == "desert") {