summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-14 15:10:18 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-14 15:10:18 -0300
commit62cae6d400579b0e02026f4889084c50423cfad3 (patch)
treee97128c87db4f962379391f5e633af6cb14b4d11
parentbc49ff8f5e7bbae522250d012b8e531a7bc4203c (diff)
downloadserverdata-62cae6d400579b0e02026f4889084c50423cfad3.tar.gz
serverdata-62cae6d400579b0e02026f4889084c50423cfad3.tar.bz2
serverdata-62cae6d400579b0e02026f4889084c50423cfad3.tar.xz
serverdata-62cae6d400579b0e02026f4889084c50423cfad3.zip
Assign global difficulty (declared on MKBOT)
-rw-r--r--npc/025-1/ctrl.c2
-rw-r--r--npc/functions/mkbot.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/npc/025-1/ctrl.c b/npc/025-1/ctrl.c
index d3c1dc6f4..9817f1077 100644
--- a/npc/025-1/ctrl.c
+++ b/npc/025-1/ctrl.c
@@ -160,6 +160,7 @@ OnOpenGate:
OnTimer30000:
.@breach=($@FORTRESS_STATUE & 1024);
.@ppl=getmapusers("025-1");
+
// Fail condition
if (.@ppl <= 0) {
kamibroadcast("Players failed to conquest the Fortress Island!");
@@ -201,6 +202,7 @@ OnTue0000:
end;
OnConquest:
+ $MK_TEMPVAR+=1;
FTCleanup(true);
end;
}
diff --git a/npc/functions/mkbot.txt b/npc/functions/mkbot.txt
index 2e847ce84..7525efac6 100644
--- a/npc/functions/mkbot.txt
+++ b/npc/functions/mkbot.txt
@@ -29,6 +29,8 @@
// Affects the end of Game Story 2 and begin of Game Story 3
// Because we must wait players...
// GS 3
+// Number of successful Fortress Town breaches
+// GS 4
// Stage TBD
000-0,0,0,0 script Monster King NPC_HIDDEN,{