summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-19 15:34:02 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-19 15:34:02 -0300
commit4b5e053d633139c6aeb03aac7059d44433fe9028 (patch)
treea626409512938cf29dee9d71e1dbde63c62954cd /npc
parentaec6c27ea77ed637693ba65c9c92c889c5ed15c6 (diff)
downloadserverdata-4b5e053d633139c6aeb03aac7059d44433fe9028.tar.gz
serverdata-4b5e053d633139c6aeb03aac7059d44433fe9028.tar.bz2
serverdata-4b5e053d633139c6aeb03aac7059d44433fe9028.tar.xz
serverdata-4b5e053d633139c6aeb03aac7059d44433fe9028.zip
Increase server-wide exp happy hour bonus in 5%, and duration have some chance
to be two hours
Diffstat (limited to 'npc')
-rw-r--r--npc/003-1/aahna.txt6
-rw-r--r--npc/commands/rate-management.txt2
2 files changed, 7 insertions, 1 deletions
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$);