From cbb0b23afca46d67c9c6abbc86d636805969d4eb Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 13 Nov 2020 13:31:49 -0300 Subject: Disable EXP/DROP rates manipulation functions on Test Server --- npc/commands/rate-management.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'npc/commands') 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); -- cgit v1.2.3-60-g2f50