summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-07-28 19:09:32 +0200
committerGitHub <noreply@github.com>2019-07-28 19:09:32 +0200
commita6b4cc86b0ab4a20ae237d49a1a8502a10159239 (patch)
tree239ac82a6c4b9d43d837911b52461f0c077a3535 /npc
parentafe0f1377070f1f6679a679aab0d6ad5ed83b565 (diff)
parent749fdb72b80ee282419c45aeea9cd756bc8848ec (diff)
downloadhercules-a6b4cc86b0ab4a20ae237d49a1a8502a10159239.tar.gz
hercules-a6b4cc86b0ab4a20ae237d49a1a8502a10159239.tar.bz2
hercules-a6b4cc86b0ab4a20ae237d49a1a8502a10159239.tar.xz
hercules-a6b4cc86b0ab4a20ae237d49a1a8502a10159239.zip
Merge pull request #2332 from carloshenrq/sealed_shrine_fix
Fix sealed bapho problem
Diffstat (limited to 'npc')
-rw-r--r--npc/instances/SealedShrine.txt16
1 files changed, 9 insertions, 7 deletions
diff --git a/npc/instances/SealedShrine.txt b/npc/instances/SealedShrine.txt
index 91771c31c..1c4f4b9d8 100644
--- a/npc/instances/SealedShrine.txt
+++ b/npc/instances/SealedShrine.txt
@@ -1108,13 +1108,15 @@ OnInstanceInit:
next();
mes("The bottom of the Main Altar trembles furiously.");
next();
- specialeffect(EF_METEORSTORM);
- specialeffect(EF_METEORSTORM);
- mesf("[%s]", strcharinfo(PC_NAME));
- mes("Watch out! Something... Something is coming.");
- 'ins_baphomet = 6;
- donpcevent(instance_npcname("ins_2f_hero_broad")+"::OnEnable");
- disablenpc(instance_npcname("The Main Altar#ss"));
+ if ('ins_baphomet == 5) {
+ specialeffect(EF_METEORSTORM);
+ specialeffect(EF_METEORSTORM);
+ mesf("[%s]", strcharinfo(PC_NAME));
+ mes("Watch out! Something... Something is coming.");
+ 'ins_baphomet = 6;
+ donpcevent(instance_npcname("ins_2f_hero_broad")+"::OnEnable");
+ disablenpc(instance_npcname("The Main Altar#ss"));
+ }
close();
} else {
mes("An evil power, too terrible to describe, lies under the great altar radiating a violet color.");