From 35be1eefe6b5442f812d2f222602ea4f5ee865b7 Mon Sep 17 00:00:00 2001 From: Coffee Date: Fri, 5 Aug 2011 12:51:52 -0300 Subject: Fixes the logic in reset.txt and battlecaves.txt according to o11c's suggestion. Makes it possible to enter the cave after completing the quest. --- world/map/npc/025-4/battlecaves.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'world/map/npc/025-4') diff --git a/world/map/npc/025-4/battlecaves.txt b/world/map/npc/025-4/battlecaves.txt index c295362c..411e2026 100644 --- a/world/map/npc/025-4/battlecaves.txt +++ b/world/map/npc/025-4/battlecaves.txt @@ -40,7 +40,7 @@ L_Done: if ($@wave_cave1 == 1) message strcharinfo(0), "As soon as you kill the last monster, your vision blacks out and you feel a strange sensation... Maybe it is not healthy to stay in this cave."; if ($@wave_cave1 < $@CAVE1_WAVES) goto L_Summon; - set cavefights, (cavefights ^ BATTLE_CAVE1); + set cavefights, (cavefights | BATTLE_CAVE1); end; OnMonsterDeath: @@ -183,7 +183,7 @@ L_Done: if ($@wave_cave2 == 1) message strcharinfo(0), "As soon as you kill the last monster, your vision blacks out and you feel a strange sensation... Maybe it is not healthy to stay in this cave."; if ($@wave_cave2 < $@CAVE2_WAVES) goto L_Summon; - set cavefights, (cavefights ^ BATTLE_CAVE2); + set cavefights, (cavefights | BATTLE_CAVE2); end; OnMonsterDeath: @@ -251,7 +251,7 @@ L_Done: if ($@wave_cave3 == 1) message strcharinfo(0), "As soon as you kill the last monster, your vision blacks out and you feel a strange sensation... Maybe it is not healthy to stay in this cave."; if ($@wave_cave3 < $@CAVE3_WAVES) goto L_Summon; - set cavefights, (cavefights ^ BATTLE_CAVE3); + set cavefights, (cavefights | BATTLE_CAVE3); end; OnMonsterDeath: @@ -321,7 +321,7 @@ L_Done: if ($@wave_cave4 == 2) message strcharinfo(0), "As soon as you kill the last monster, your vision blacks out and you feel a strange sensation... Maybe it is not healthy to stay in this cave."; if ($@wave_cave4 < $@CAVE4_WAVES) goto L_Summon; - set cavefights, (cavefights ^ BATTLE_CAVE4); + set cavefights, (cavefights | BATTLE_CAVE4); end; OnMonsterDeath: @@ -392,7 +392,7 @@ L_Done: if ($@wave_cave5 == 2) message strcharinfo(0), "As soon as you kill the last monster, your vision blacks out and you feel a strange sensation... Maybe it is not healthy to stay in this cave."; if ($@wave_cave5 < $@CAVE5_WAVES) goto L_Summon; - set cavefights, (cavefights ^ BATTLE_CAVE5); + set cavefights, (cavefights | BATTLE_CAVE5); end; OnMonsterDeath: @@ -463,7 +463,7 @@ L_Done: if ($@wave_cave6 == 2) message strcharinfo(0), "As soon as you kill the last monster, your vision blacks out and you feel a strange sensation... Maybe it is not healthy to stay in this cave."; if ($@wave_cave6 < $@CAVE6_WAVES) goto L_Summon; - set cavefights, (cavefights ^ BATTLE_CAVE6); + set cavefights, (cavefights | BATTLE_CAVE6); end; OnMonsterDeath: @@ -535,7 +535,7 @@ L_Done: if ($@wave_cave7 == 3) message strcharinfo(0), "As soon as you kill the last monster, your vision blacks out and you feel a strange sensation... Maybe it is not healthy to stay in this cave."; if ($@wave_cave7 < $@CAVE7_WAVES) goto L_Summon; - set cavefights, (cavefights ^ BATTLE_CAVE7); + set cavefights, (cavefights | BATTLE_CAVE7); end; OnMonsterDeath: @@ -607,7 +607,7 @@ L_Done: if ($@wave_cave8 == 3) message strcharinfo(0), "As soon as you kill the last monster, your vision blacks out and you feel a strange sensation... Maybe it is not healthy to stay in this cave."; if ($@wave_cave8 < $@CAVE8_WAVES) goto L_Summon; - set cavefights, (cavefights ^ BATTLE_CAVE8); + set cavefights, (cavefights | BATTLE_CAVE8); end; OnMonsterDeath: @@ -679,7 +679,7 @@ L_Done: if ($@wave_cave9 == 3) message strcharinfo(0), "As soon as you kill the last monster, your vision blacks out and you feel a strange sensation... Maybe it is not healthy to stay in this cave."; if ($@wave_cave9 < $@CAVE9_WAVES) goto L_Summon; - set cavefights, (cavefights ^ BATTLE_CAVE9); + set cavefights, (cavefights | BATTLE_CAVE9); end; OnMonsterDeath: -- cgit v1.2.3-60-g2f50