From 4b5e053d633139c6aeb03aac7059d44433fe9028 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 19 May 2019 15:34:02 -0300 Subject: Increase server-wide exp happy hour bonus in 5%, and duration have some chance to be two hours --- npc/003-1/aahna.txt | 6 ++++++ npc/commands/rate-management.txt | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'npc') diff --git a/npc/003-1/aahna.txt b/npc/003-1/aahna.txt index b08d175ce..9273e3955 100644 --- a/npc/003-1/aahna.txt +++ b/npc/003-1/aahna.txt @@ -24,9 +24,15 @@ 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_TIME=any(1,1,1,2); donpcevent "@exprate::OnPlayerCall"; end; diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt index aab0d9cd8..8a95bfdef 100644 --- a/npc/commands/rate-management.txt +++ b/npc/commands/rate-management.txt @@ -90,7 +90,7 @@ OnPlayerCall: SeasonReload(1); initnpctimer; // start counting - .@msg$="Experience Rate was modified to "+$@EXP_EVENT+"% for "+$@EXP_EVENT_TIME+" hours!"; + .@msg$="Experience Rate was modified to "+$@EXP_EVENT+"% for "+$@EXP_EVENT_TIME+" hour(s)!"; announce .@msg$, bc_all; channelmes("#world", .@msg$); -- cgit v1.2.3-60-g2f50