summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/commands/rate-management.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt
index bf0135436..928eae5c6 100644
--- a/npc/commands/rate-management.txt
+++ b/npc/commands/rate-management.txt
@@ -21,7 +21,7 @@
stopnpctimer;
.hours = 0;
.max_hours = 0;
- .current_rate = expRateReal();
+ .current_rate = $BCONFB_EXPR;
setbattleflag("base_exp_rate", expRateReal());
setbattleflag("job_exp_rate", expRateReal());
charcommand("@reloadmobdb"); // this is on purpose (callable without RID)
@@ -84,7 +84,7 @@ OnCall:
} else if (.@new_rate == 0 && .@special$ == "") {
// get current exp rate
- if (.current_rate == expRateReal()) {
+ if (.current_rate == $BCONFB_EXPR) {
atcommand("@rates");
dispbottom col(l("Usage of @exprate without argument is deprecated, please use \"@rates\" instead."), 1);
} else {
@@ -161,7 +161,7 @@ OnInit:
bindatcmd "exprate", "@exprate::OnCall", 60, 80, 1; // change exp rate
// WARNING: using @reloadscript will change the "original" value
- .current_rate = expRateReal();
+ .current_rate = $BCONFB_EXPR;
// XXX: maybe in the future:
//.original_job_rate = getbattleflag("base_job_rate");
@@ -210,7 +210,7 @@ OnInheirtedReload:
stopnpctimer;
.hours = 0;
.max_hours = 0;
- .current_rate = dropRateReal();
+ .current_rate = $BCONFB_DROP;
setbattleflag("item_rate_common", dropRateReal());
setbattleflag("item_rate_common_boss", dropRateReal());
setbattleflag("item_rate_heal", dropRateReal());
@@ -312,7 +312,7 @@ OnInit:
bindatcmd "droprate", "@droprate::OnCall", 80, 80, 1; // change drop rate
// WARNING: using @reloadscript will change the "original" value, use @reloadbattleconf before!
- .current_rate = dropRateReal();
+ .current_rate = $BCONFB_DROP;
//force_refreshall();
end;