From fffc0bfb48cb64f3e5a30b420336fae3f4a8328d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 2 Aug 2018 10:17:38 -0300 Subject: Preserve season drops on rates managment (@Saulc) --- npc/commands/rate-management.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt index 036fab559..d2ef19ec7 100644 --- a/npc/commands/rate-management.txt +++ b/npc/commands/rate-management.txt @@ -10,6 +10,7 @@ //setbattleflag("quest_exp_rate", .original_quest_rate); charcommand("@reloadmobdb"); // this is on purpose (callable without RID) //charcommand("@reloadquestdb"); + SeasonReload(1); } function remainingTime { @@ -37,6 +38,7 @@ OnCall: //setbattleflag("quest_exp_rate", .@new_rate); charcommand("@reloadmobdb"); //charcommand("@reloadquestdb"); + SeasonReload(1); initnpctimer; // start counting announce strcharinfo(0)+" increased experience rate to "+str(.@new_rate)+"%. It will only last "+str(FuzzyTime(time_from_hours(.max_hours), 2, 2))+"!", bc_all; @@ -119,6 +121,7 @@ OnInit: setbattleflag("item_rate_card", .org_dxn); setbattleflag("item_rate_card_boss", .org_dxb); charcommand("@reloadmobdb"); // this is on purpose (callable without RID) - no idea what is the purpose + SeasonReload(1); } function remainingTime { @@ -129,8 +132,7 @@ OnInit: } OnCall: - if (!is_gm()) - { + if (!is_gm()) { end; } @@ -155,6 +157,7 @@ OnCall: setbattleflag("item_rate_card", .@new_rate); setbattleflag("item_rate_card_boss", .@new_rate); charcommand("@reloadmobdb"); + SeasonReload(1); initnpctimer; // start counting announce strcharinfo(0)+" increased drop rates to "+str(.@new_rate)+"%. It will only last "+str(FuzzyTime(time_from_hours(.max_hours), 2, 2))+"!", bc_all; -- cgit v1.2.3-60-g2f50