diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/commands/rate-management.txt | 6 | ||||
-rw-r--r-- | npc/functions/seasons.txt | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt index 492f045a6..cff24adeb 100644 --- a/npc/commands/rate-management.txt +++ b/npc/commands/rate-management.txt @@ -291,6 +291,7 @@ OnInit: //.original_job_rate = getbattleflag("base_job_rate"); //.original_pk_mode = getbattleflag("pk_mode"); //.original_death_penalty = getbattleflag("death_penalty_type"); + //force_refreshall(); end; OnReload: @@ -308,10 +309,5 @@ 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; - } diff --git a/npc/functions/seasons.txt b/npc/functions/seasons.txt index 50aa99c24..d10204596 100644 --- a/npc/functions/seasons.txt +++ b/npc/functions/seasons.txt @@ -196,6 +196,7 @@ function script SeasonReload { sValentine(); $@SEASON=season(); + initnpctimer("#SeasonCore"); return; } @@ -551,4 +552,9 @@ OnHour00: SeasonReload(); } end; + +OnTimer700: + charcommand("@refreshall"); + stopnpctimer; + end; } |