summaryrefslogtreecommitdiff
path: root/npc/025-1/ctrl.c
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-14 15:47:47 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-14 15:47:47 -0300
commit461a38b4341850212190736766896c486b3ce217 (patch)
tree951b343df725864da82f41faa638e546932ff4ec /npc/025-1/ctrl.c
parentbb8871036d09f3de7ffe4c1d94bcf2ffb6d357c4 (diff)
downloadserverdata-461a38b4341850212190736766896c486b3ce217.tar.gz
serverdata-461a38b4341850212190736766896c486b3ce217.tar.bz2
serverdata-461a38b4341850212190736766896c486b3ce217.tar.xz
serverdata-461a38b4341850212190736766896c486b3ce217.zip
We did some nice progress... If the code work, that is! :laughing:
Diffstat (limited to 'npc/025-1/ctrl.c')
-rw-r--r--npc/025-1/ctrl.c13
1 files changed, 3 insertions, 10 deletions
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?");