From 7fe4716444954eb596aefc626dc66e1bfc9b252e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 6 Apr 2019 12:01:16 -0300 Subject: Update Sagratha notes. Sunday 18:00 is the server happy hour! (Yes, I used GvG times to make this happy hour. Saturday/Sunday 21h are on sight.) --- npc/commands/rate-management.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'npc/commands') diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt index fc0af91fe..07e0eaf19 100644 --- a/npc/commands/rate-management.txt +++ b/npc/commands/rate-management.txt @@ -79,9 +79,8 @@ OnPlayerCall: if (.max_hours > 0 || .hours > 0) end; // $@EXP_EVENT will determine the boost and shall NEVER be above 20% - if ($@EXP_EVENT <= 0 || $@EXP_EVENT > 120) { - announce "##1##BSEVERE ERROR: Misformatted command, $@EXP_EVENT cannot be over 20% bonus and must be valid.", bc_all; - } + $@EXP_EVENT=max(0, min(120, $@EXP_EVENT)); + .hours = 0; .max_hours = 1; // Always one hour - never more than that .current_rate = $@EXP_EVENT; -- cgit v1.2.3-60-g2f50