diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-15 00:41:54 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-15 00:41:54 -0300 |
commit | 8c882d6c89f651f3fab2f5bda037922f88b865f1 (patch) | |
tree | 0780053b119b0b628b5f7fee41c59175adfb5f33 /npc/commands | |
parent | ebf262e4c814c39dc3354f59c579764b6c220339 (diff) | |
download | serverdata-8c882d6c89f651f3fab2f5bda037922f88b865f1.tar.gz serverdata-8c882d6c89f651f3fab2f5bda037922f88b865f1.tar.bz2 serverdata-8c882d6c89f651f3fab2f5bda037922f88b865f1.tar.xz serverdata-8c882d6c89f651f3fab2f5bda037922f88b865f1.zip |
Use @rates instead
Diffstat (limited to 'npc/commands')
-rw-r--r-- | npc/commands/rate-management.txt | 8 |
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()); |