summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-11-13 13:31:49 -0300
committerJesusaves <cpntb1@ymail.com>2020-11-13 13:31:49 -0300
commitcbb0b23afca46d67c9c6abbc86d636805969d4eb (patch)
tree5ba3d3d554d56de524f88c1efd7dc52bea131b36 /npc/commands
parent50e422de653fce6ee14e05ec02e1000642467577 (diff)
downloadserverdata-cbb0b23afca46d67c9c6abbc86d636805969d4eb.tar.gz
serverdata-cbb0b23afca46d67c9c6abbc86d636805969d4eb.tar.bz2
serverdata-cbb0b23afca46d67c9c6abbc86d636805969d4eb.tar.xz
serverdata-cbb0b23afca46d67c9c6abbc86d636805969d4eb.zip
Disable EXP/DROP rates manipulation functions on Test Server
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/rate-management.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt
index 928eae5c6..24bf9d75a 100644
--- a/npc/commands/rate-management.txt
+++ b/npc/commands/rate-management.txt
@@ -170,6 +170,9 @@ OnInit:
end;
OnReload:
+ if (debug) {
+ debugmes("EXP Reload refused: Test server");
+ }
.@new_rate = expRecalc(.current_rate);
setbattleflag("base_exp_rate", .@new_rate);
setbattleflag("job_exp_rate", .@new_rate);
@@ -178,6 +181,9 @@ OnReload:
end;
OnInheirtedReload:
+ if (debug) {
+ debugmes("Nested Reload refused: Test server");
+ }
debugmes "[EXP] Inheir Reload";
.@new_rate = expRecalc(.current_rate);
setbattleflag("base_exp_rate", .@new_rate);
@@ -317,6 +323,10 @@ OnInit:
end;
OnReload:
+ if (debug) {
+ SeasonReload(1);
+ debugmes("Drop Reload refused: Test server");
+ }
.@new_rate = dropRecalc(.current_rate);
setbattleflag("item_rate_common", .@new_rate);
setbattleflag("item_rate_common_boss", .@new_rate);