From 8babda1a6f819b357507ad6d72785908e5cbea69 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 4 Apr 2021 16:58:16 -0300 Subject: Make Act 2 duration flexible as well --- db/constants.conf | 2 ++ npc/023-2/mk.txt | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2