summaryrefslogtreecommitdiff
path: root/npc/instances/SealedShrine.txt
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2018-06-05 08:11:31 +0000
committerAsheraf <acheraf1998@gmail.com>2018-06-05 08:11:31 +0000
commit82d5ed8ee5349e0338f1819ecf472efe95523ae9 (patch)
tree60ceaca119c0524d65e96b9e5c7406bd477903b6 /npc/instances/SealedShrine.txt
parent97dc1ef1695404ea5276813616a17653439ede46 (diff)
downloadhercules-82d5ed8ee5349e0338f1819ecf472efe95523ae9.tar.gz
hercules-82d5ed8ee5349e0338f1819ecf472efe95523ae9.tar.bz2
hercules-82d5ed8ee5349e0338f1819ecf472efe95523ae9.tar.xz
hercules-82d5ed8ee5349e0338f1819ecf472efe95523ae9.zip
Update instance scripts to follow official behaviour
Diffstat (limited to 'npc/instances/SealedShrine.txt')
-rw-r--r--npc/instances/SealedShrine.txt40
1 files changed, 18 insertions, 22 deletions
diff --git a/npc/instances/SealedShrine.txt b/npc/instances/SealedShrine.txt
index 3bc3d951a..91771c31c 100644
--- a/npc/instances/SealedShrine.txt
+++ b/npc/instances/SealedShrine.txt
@@ -118,37 +118,33 @@ monk_test,309,146,3 script Friar Patrick#edq 4_M_OLDFRIAR,{
mesf("Party name is %s...", getpartyname(.@party_id));
mesf("Name of the leader is %s...", strcharinfo(PC_NAME));
.@instance = instance_create(_("Sealed Catacomb"), .@party_id);
- if (.@instance < 0) {
- mes("Umm... But it seems that there is a problem here... I'll check quickly. Please wait.");
- } else {
+ if (.@instance >= 0) {
for (.@i = 1; .@i <= 2; .@i++) {
if (instance_attachmap(.@i + "@cata", .@instance) == "") {
- mesf("Failed to attach %d@cata as a map!", .@i);
+ mes("Umm... But it seems that there is a problem here... I'll check quickly. Please wait.");
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]");
- mes("You will see a sign when the seal has broken. Please wait until the sign appears...");
- next();
- mes("[Friar Patrick]");
- mes("When you see the sign, put your hands on the gravestone... Then you can move inside.");
- next();
- mes("[Friar Patrick]");
- mes("One thing that you should remember is... Anyone who enters this shrine will be cursed by Baphomet and cannot enter or leave while they are cursed.");
- next();
- mes("[Friar Patrick]");
- mes("And one more thing... In this cursed area, some skills, which are protected by outer physical power are prohibited by the effect of the seal.");
- next();
- mes("[Friar Patrick]");
- mes("For example, the skills like ^0000FFSafety Wall and Assumptio^000000... So you'd better prepare before entering the shrine.");
}
+ mes("Okay... I'll adjust the shrine's seal so that you and your group can enter.");
+ next();
+ mes("[Friar Patrick]");
+ mes("You will see a sign when the seal has broken. Please wait until the sign appears...");
+ next();
+ mes("[Friar Patrick]");
+ mes("When you see the sign, put your hands on the gravestone... Then you can move inside.");
+ next();
+ mes("[Friar Patrick]");
+ mes("One thing that you should remember is... Anyone who enters this shrine will be cursed by Baphomet and cannot enter or leave while they are cursed.");
+ next();
+ mes("[Friar Patrick]");
+ mes("And one more thing... In this cursed area, some skills, which are protected by outer physical power are prohibited by the effect of the seal.");
+ next();
+ mes("[Friar Patrick]");
+ mes("For example, the skills like ^0000FFSafety Wall and Assumptio^000000... So you'd better prepare before entering the shrine.");
} else {
mes("[Friar Patrick]");
mes("Umm... I recognize your courage, but... I can't permit anyone to enter this place. I can only permit the leader of a party to enter first.");