diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-29 22:53:23 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-29 22:53:23 -0200 |
commit | 2740d16bc2bc84af2b3b50218eda47594ebe4a5a (patch) | |
tree | b886483e7f917c6fb44f54d2efe89fc1eb39be9e /npc | |
parent | 9c791dbe4ed4d0b8904b489e00138c8c26064cfc (diff) | |
download | serverdata-2740d16bc2bc84af2b3b50218eda47594ebe4a5a.tar.gz serverdata-2740d16bc2bc84af2b3b50218eda47594ebe4a5a.tar.bz2 serverdata-2740d16bc2bc84af2b3b50218eda47594ebe4a5a.tar.xz serverdata-2740d16bc2bc84af2b3b50218eda47594ebe4a5a.zip |
This should add some safety to the drop rate management reset.
Requires further investigation. @reloadbattleconf did the trick, but it should
have been cast on day/night cycle. Something is *terribly* broken.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/commands/rate-management.txt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt index a9527bddd..46edb426a 100644 --- a/npc/commands/rate-management.txt +++ b/npc/commands/rate-management.txt @@ -119,17 +119,17 @@ OnReload: stopnpctimer; .hours = 0; .max_hours = 0; - .current_rate = .original_exp_rate; - setbattleflag("item_rate_common", .org_dcn); - setbattleflag("item_rate_common_boss", .org_dcb); - setbattleflag("item_rate_heal", .org_dhn); - setbattleflag("item_rate_heal_boss", .org_dhb); - setbattleflag("item_rate_use", .org_dun); - setbattleflag("item_rate_use_boss", .org_dub); - setbattleflag("item_rate_equip", .org_den); - setbattleflag("item_rate_equip_boss", .org_deb); - setbattleflag("item_rate_card", .org_dxn); - setbattleflag("item_rate_card_boss", .org_dxb); + .current_rate = 100; + setbattleflag("item_rate_common", 100); + setbattleflag("item_rate_common_boss", 100); + setbattleflag("item_rate_heal", 100); + setbattleflag("item_rate_heal_boss", 100); + setbattleflag("item_rate_use", 100); + setbattleflag("item_rate_use_boss", 100); + setbattleflag("item_rate_equip", 100); + setbattleflag("item_rate_equip_boss", 100); + setbattleflag("item_rate_card", 100); + setbattleflag("item_rate_card_boss", 100); charcommand("@reloadmobdb"); // this is on purpose (callable without RID) - no idea what is the purpose SeasonReload(1); } |