summaryrefslogtreecommitdiff
path: root/npc/commands/rate-management.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/rate-management.txt')
-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 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;