summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-22 21:42:13 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-22 21:42:13 -0200
commit49aa38ec122789a2e62086a79524bf587be4d0c2 (patch)
tree13c3631f61455823754fc54e19786a6ddd4b868b
parentf5f509c3ddec51d2bf3e73998bdb3c26468a700c (diff)
downloadserverdata-49aa38ec122789a2e62086a79524bf587be4d0c2.tar.gz
serverdata-49aa38ec122789a2e62086a79524bf587be4d0c2.tar.bz2
serverdata-49aa38ec122789a2e62086a79524bf587be4d0c2.tar.xz
serverdata-49aa38ec122789a2e62086a79524bf587be4d0c2.zip
Fix snowfall on weather configuration.
-rw-r--r--npc/functions/weather.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt
index d0bce445d..af07f3051 100644
--- a/npc/functions/weather.txt
+++ b/npc/functions/weather.txt
@@ -121,7 +121,10 @@ OnMinute45:
} else if (.@type$ == "woodland") {
if (.@r < 300)
.@mk=.@mk|MASK_RAIN;
- if (season() == WINTER)
+
+ if ($EVENT$ == "Christmas")
+ .@mk=.@mk|MASK_SNOW;
+ else if (season() == WINTER && .@r >= 9250)
.@mk=.@mk|MASK_SNOW;
} else if (.@type$ == "iceland") {