From 97fb3413c7b0e431a54a9157eff3bd29f75de511 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 4 May 2020 21:52:49 -0300 Subject: Fix bug on day/night bonuses (bad measurement unit) --- npc/functions/weather.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc') diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt index eeed6c2c6..b432abb84 100644 --- a/npc/functions/weather.txt +++ b/npc/functions/weather.txt @@ -210,7 +210,7 @@ OnMinute45: .@c = getunits(BL_PC, .@players, MAX_CYCLE_PC); for (.@i = 0; .@i < .@c; .@i++) { attachrid(.@players[.@i]); - callfunc("SC_Bonus", 30000, SC_INCMHPRATE, 10, 10); + callfunc("SC_Bonus", 180, SC_INCMHPRATE, 10, 10); percentheal 100, 100; message(.@players[.@i], "The night falls."); detachrid(); @@ -224,7 +224,7 @@ OnMinute45: .@c = getunits(BL_PC, .@players, MAX_CYCLE_PC); for (.@i = 0; .@i < .@c; .@i++) { attachrid(.@players[.@i]); - callfunc("SC_Bonus", 30000, SC_INCMHPRATE, 10, 10); + callfunc("SC_Bonus", 180, SC_INCMHPRATE, 10, 10); percentheal 100, 100; message(.@players[.@i], "The day rises."); detachrid(); -- cgit v1.2.3-70-g09d2