summaryrefslogtreecommitdiff
path: root/npc/025-4
diff options
context:
space:
mode:
authorDarky <dark_mage.87@mail.ru>2011-06-15 00:46:49 +0400
committerDarky <dark_mage.87@mail.ru>2011-06-15 00:46:49 +0400
commit3c116c16854b55879545786fdc53062e1928b361 (patch)
tree14c761841858652b00decfb5f0469055d7670e15 /npc/025-4
parent4700e5acef9940071e423ff2851c9190b68ea428 (diff)
downloadserverdata-3c116c16854b55879545786fdc53062e1928b361.tar.gz
serverdata-3c116c16854b55879545786fdc53062e1928b361.tar.bz2
serverdata-3c116c16854b55879545786fdc53062e1928b361.tar.xz
serverdata-3c116c16854b55879545786fdc53062e1928b361.zip
Added new barriers in Battlecaves.txt
Diffstat (limited to 'npc/025-4')
-rw-r--r--npc/025-4/Battlecaves.txt125
1 files changed, 124 insertions, 1 deletions
diff --git a/npc/025-4/Battlecaves.txt b/npc/025-4/Battlecaves.txt
index 5631b5e6..2bd0dae6 100644
--- a/npc/025-4/Battlecaves.txt
+++ b/npc/025-4/Battlecaves.txt
@@ -77,7 +77,18 @@ OnTimer5000:
setnpctimer 0;
end;
}
+// -------------------------------------------- Cave 1 Checker --------------------------------------------
+025-4.gat,41,97,0 script #CheckCaveFight1 127,1,1,{
+ if (cavefights & BATTLE_CAVE1) goto L_Done;
+ message strcharinfo(0), "Evil forces make you stop, you need to defeat them first before getting out.";
+ end;
+
+L_Done:
+ warp "025-3.gat", 78, 130;
+ end;
+
+}
// ----------------------------------------------- Cave 2 ---------------------------------------------------------
@@ -158,7 +169,18 @@ OnTimer5000:
setnpctimer 0;
end;
}
+// -------------------------------------------- Cave 2 Checker --------------------------------------------
+025-4.gat,110,96,0 script #CheckCaveFight2 127,1,1,{
+ if (cavefights & BATTLE_CAVE2) goto L_Done;
+ message strcharinfo(0), "Evil forces make you stop, you need to defeat them first before getting out.";
+ end;
+
+L_Done:
+ warp "025-3.gat", 53, 110;
+ end;
+
+}
// ----------------------------------------------- Cave 3 ---------------------------------------------------------
025-4.gat,168,111,0 script #StartCaveFight3 111,{
if (Rossy_Quest < 15) goto L_Cheat;
@@ -237,6 +259,18 @@ OnTimer5000:
setnpctimer 0;
end;
}
+// -------------------------------------------- Cave 3 Checker --------------------------------------------
+
+025-4.gat,168,117,0 script #CheckCaveFight3 127,1,1,{
+ if (cavefights & BATTLE_CAVE3) goto L_Done;
+ message strcharinfo(0), "Evil forces make you stop, you need to defeat them first before getting out.";
+ end;
+
+L_Done:
+ warp "025-3.gat", 71, 85;
+ end;
+
+}
// ----------------------------------------------- Cave 4 ---------------------------------------------------------
025-4.gat,32,150,0 script #StartCaveFight4 111,{
if (Rossy_Quest < 15) goto L_Cheat;
@@ -315,6 +349,18 @@ OnTimer5000:
setnpctimer 0;
end;
}
+// -------------------------------------------- Cave 4 Checker --------------------------------------------
+
+025-4.gat,32,156,0 script #CheckCaveFight4 127,1,1,{
+ if (cavefights & BATTLE_CAVE4) goto L_Done;
+ message strcharinfo(0), "Evil forces make you stop, you need to defeat them first before getting out.";
+ end;
+
+L_Done:
+ warp "025-3.gat", 80, 85;
+ end;
+
+}
// ----------------------------------------------- Cave 5 ---------------------------------------------------------
025-4.gat,100,154,0 script #StartCaveFight5 111,{
if (Rossy_Quest < 15) goto L_Cheat;
@@ -393,6 +439,18 @@ OnTimer5000:
setnpctimer 0;
end;
}
+// -------------------------------------------- Cave 5 Checker --------------------------------------------
+
+025-4.gat,100,160,0 script #CheckCaveFight5 127,1,1,{
+ if (cavefights & BATTLE_CAVE5) goto L_Done;
+ message strcharinfo(0), "Evil forces make you stop, you need to defeat them first before getting out.";
+ end;
+
+L_Done:
+ warp "025-3.gat", 71, 33;
+ end;
+
+}
// ----------------------------------------------- Cave 6 ---------------------------------------------------------
025-4.gat,159,168,0 script #StartCaveFight6 111,{
if (Rossy_Quest < 15) goto L_Cheat;
@@ -471,6 +529,18 @@ OnTimer5000:
setnpctimer 0;
end;
}
+// -------------------------------------------- Cave 6 Checker --------------------------------------------
+
+025-4.gat,159,174,0 script #CheckCaveFight6 127,1,1,{
+ if (cavefights & BATTLE_CAVE6) goto L_Done;
+ message strcharinfo(0), "Evil forces make you stop, you need to defeat them first before getting out.";
+ end;
+
+L_Done:
+ warp "025-3.gat", 128, 38;
+ end;
+
+}
// ----------------------------------------------- Cave 7 ---------------------------------------------------------
025-4.gat,39,215,0 script #StartCaveFight7 111,{
if (Rossy_Quest < 15) goto L_Cheat;
@@ -549,6 +619,18 @@ OnTimer5000:
setnpctimer 0;
end;
}
+// -------------------------------------------- Cave 7 Checker --------------------------------------------
+
+025-4.gat,42,219,0 script #CheckCaveFight7 127,1,1,{
+ if (cavefights & BATTLE_CAVE7) goto L_Done;
+ message strcharinfo(0), "Evil forces make you stop, you need to defeat them first before getting out.";
+ end;
+
+L_Done:
+ warp "025-3.gat", 70, 60;
+ end;
+
+}
// ----------------------------------------------- Cave 8 ---------------------------------------------------------
025-4.gat,105,210,0 script #StartCaveFight8 111,{
if (Rossy_Quest < 15) goto L_Cheat;
@@ -627,6 +709,18 @@ OnTimer5000:
setnpctimer 0;
end;
}
+// -------------------------------------------- Cave 8 Checker --------------------------------------------
+
+025-4.gat,105,216,0 script #CheckCaveFight8 127,1,1,{
+ if (cavefights & BATTLE_CAVE8) goto L_Done;
+ message strcharinfo(0), "Evil forces make you stop, you need to defeat them first before getting out.";
+ end;
+
+L_Done:
+ warp "025-3.gat", 138, 95;
+ end;
+
+}
// ----------------------------------------------- Cave 9 ---------------------------------------------------------
025-4.gat,157,220,0 script #StartCaveFight9 111,{
if (Rossy_Quest < 15) goto L_Cheat;
@@ -705,6 +799,18 @@ OnTimer5000:
setnpctimer 0;
end;
}
+// -------------------------------------------- Cave 9 Checker --------------------------------------------
+
+025-4.gat,157,226,0 script #CheckCaveFight9 127,1,1,{
+ if (cavefights & BATTLE_CAVE9) goto L_Done;
+ message strcharinfo(0), "Evil forces make you stop, you need to defeat them first before getting out.";
+ end;
+
+L_Done:
+ warp "025-3.gat", 138, 157;
+ end;
+
+}
// ----------------------------------------------- Boss Cave ---------------------------------------------------------
025-4.gat,157,42,0 script #StartBossCaveFight 111,{
@@ -777,6 +883,7 @@ OnBossDeath:
setnpctimer 0;
message strcharinfo(0), "I am now sure I defeated all the monsters of these spooky caves! Julia must be in a room accessible from this place...";
set Rossy_Quest, 16;
+ set Killed_Boss, 1;
end;
onInit:
@@ -802,4 +909,20 @@ OnTimer5000:
setnpctimer 0;
end;
}
-
+// ----------------------------------------- Boss Cave Checker --------------------------------------------
+
+025-4.gat,157,47,0 script #CheckBossCaveFight 127,1,1,{
+ if (Rossy_Quest >= 17) goto L_Done;
+ if (Killed_Boss == 1) goto L_Killed;
+ message strcharinfo(0), "Evil forces make you stop, you need to defeat them first before getting out.";
+ end;
+
+L_Killed:
+ message strcharinfo(0), "The little girl seems so close, you cannot leave her alone.";
+ end;
+
+L_Done:
+ warp "025-3.gat", 77, 167;
+ end;
+
+}