summaryrefslogtreecommitdiff
path: root/npc/instances/SealedShrine.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/instances/SealedShrine.txt')
-rw-r--r--npc/instances/SealedShrine.txt16
1 files changed, 7 insertions, 9 deletions
diff --git a/npc/instances/SealedShrine.txt b/npc/instances/SealedShrine.txt
index 5bbe81d27..da2244323 100644
--- a/npc/instances/SealedShrine.txt
+++ b/npc/instances/SealedShrine.txt
@@ -120,18 +120,17 @@ monk_test,309,146,3 script Friar Patrick#edq 4_M_OLDFRIAR,{
mes "Umm... But it seems that there is a problem here... I'll check quickly. Please wait.";
}
else {
- for (.@i = 1; .@i <= 2; ++.@i) {
- if( instance_attachmap(.@i + "@cata", .@instance) == "" )
- break;
- }
- if( .@i < 2 ) {
- instance_destroy(.@instance);
- close;
+ for (.@i = 1; .@i <= 2; .@i++) {
+ if( instance_attachmap(.@i + "@cata", .@instance) == "" ) {
+ mes "Failed to attach "+.@i+"@cata as a map!";
+ instance_destroy(.@instance);
+ close;
+ }
}
instance_set_timeout 7200,300,.@instance;
instance_init(.@instance);
-
+
mes "Okay... I'll adjust the shrine's seal so that you and your group can enter.";
next;
mes "[Friar Patrick]";
@@ -1456,7 +1455,6 @@ OnTimer70000:
end;
}
-
1@cata,1,1,0 script ins_1f_spawn_mobs -1,{
OnInstanceInit:
.@map$ = instance_mapname("1@cata");