summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/commands/rate-management.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt
index c80f2e8ae..53d724749 100644
--- a/npc/commands/rate-management.txt
+++ b/npc/commands/rate-management.txt
@@ -32,7 +32,7 @@ OnCall:
if (.@new_rate > 0) {
// Overwriting previous rate?
// Confirmation Required
- if (.current_rate != 100) {
+ if (.current_rate != .original_exp_rate) {
setnpcdialogtitle("@rate-managment");
mesc l("WARNING!"), 1;
mesc l("A previous exp rate up event is already ongoing."), 1;
@@ -70,7 +70,8 @@ OnCall:
// get current exp rate
if (.current_rate == .original_exp_rate) {
- dispbottom l("Current exp rate is set to @@% (default value).", .current_rate);
+ atcommand("@rates");
+ dispbottom col(l("Usage of @exprate without argument is deprecated, please use \"@rates\" instead."), 1);
} else {
dispbottom l("Current exp rate is set to @@%, and will reset to @@% (default value) in @@.",
.current_rate, .original_exp_rate, remainingTime());
@@ -235,7 +236,8 @@ OnCall:
} else if (.@new_rate == 0 && .@special$ == "") {
// get current exp rate
if (.current_rate == .org_dcn) {
- dispbottom l("Current drop rate is set to @@% (default value).", .current_rate);
+ atcommand("@rates");
+ dispbottom col(l("Usage of @exprate without argument is deprecated, please use \"@rates\" instead."), 1);
} else {
dispbottom l("Current drop rate is set to @@%, and will reset to @@% (default value) in @@.",
.current_rate, .org_dcn, remainingTime());