diff options
author | Haru <haru@dotalux.com> | 2019-07-28 19:09:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-28 19:09:32 +0200 |
commit | a6b4cc86b0ab4a20ae237d49a1a8502a10159239 (patch) | |
tree | 239ac82a6c4b9d43d837911b52461f0c077a3535 /npc | |
parent | afe0f1377070f1f6679a679aab0d6ad5ed83b565 (diff) | |
parent | 749fdb72b80ee282419c45aeea9cd756bc8848ec (diff) | |
download | hercules-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.txt | 16 |
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."); |