diff options
author | Ancyker <ancyker@gmail.com> | 2015-10-01 07:48:03 -0400 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-18 05:28:43 +0100 |
commit | 5b4d1acfc7955cbb80c129526abd2948021808fc (patch) | |
tree | 65fff41c369bfae1f4ea9f863ec4b31c430ab973 | |
parent | 8bb331ce4c2e662a096c9f7a8fd308dc1e5eac0a (diff) | |
download | hercules-5b4d1acfc7955cbb80c129526abd2948021808fc.tar.gz hercules-5b4d1acfc7955cbb80c129526abd2948021808fc.tar.bz2 hercules-5b4d1acfc7955cbb80c129526abd2948021808fc.tar.xz hercules-5b4d1acfc7955cbb80c129526abd2948021808fc.zip |
Fixed 2 bugs in Sealed Shrine
Fixed trying to disable wrong NPCs.
Fixed not enabling all Bobbing Torches.
Both bugs were (re)introduced in
cd95d1cadacc9b506e08d4cbe52a4a0ce2a59df3
Closes #765 as merged
Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r-- | npc/instances/SealedShrine.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/instances/SealedShrine.txt b/npc/instances/SealedShrine.txt index 89b9a6f98..4750f2105 100644 --- a/npc/instances/SealedShrine.txt +++ b/npc/instances/SealedShrine.txt @@ -441,8 +441,8 @@ prt_monk,261,91,3 script Rust Blackhand#edq 4_M_DWARF,{ OnInstanceInit: // Pick one "true" Gravestone and 12 "false" Gravestones. .@true = rand(1,13); - for (.@i = 1; .@i<13; ++.@i) { - disablenpc instance_npcname("Gravestone#1F_1"+((.@i == .@true)?"F":"T")); + for (.@i = 1; .@i <= 13; ++.@i) { + disablenpc instance_npcname("Gravestone#1F_"+.@i+((.@i == .@true)?"T":"F")); } disablenpc instance_npcname("ins_baphomet_lotto"); end; @@ -450,7 +450,7 @@ OnInstanceInit: 1@cata,3,2,0 script ins_baphomet_lotto2 -1,{ OnEnable: - for (.@i = 1; .@i < 12; ++.@i) + for (.@i = 1; .@i <= 12; ++.@i) enablenpc instance_npcname("Bobbing Torch#"+.@i); end; } |