diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-04 17:23:47 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-04 17:23:47 -0300 |
commit | 7d926221879f39716e70c46e46b079d792af4dfc (patch) | |
tree | 881d86a66b659d78a26d44173c0fef5766e0c2ae | |
parent | c64a3ccc983aad670675aaa5a60f1935c83cc9c5 (diff) | |
download | serverdata-7d926221879f39716e70c46e46b079d792af4dfc.tar.gz serverdata-7d926221879f39716e70c46e46b079d792af4dfc.tar.bz2 serverdata-7d926221879f39716e70c46e46b079d792af4dfc.tar.xz serverdata-7d926221879f39716e70c46e46b079d792af4dfc.zip |
Make it use a constant so it can be reconfigured if desired
-rw-r--r-- | db/constants.conf | 1 | ||||
-rw-r--r-- | npc/025-1/ctrl.c | 2 |
2 files changed, 2 insertions, 1 deletions
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."); |