summaryrefslogtreecommitdiff
path: root/npc/025-4/Battlecaves.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/025-4/Battlecaves.txt')
-rw-r--r--npc/025-4/Battlecaves.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/025-4/Battlecaves.txt b/npc/025-4/Battlecaves.txt
index df16b076..272f4c9b 100644
--- a/npc/025-4/Battlecaves.txt
+++ b/npc/025-4/Battlecaves.txt
@@ -749,11 +749,17 @@ onInit:
stopnpctimer;
OnTimer5000:
+ if (isdead(0) && $@wave_cave10 == 5) goto L_Dead;
attachrid(getcharid(3,$@cave10fighter$));
if (gettimetick(2) - $@cave10start >= $@CAVE10_TIME) goto L_Cleaning;
if (PC_DIE_COUNTER > $@cave10fighterdeaths) goto L_Cleaning;
if ($@wave_cave10 == 5) goto L_SummonBoss;
setnpctimer 0;
end;
+
+L_Dead:
+ set Boss_10, 2;
+ message strcharinfo(0), "You feel that you missed the very close goal.";
+ goto L_Cleaning;
}