summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-21 01:00:51 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-21 01:00:51 -0300
commit506e12a318f6ae2e04fd5d85450cc40372faaac6 (patch)
tree176458df8614f97c0fafdf8a4c1c9abbf752e3e9 /npc/functions
parentfcc2c212587149c026f0409d45d15b50b2a3c67f (diff)
downloadserverdata-506e12a318f6ae2e04fd5d85450cc40372faaac6.tar.gz
serverdata-506e12a318f6ae2e04fd5d85450cc40372faaac6.tar.bz2
serverdata-506e12a318f6ae2e04fd5d85450cc40372faaac6.tar.xz
serverdata-506e12a318f6ae2e04fd5d85450cc40372faaac6.zip
Change weather randomness rules. Now weather changes are more possible
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/weather.txt12
1 files changed, 4 insertions, 8 deletions
diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt
index a4ff37054..5e789a6cf 100644
--- a/npc/functions/weather.txt
+++ b/npc/functions/weather.txt
@@ -83,21 +83,17 @@ OnMinute45:
if (.@type$ == "desert") {
if (.@r < 10)
.@mk=MASK_RAIN;
- else if (.@r < 100)
+ else if (.@r < 300)
.@mk=MASK_SANDSTORM;
} else if (.@type$ == "woodland") {
- if (.@r < 100)
+ if (.@r < 300)
.@mk=MASK_RAIN;
- else if (.@r < 120)
- .@mk=MASK_SANDSTORM;
- else if (.@r < 140)
- .@mk=MASK_SNOW;
} else if (.@type$ == "iceland") {
- if (.@r < 10)
+ if (.@r < 30)
.@mk=MASK_RAIN;
- else if (.@r < 100)
+ else if (.@r < 300)
.@mk=MASK_SNOW;
} else {