summaryrefslogtreecommitdiff
path: root/npc/commands/rate-management.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-16 17:25:06 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-16 17:25:06 -0300
commit16bd8bbb9905014f470e4d3704f649b766008ae5 (patch)
treeb5c18d5aa0fb7d3e97f53d2f0ba033c734c34b0c /npc/commands/rate-management.txt
parentca5260325eb853f40dacec8061917e9b20935364 (diff)
downloadserverdata-16bd8bbb9905014f470e4d3704f649b766008ae5.tar.gz
serverdata-16bd8bbb9905014f470e4d3704f649b766008ae5.tar.bz2
serverdata-16bd8bbb9905014f470e4d3704f649b766008ae5.tar.xz
serverdata-16bd8bbb9905014f470e4d3704f649b766008ae5.zip
@exprate will now raise Job Exp rate too
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;