From 62cae6d400579b0e02026f4889084c50423cfad3 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 14 Jan 2021 15:10:18 -0300 Subject: Assign global difficulty (declared on MKBOT) --- npc/025-1/ctrl.c | 2 ++ npc/functions/mkbot.txt | 2 ++ 2 files changed, 4 insertions(+) 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,{ -- cgit v1.2.3-70-g09d2