diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-10-08 13:27:15 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-10-08 13:27:15 -0300 |
commit | f92241342204223cdc32f5828f9ccd73526c18a2 (patch) | |
tree | c1ec23d08caf72d520ea3ca53491c72d975ee10c /npc/026-3 | |
parent | b72be27813513445c8135027f5b38bbf8a9d981a (diff) | |
download | serverdata-f92241342204223cdc32f5828f9ccd73526c18a2.tar.gz serverdata-f92241342204223cdc32f5828f9ccd73526c18a2.tar.bz2 serverdata-f92241342204223cdc32f5828f9ccd73526c18a2.tar.xz serverdata-f92241342204223cdc32f5828f9ccd73526c18a2.zip |
Release Impregnable Fortress, B4F
Diffstat (limited to 'npc/026-3')
-rw-r--r-- | npc/026-3/ctrl.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/npc/026-3/ctrl.c b/npc/026-3/ctrl.c index 21b86c2cb..10d0c8787 100644 --- a/npc/026-3/ctrl.c +++ b/npc/026-3/ctrl.c @@ -46,8 +46,15 @@ L_Warp: mesc l("Minimum wins: %d/%d", $MK_TEMPVAR, MKIF_LV_B4F), 1; close; } - //warp "026-4", 40, 40; // TODO: Are these coords actually OK? - dispbottom l("Coming Soon, in Moubootaur Legends!"); + // This is a more complex warp + .@e = 0; + do { + if (.@e >= 30) break; + .@x = rand2(20, 40); + .@y = rand2(20, 40); + .@e+=1; + } while (!checknpccell("026-4", .@x, .@y, cell_chkpass)); + warp "026-4", .@x, .@y; end; // Reset the switches |