From 99b172bad8ccb3bdf9405577573368a1145ac9cd Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 23 Dec 2018 15:10:09 -0200 Subject: [EXPERIMENTAL] Reload battle conf, so the mobs respawn faster at night time May affect negatively the @exprate and @droprate commands. --- npc/functions/weather.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'npc/functions') diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt index 264c16bd7..9fbaec805 100644 --- a/npc/functions/weather.txt +++ b/npc/functions/weather.txt @@ -164,9 +164,11 @@ OnMinute45: if (is_night() && !$@WEATHER_NIGHT) { announce("The night falls.", bc_all|bc_npc); setbattleflag("mob_spawn_delay", 70); + charcommand("@reloadbattleconf"); // Careful! } else if (!is_night() && $@WEATHER_NIGHT) { announce("The day rises.", bc_all|bc_npc); setbattleflag("mob_spawn_delay", 100); + charcommand("@reloadbattleconf"); // Careful! } $@WEATHER_NIGHT=is_night(); -- cgit v1.2.3-60-g2f50