summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-10-17 09:00:01 -0300
committerJesusaves <cpntb1@ymail.com>2019-10-17 09:00:01 -0300
commit3b9d39c1ffadd07b8b64f0cc60f14e642ecd88eb (patch)
tree246bbcd9d48652f77378d6c3ce49a5a854c0e840 /npc/commands
parent675662673fd3e2cd50a6108cdbfe5fa5f43fc4d5 (diff)
downloadserverdata-3b9d39c1ffadd07b8b64f0cc60f14e642ecd88eb.tar.gz
serverdata-3b9d39c1ffadd07b8b64f0cc60f14e642ecd88eb.tar.bz2
serverdata-3b9d39c1ffadd07b8b64f0cc60f14e642ecd88eb.tar.xz
serverdata-3b9d39c1ffadd07b8b64f0cc60f14e642ecd88eb.zip
Patch
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/rate-management.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt
index 53d724749..492f045a6 100644
--- a/npc/commands/rate-management.txt
+++ b/npc/commands/rate-management.txt
@@ -308,6 +308,10 @@ OnReload:
charcommand("@reloadmobdb");
SeasonReload(1);
debugmes("Drop rates were reloaded with success.");
+ .@c = getunits(BL_PC, .@players, 20);
+ for (.@i = 0; .@i < .@c; .@i++) {
+ atcommand("#refresh "+strcharinfo(0, "", .@players[.@i]));
+ }
end;
}