Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixes two bugs in sealed shrine which existed since the instance system was rewritten in cd95d1c.

Thanks to @Ancyker and @MishimaHaruna.
  • Loading branch information
Lemongrass3110 committed Dec 20, 2015
1 parent 0042fe5 commit eec8836
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions npc/instances/SealedShrine.txt
Expand Up @@ -424,16 +424,16 @@ prt_monk,261,91,3 script Rust Blackhand#edq 826,{
OnInstanceInit:
// Pick one "true" Gravestone and 12 "false" Gravestones.
set .@true, rand(1,13);
for(set .@i,1; .@i<13; set .@i,.@i+1) {
disablenpc instance_npcname("Gravestone#1F_1"+((.@i == .@true)?"F":"T"));
for(set .@i,1; .@i<=13; set .@i,.@i+1) {
disablenpc instance_npcname("Gravestone#1F_"+.@i+((.@i == .@true)?"T":"F"));
}
disablenpc instance_npcname("ins_baphomet_lotto");
end;
}

1@cata,3,2,0 script ins_baphomet_lotto2 -1,{
OnEnable:
for(set .@i,1; .@i<12; set .@i,.@i+1)
for(set .@i,1; .@i<=12; set .@i,.@i+1)
enablenpc instance_npcname("Bobbing Torch#"+.@i);
end;
}
Expand Down

0 comments on commit eec8836

Please sign in to comment.