summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-15 00:41:54 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-15 00:41:54 -0300
commit8c882d6c89f651f3fab2f5bda037922f88b865f1 (patch)
tree0780053b119b0b628b5f7fee41c59175adfb5f33 /npc/commands
parentebf262e4c814c39dc3354f59c579764b6c220339 (diff)
downloadserverdata-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.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());