From d50cb8eff8d4f143b553cc33401f60baa6b03873 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 28 Jul 2019 17:38:18 -0300 Subject: System-based EXP UP events are now compatible with GM calls. GM calls still override system-based experience changes. New syntax for how system-based EXP UP events are to be used. Cap is x2. --- npc/003-1/aahna.txt | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'npc/003-1/aahna.txt') diff --git a/npc/003-1/aahna.txt b/npc/003-1/aahna.txt index 9273e3955..94fff454a 100644 --- a/npc/003-1/aahna.txt +++ b/npc/003-1/aahna.txt @@ -24,14 +24,9 @@ OnInit: // Server Happy Hour OnSun1800: - /* - $@EXP_EVENT=rand(110, 115); - if ($@EXP_EVENT > 111 && $@EXP_EVENT != 115) - $@EXP_EVENT=rand(110, 115); - */ - $@EXP_EVENT=rand(115, 120); - if ($@EXP_EVENT > 115 && $@EXP_EVENT != 120) - $@EXP_EVENT=rand(115, 120); + $@EXP_EVENT=rand2(15, 20); + if ($@EXP_EVENT > 15 && $@EXP_EVENT != 20) + $@EXP_EVENT=rand2(15, 20); $@EXP_EVENT_TIME=any(1,1,1,2); donpcevent "@exprate::OnPlayerCall"; end; -- cgit v1.2.3-70-g09d2