summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-04 21:52:49 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-04 21:52:49 -0300
commit97fb3413c7b0e431a54a9157eff3bd29f75de511 (patch)
treea492c371fa918dfdb838462ca3c2beb3336cb419
parente7516104a50a0ea12056dd67898706a9c5007992 (diff)
downloadserverdata-97fb3413c7b0e431a54a9157eff3bd29f75de511.tar.gz
serverdata-97fb3413c7b0e431a54a9157eff3bd29f75de511.tar.bz2
serverdata-97fb3413c7b0e431a54a9157eff3bd29f75de511.tar.xz
serverdata-97fb3413c7b0e431a54a9157eff3bd29f75de511.zip
Fix bug on day/night bonuses (bad measurement unit)
-rw-r--r--npc/functions/weather.txt4
1 files changed, 2 insertions, 2 deletions
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();