From 16bd8bbb9905014f470e4d3704f649b766008ae5 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 16 Jul 2019 17:25:06 -0300 Subject: @exprate will now raise Job Exp rate too --- npc/commands/rate-management.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'npc/commands') diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt index 17a7f4cf3..f04597ca9 100644 --- a/npc/commands/rate-management.txt +++ b/npc/commands/rate-management.txt @@ -8,6 +8,7 @@ .max_hours = 0; .current_rate = .original_exp_rate; setbattleflag("base_exp_rate", .original_exp_rate); + setbattleflag("job_exp_rate", .original_exp_rate); charcommand("@reloadmobdb"); // this is on purpose (callable without RID) SeasonReload(1); channelmes("#world", "The EXP Rate Bonus is now over."); @@ -35,6 +36,7 @@ OnCall: .max_hours = .@hours; .current_rate = .@new_rate; setbattleflag("base_exp_rate", .@new_rate); + setbattleflag("job_exp_rate", .@new_rate); // Should GM event do this? //setbattleflag("quest_exp_rate", .@new_rate); charcommand("@reloadmobdb"); //charcommand("@reloadquestdb"); @@ -86,6 +88,7 @@ OnPlayerCall: .max_hours = $@EXP_EVENT_TIME; .current_rate = $@EXP_EVENT; setbattleflag("base_exp_rate", $@EXP_EVENT); + setbattleflag("job_exp_rate", $@EXP_EVENT); charcommand("@reloadmobdb"); SeasonReload(1); initnpctimer; // start counting @@ -131,6 +134,7 @@ OnInit: OnReload: .@new_rate = .current_rate; setbattleflag("base_exp_rate", .@new_rate); + setbattleflag("job_exp_rate", .@new_rate); //charcommand("@reloadmobdb"); //SeasonReload(1); // TODO FIXME: We are casting this twice. end; -- cgit v1.2.3-70-g09d2