summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/constants.conf1
-rw-r--r--npc/023-2/mk.txt2
-rw-r--r--npc/functions/mkbot.txt2
-rw-r--r--npc/functions/news.txt2
4 files changed, 4 insertions, 3 deletions
diff --git a/db/constants.conf b/db/constants.conf
index caf663712..9f4ae0de3 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -2125,6 +2125,7 @@ constants_db: {
// Special
MK_SIEGE_DURATION: 790
+ MK_SIEGE_TOTALPOWER: 1000
comment__: "Fortress Island Reqs"
MKIF_LV_0F: 3
diff --git a/npc/023-2/mk.txt b/npc/023-2/mk.txt
index cf5ded181..86d5244b6 100644
--- a/npc/023-2/mk.txt
+++ b/npc/023-2/mk.txt
@@ -75,7 +75,7 @@ L_Finish2:
// Game Storyline advances: The Town Blockade Stage is now over
$GAME_STORYLINE=1;
- $MK_TEMPVAR=gettimeparam(GETTIME_DAYOFMONTH)+rand(30,35);
+ $MK_TEMPVAR=gettimeparam(GETTIME_DAYOFMONTH)+rand(30,35); // FIXME
// Clean up the event
$NIVALIS_LIBDATE=gettimetick(2);
diff --git a/npc/functions/mkbot.txt b/npc/functions/mkbot.txt
index 4f1037488..019c60ca5 100644
--- a/npc/functions/mkbot.txt
+++ b/npc/functions/mkbot.txt
@@ -233,7 +233,7 @@ OnTimer90000:
$MK_TEMPVAR=0;
}
if ($GAME_STORYLINE == 2 &&
- $MK_TEMPVAR >= 500) {
+ $MK_TEMPVAR >= MK_SIEGE_TOTALPOWER) {
kamibroadcast("##1##BThe Monster King army is in total disarray and disorder!", "Saulc");
sleep(2500);
kamibroadcast("##1##BIt's our chance to strike back!", "Saulc");
diff --git a/npc/functions/news.txt b/npc/functions/news.txt
index 7f7152d41..877dc323c 100644
--- a/npc/functions/news.txt
+++ b/npc/functions/news.txt
@@ -304,7 +304,7 @@ function script Journalman {
mesc l("The Monster King Army left the cities! What will happen next? Anxiety grows!");
break;
case 2:
- .@def=100-(($MK_TEMPVAR+rand2(-1,1))/5);
+ .@def=100-(($MK_TEMPVAR+rand2(-1,1))*100/MK_SIEGE_TOTALPOWER);
if ($@MK_AGGRO >= 300)
.@st$=col(b(l("very mad")), 1);
else if ($@MK_AGGRO >= 200)