/npc/instances/EndlessTower.txt
Find this line:
mapannounce(strnpcinfo(NPC_MAP), sprintf(_$("All Monsters on the %s Level have been defeated."), callsub(L_Display, .@level)), bc_map, C_YELLOW);
Add below:
if (.@level == 25) { //final floor
donpcevent(instance_npcname("#et_end::OnEnable"));
end;
}
Add this NPC:
1@tower,355,51,0 script #et_end WARPNPC,2,2,{
mes("^0000ffA mysterious voice echoes through the room as you step in the portal.^000000");
next();
mes("[Mysterious Voice]");
mes("It's still too early for you to continue to climb my tower.");
mes("Good-bye for now.");
next();
mes("^0000ffAs soon as the voice stopped talking, an irresistible force lifted and moved you somewhere else.");
close2();
warp("alberta", 223, 36);
end;
OnInstanceInit:
disablenpc(instance_npcname("#et_end"));
end;
OnEnable:
enablenpc(instance_npcname("#et_end"));
while (true) {
specialeffect(EF_ENHANCE);
sleep 1000;
}
end;
}