summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-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 e9931e5a1..eeed6c2c6 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]);
- SC_Bonus(30000, SC_INCMHPRATE, 10, 10);
+ callfunc("SC_Bonus", 30000, 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]);
- SC_Bonus(30000, SC_INCMHPRATE, 10, 10);
+ callfunc("SC_Bonus", 30000, SC_INCMHPRATE, 10, 10);
percentheal 100, 100;
message(.@players[.@i], "The day rises.");
detachrid();