From 7d926221879f39716e70c46e46b079d792af4dfc Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 4 Apr 2021 17:23:47 -0300 Subject: Make it use a constant so it can be reconfigured if desired --- db/constants.conf | 1 + npc/025-1/ctrl.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/db/constants.conf b/db/constants.conf index 36cd27858..d4e6dac74 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -2128,6 +2128,7 @@ constants_db: { MK_IDLE_DURATION: 30 MK_IDLE_VARIATION: 5 MK_SIEGE_TOTALPOWER: 1000 + MK_FIRESOFSTEAM_START: 12 comment__: "Fortress Island Reqs" MKIF_LV_0F: 3 diff --git a/npc/025-1/ctrl.c b/npc/025-1/ctrl.c index 71efdd296..eecd5ee5d 100644 --- a/npc/025-1/ctrl.c +++ b/npc/025-1/ctrl.c @@ -459,7 +459,7 @@ OnConquest: maptimer("025-1", 10, "Gate#F::OnConBonus"); stopnpctimer; // Begin Fires of Steam if needed - if ($MK_TEMPVAR == 12) { + if ($MK_TEMPVAR == MK_FIRESOFSTEAM_START) { kamibroadcast("Andrei Sakar : It has been about three months since we begun battling for control overthe Fortress Town."); sleep(5000); kamibroadcast("Andrei Sakar : Since this begun, however, we've heard nothing of Artis Town."); -- cgit v1.2.3-70-g09d2