diff options
Diffstat (limited to 'npc/commands')
-rw-r--r-- | npc/commands/rate-management.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt index 8a95bfdef..17a7f4cf3 100644 --- a/npc/commands/rate-management.txt +++ b/npc/commands/rate-management.txt @@ -78,8 +78,8 @@ OnPlayerCall: end; // $@EXP_EVENT will determine the boost and should not be above 25% // Default duration is one hour, or whatever $@EXP_EVENT_TIME is - $@EXP_EVENT=max(0, min(150, $@EXP_EVENT)); - $@EXP_EVENT_TIME=max(1, min(6, $@EXP_EVENT_TIME)); + $@EXP_EVENT=limit(0, $@EXP_EVENT, 150); + $@EXP_EVENT_TIME=limit(1, $@EXP_EVENT_TIME, 6); // Default duration is one hour, or whatever $@EXP_EVENT_TIME is .hours = 0; |