diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-31 20:05:24 +0000 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-31 20:05:24 +0000 |
commit | fe5196d6dc36e71c548cff0928b7fae335625d52 (patch) | |
tree | c91fadf68748c235ef010ab4704a0d87b45fc0dd | |
parent | 3aee3a914607623b843bc6085758f0a8ad8cd8fc (diff) | |
download | serverdata-fe5196d6dc36e71c548cff0928b7fae335625d52.tar.gz serverdata-fe5196d6dc36e71c548cff0928b7fae335625d52.tar.bz2 serverdata-fe5196d6dc36e71c548cff0928b7fae335625d52.tar.xz serverdata-fe5196d6dc36e71c548cff0928b7fae335625d52.zip |
Mob ID 1400 - Fortress Gate
A stalwart with 200k HP
Passive Guardian.
It'll protect the Fortress Island.
Destroying it is CRITICAL to conquer the town!
(Death event will remove collision - aka. open the gate)
(As we're using a workaround, though...)
-rw-r--r-- | db/re/mob_db.conf | 19 | ||||
-rw-r--r-- | npc/025-1/ctrl.c | 6 |
2 files changed, 24 insertions, 1 deletions
diff --git a/db/re/mob_db.conf b/db/re/mob_db.conf index 104a00743..b42608da6 100644 --- a/db/re/mob_db.conf +++ b/db/re/mob_db.conf @@ -9998,6 +9998,25 @@ mob_db: ( // WARNING: ID 1250~1400 PERMANENTLY RESERVED - USE PROHIBTED // Reserved { + Id: 1400 + SpriteName: "FortressGate" + Name: "Fortress Gate" + Lv: 100 + Hp: 200000 + Exp: 10000 + Def: 100 + Mdef: 100 + Race: 3 + Element: (2, 1) + Mode: { + CanMove: false + CanAttack: false + } + WeaponAttacks: { + All: 6000 + } +}, +{ Id: 1493 SpriteName: "GameMaster" Name: "Game Master" diff --git a/npc/025-1/ctrl.c b/npc/025-1/ctrl.c index 2e96f1c38..2d06d4378 100644 --- a/npc/025-1/ctrl.c +++ b/npc/025-1/ctrl.c @@ -12,7 +12,7 @@ // 1 - Unlocked // $@FORTRESS_STATUE = bitmask // 1,2,4,8... broken statues -// TODO: Use bg() - maybe with dummysd? +// TODO: Use bg() - maybe with dummysd? What will increase allies count? // TODO: mapwarp() everyone outside when FTCleanup(false) // TODO: Gate control during siege (not $FORTRESS_STATE). Gate monster. // TODO: Spawn the monster general for each statue. Count their deaths. @@ -20,6 +20,9 @@ // 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: Tolchi. Phoenix. Free Status Reset. 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 MMO @@ -104,6 +107,7 @@ function script FTStatue { // Hey, you can assault the town! mesc ".:: "+l("THE FORTRESS ISLAND TOWN") + " ::.", 1; mes l("Behind this gate, lies the Fortress Island Town."); + //monster(FortressGate, ::OnOpenGate) close; OnTouch: |