diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-05-04 11:40:28 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-05-04 11:40:28 -0300 |
commit | 90543da98ee7aefd54bb1b4c8b227927b22227f4 (patch) | |
tree | f686954167895b79112ea8400681d55613af87dc /npc/commands/rate-management.txt | |
parent | 84b3d3ee3cf95aff0d9fa273c0d6c2927ce8b9fc (diff) | |
download | serverdata-90543da98ee7aefd54bb1b4c8b227927b22227f4.tar.gz serverdata-90543da98ee7aefd54bb1b4c8b227927b22227f4.tar.bz2 serverdata-90543da98ee7aefd54bb1b4c8b227927b22227f4.tar.xz serverdata-90543da98ee7aefd54bb1b4c8b227927b22227f4.zip |
CI mode flag
Diffstat (limited to 'npc/commands/rate-management.txt')
-rw-r--r-- | npc/commands/rate-management.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt index a750e571e..52151777b 100644 --- a/npc/commands/rate-management.txt +++ b/npc/commands/rate-management.txt @@ -39,6 +39,8 @@ OnCall: if (!is_gm()) end; + if ($@CI_MODE) + end; .@special$ = strip(.@atcmd_parameters$[0]); // special value .@new_rate = min(atoi(.@special$), 1000); // or just a regular integer @@ -105,6 +107,8 @@ OnCall: end; OnPlayerCall: + if ($@CI_MODE) + end; /* // GM calls take precedence at any time! if (.max_hours > 0 || .hours > 0) @@ -248,6 +252,8 @@ OnCall: if (!is_gm()) { end; } + if ($@CI_MODE) + end; .@special$ = strip(.@atcmd_parameters$[0]); // special value .@new_rate = min(atoi(.@special$), 1000); // or just a regular integer @@ -333,6 +339,8 @@ OnReload: debugmes("Drop Reload refused: Test server"); end; } + if ($@CI_MODE) + end; .@new_rate = dropRecalc(.current_rate); setbattleflag("item_rate_common", .@new_rate); setbattleflag("item_rate_common_boss", .@new_rate); |