summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-04 16:58:16 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-04 16:58:16 -0300
commit8babda1a6f819b357507ad6d72785908e5cbea69 (patch)
treebcd3d3048eb6d026c5fe207221a4e30b1e4abe6a
parent56ac02e00bda3bb7883ee64681675b402d012c4f (diff)
downloadserverdata-8babda1a6f819b357507ad6d72785908e5cbea69.tar.gz
serverdata-8babda1a6f819b357507ad6d72785908e5cbea69.tar.bz2
serverdata-8babda1a6f819b357507ad6d72785908e5cbea69.tar.xz
serverdata-8babda1a6f819b357507ad6d72785908e5cbea69.zip
Make Act 2 duration flexible as well
-rw-r--r--db/constants.conf2
-rw-r--r--npc/023-2/mk.txt3
2 files changed, 4 insertions, 1 deletions
diff --git a/db/constants.conf b/db/constants.conf
index 9f4ae0de3..36cd27858 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -2125,6 +2125,8 @@ constants_db: {
// Special
MK_SIEGE_DURATION: 790
+ MK_IDLE_DURATION: 30
+ MK_IDLE_VARIATION: 5
MK_SIEGE_TOTALPOWER: 1000
comment__: "Fortress Island Reqs"
diff --git a/npc/023-2/mk.txt b/npc/023-2/mk.txt
index 86d5244b6..8bb94469b 100644
--- a/npc/023-2/mk.txt
+++ b/npc/023-2/mk.txt
@@ -75,7 +75,8 @@ L_Finish2:
// Game Storyline advances: The Town Blockade Stage is now over
$GAME_STORYLINE=1;
- $MK_TEMPVAR=gettimeparam(GETTIME_DAYOFMONTH)+rand(30,35); // FIXME
+ $MK_TEMPVAR=gettimeparam(GETTIME_DAYOFMONTH)+
+ MK_IDLE_DURATION+rand2(MK_IDLE_VARIATION);
// Clean up the event
$NIVALIS_LIBDATE=gettimetick(2);