From 461a38b4341850212190736766896c486b3ce217 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 14 Jan 2021 15:47:47 -0300 Subject: We did some nice progress... If the code work, that is! :laughing: --- npc/025-1/ctrl.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'npc/025-1') diff --git a/npc/025-1/ctrl.c b/npc/025-1/ctrl.c index 12b50c682..816bacee3 100644 --- a/npc/025-1/ctrl.c +++ b/npc/025-1/ctrl.c @@ -16,17 +16,11 @@ // 2048 - Siege started // $@FORT_BLACKLIST = int array // Char ID which already raided this week -// TODO: Use bg() - maybe with dummysd? What will increase allies count? -// TODO: Gate control during siege (not $FORTRESS_STATE). Gate monster. // TODO: Spawn the monster general for each statue. Count their deaths. // TODO: Spawn Monster Governor (and add it) once statue is broken. ::OnConquest // TODO: Record nÂș of victories. Strengthen the governor. -// TODO: Provide a way to resume failed attempts. Move Phoenix inside. // TODO: Testing. -// Use setwall() instead of builtin collision? (Deprecates out NPC) // TODO: NPCs from inside: Bank. Barber. Aeros Shop. Etc. -// TODO: Spawn inside and outside when siege begins. -// TODO: Heartbeat - (Re)Spawn monsters inside every X seconds // MAPFLAGS 025-1 mapflag zone SuperMMO @@ -42,15 +36,15 @@ function script FTCleanup { $FORTRESS_STATE=getarg(0); // TODO: Magic Statues (FTStatue) $@FORTRESS_STATUE=0; + // TODO: NPCs //enablenpc "Magic Statue#F_1"; //enablenpc "Magic Statue#F_2"; //enablenpc "Magic Statue#F_4"; //enablenpc "Magic Statue#F_8"; //enablenpc "Magic Statue#F_16"; - // TODO: Gate // TODO: ::OnConquest - // TODO: Kill stray monsters - //killmonsterall + // Kill stray monsters (including town gate) + killmonsterall("025-1"); // Main gate if ($FORTRESS_STATE) { disablenpc "Fortress"; @@ -149,7 +143,6 @@ function script FTStatue { spawnCore(true); spawnCore(false); - // TODO: Enable the statues // Player blacklist (unable to use 025-2 warp) maptimer2("025-1", 10, "Fortress::OnMPBlacklist"); kamibroadcast($MOST_HEROIC$+"'s team has begun a siege on Fortress Town. Will they prevail?"); -- cgit v1.2.3-70-g09d2