summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-23 14:46:09 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-23 14:46:09 -0300
commit51af792b247fe00b124a1cbae268874a78216999 (patch)
tree47c75174ef744b9e8beac0945749a3f041e9549c
parent2ebb5d6ac8f2dcd6908e32952e759fd47887e3c1 (diff)
downloadserverdata-51af792b247fe00b124a1cbae268874a78216999.tar.gz
serverdata-51af792b247fe00b124a1cbae268874a78216999.tar.bz2
serverdata-51af792b247fe00b124a1cbae268874a78216999.tar.xz
serverdata-51af792b247fe00b124a1cbae268874a78216999.zip
Loading order: Use callfunc instead
-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();