diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-10-08 00:52:02 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-10-08 00:52:02 -0300 |
commit | 97099cff5e4081829eb74ef6a4b88f813bf2a3ba (patch) | |
tree | d2ff3b9659e9fabf71c56c60377b1d2208d1ab11 /npc/026-3 | |
parent | 4c0fcc2f9a889be37cfb943a491aef5c6b3f2856 (diff) | |
download | serverdata-97099cff5e4081829eb74ef6a4b88f813bf2a3ba.tar.gz serverdata-97099cff5e4081829eb74ef6a4b88f813bf2a3ba.tar.bz2 serverdata-97099cff5e4081829eb74ef6a4b88f813bf2a3ba.tar.xz serverdata-97099cff5e4081829eb74ef6a4b88f813bf2a3ba.zip |
Bugfixes (actual testing)
Diffstat (limited to 'npc/026-3')
-rw-r--r-- | npc/026-3/ctrl.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/npc/026-3/ctrl.c b/npc/026-3/ctrl.c index fd8c52138..820c50bb9 100644 --- a/npc/026-3/ctrl.c +++ b/npc/026-3/ctrl.c @@ -4,7 +4,7 @@ // Description: // The Impregnable Fortress Control Files // Quest: General_Fortress -// (MaxFloor+1, internal, internal) +// (MaxFloor+2, internal, internal) // 0263Event(switchID) function script 0263Event { @@ -19,7 +19,7 @@ function script 0263Event { // And if all switches are flipped...! if (getq2(General_Fortress) == 15) { setq General_Fortress, 5, 0, 0; - specialeffect(FX_CIRCLE, SELF, getcharid(3)); + specialeffect(FX_MGWARP, SELF, getcharid(3)); } return; } @@ -30,13 +30,13 @@ function script 0263Event { OnTouch: dispbottom l("From this point forward, you'll no longer be able to return to the previous floor."); - if (getq(General_Fortress) > 5) goto L_Warp; + if (getq(General_Fortress) > 4) goto L_Warp; mesc l(".:: Impregnable Fortress, %sF ::.", "B3"), 3; msObjective(getq(General_Fortress) == 5, l("* Flip all four switches")); - msObjective($MK_TEMPVAR < MKIF_LV_B3F, l("Minimum wins: %d/%d", $MK_TEMPVAR, MKIF_LV_B4F)); + msObjective($MK_TEMPVAR >= MKIF_LV_B3F, l("Minimum wins: %d/%d", $MK_TEMPVAR, MKIF_LV_B4F)); mes ""; mesc l("Hint: You cannot unflip a switch, but they unflip every 12 hours."); - end; + close; L_Warp: // Not unlocked @@ -60,3 +60,7 @@ OnClock1700: end; } + +// TODO: Miller system (otherwise, you can't reach the switches & platforms) + + |