From 8c882d6c89f651f3fab2f5bda037922f88b865f1 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 15 Sep 2019 00:41:54 -0300 Subject: Use @rates instead --- npc/commands/rate-management.txt | 8 +++++--- 1 file 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()); -- cgit v1.2.3-60-g2f50