From b27250e237463205c96f218e782d82d5b27ebd85 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 16 Jan 2021 07:44:58 -0300 Subject: Add information to Fortress Town and fix a race condition between blacklist & town --- npc/025-1/ctrl.c | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) (limited to 'npc') diff --git a/npc/025-1/ctrl.c b/npc/025-1/ctrl.c index 3a0ec66fd..49aae2f09 100644 --- a/npc/025-1/ctrl.c +++ b/npc/025-1/ctrl.c @@ -134,11 +134,32 @@ function script FTStatue { mes l("Behind this gate, lies the Fortress Island Town."); next; mesc ".:: "+l("THE FORTRESS ISLAND TOWN") + " ::.", 1; - mes l("Assault?"); - mesc l("Lorem ipsum dolor sit amet"), 1; + mesc l("Assault?"), 1; + mes l("* Ensure you and your team is ready and at their positions."); next; - if (askyesno() == ASK_NO) + select + l("Not now."), + l("Information"), + l("Bring it on, we're ready!"); + mes ""; + if (@menu == 1) { close; + } else if (@menu == 2) { + mesc l("* The siege resets at Tuesday 00:00"); + mesc l("* Sieges increase in difficulty as they are won"); + mesc l("* Unlike monster sieges, the difficulty does not fluctuates based on nÂș of players or their level!"); + dnext; + mesc l("* The warp to this map will be suspended until the siege is finished."); + mesc l("* The town is liberated once the Monster Governor is slain."); + mesc l("* Monster Governor will only show up when the town magic shield is broken."); + mesc l("* Monster Governor gives 500,000 exp and 100,000 jexp to whoever deals most damage to it"); + dnext; + mesc l("* All monsters in the town and Impregnable Fortress give +25%% EXP"); + mesc l("* You cannot teleport in the town."); + mesc l("* This is a Cursed Lands map, watch out for MP during the fights as well"); + mesc l("* The siege is lost if all players die."); + close; + } // FIRE THE EVENT hideonnpc "Gate#F"; @@ -467,6 +488,9 @@ OnTouch: // Disabled if ($GAME_STORYLINE < 3 || $@FORTRESS_STATUE) end; + // Open + if ($FORTRESS_STATE) + cwarp "025-1", 99, 122; // Blacklisted if (array_find($@FORT_BLACKLIST, getcharid(0)) != -1) end; -- cgit v1.2.3-60-g2f50