summaryrefslogtreecommitdiff
path: root/npc/functions/weather.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-20 15:34:55 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-20 15:34:55 -0300
commit4ffcb701f8f6e350975dbf77193d51a6f2f66e49 (patch)
tree51636c9cf82de51447a292477ea16384bcef02c7 /npc/functions/weather.txt
parent2304296e5f194d66330c4ddca3cc54640e47d225 (diff)
downloadserverdata-4ffcb701f8f6e350975dbf77193d51a6f2f66e49.tar.gz
serverdata-4ffcb701f8f6e350975dbf77193d51a6f2f66e49.tar.bz2
serverdata-4ffcb701f8f6e350975dbf77193d51a6f2f66e49.tar.xz
serverdata-4ffcb701f8f6e350975dbf77193d51a6f2f66e49.zip
During night, there are 50% more monsters
Diffstat (limited to 'npc/functions/weather.txt')
-rw-r--r--npc/functions/weather.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt
index 85c78326b..6f40f50fd 100644
--- a/npc/functions/weather.txt
+++ b/npc/functions/weather.txt
@@ -112,6 +112,13 @@ OnMinute45:
}
htidelete(.@hti);
+
+ // During night, there are 50% more monsters
+ if (gettime(2) >= 15 && gettime(2) < 45)
+ setbattleflag("mob_count_rate", 150);
+ else
+ setbattleflag("mob_count_rate", 100);
+
debugmes "[Weather.sys] Weather reloaded";
end;