summaryrefslogtreecommitdiff
path: root/npc/025-1/ctrl.c
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-16 07:44:58 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-16 07:44:58 -0300
commitb27250e237463205c96f218e782d82d5b27ebd85 (patch)
treeef6e359f7ae779ad0304f667b2e067685fab45dd /npc/025-1/ctrl.c
parent6c66173437e69918f8d6e7c79ca929277a3e45cc (diff)
downloadserverdata-b27250e237463205c96f218e782d82d5b27ebd85.tar.gz
serverdata-b27250e237463205c96f218e782d82d5b27ebd85.tar.bz2
serverdata-b27250e237463205c96f218e782d82d5b27ebd85.tar.xz
serverdata-b27250e237463205c96f218e782d82d5b27ebd85.zip
Add information to Fortress Town and fix a race condition between blacklist & town
Diffstat (limited to 'npc/025-1/ctrl.c')
-rw-r--r--npc/025-1/ctrl.c30
1 files changed, 27 insertions, 3 deletions
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;