diff options
author | Darky <dark_mage.87@mail.ru> | 2011-06-14 20:23:08 +0400 |
---|---|---|
committer | Darky <dark_mage.87@mail.ru> | 2011-06-14 20:23:08 +0400 |
commit | 202dfa8030d07deeb21d6854da0630044b60adff (patch) | |
tree | 0a504f71a021bc4bd0d76c189c5fca3a53f4b548 /npc | |
parent | 788afdd762813066fffe11d82e4f8df4066426c6 (diff) | |
download | serverdata-202dfa8030d07deeb21d6854da0630044b60adff.tar.gz serverdata-202dfa8030d07deeb21d6854da0630044b60adff.tar.bz2 serverdata-202dfa8030d07deeb21d6854da0630044b60adff.tar.xz serverdata-202dfa8030d07deeb21d6854da0630044b60adff.zip |
Modifited Battlecaves.txt.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/025-4/Battlecaves.txt | 48 |
1 files changed, 47 insertions, 1 deletions
diff --git a/npc/025-4/Battlecaves.txt b/npc/025-4/Battlecaves.txt index df16b076..5631b5e6 100644 --- a/npc/025-4/Battlecaves.txt +++ b/npc/025-4/Battlecaves.txt @@ -1,9 +1,14 @@ // ----------------------------------------------- Cave 1 --------------------------------------------------------- 025-4.gat,41,91,0 script #StartCaveFight1 111,{ + if (Rossy_Quest < 15) goto L_Cheat; if (@battlecave1 == 1) goto L_StartFight; end; +L_Cheat: + message strcharinfo(0), "You shouldn't be here, you cheater."; + end; + L_StartFight: set @battlecave1, 0; set $@cave1start, gettimetick(2); @@ -77,8 +82,13 @@ OnTimer5000: 025-4.gat,110,90,0 script #StartCaveFight2 111,{ + if (Rossy_Quest < 15) goto L_Cheat; if (@battlecave2 == 1) goto L_StartFight; end; + +L_Cheat: + message strcharinfo(0), "You shouldn't be here, you cheater."; + end; L_StartFight: set @battlecave2, 0; @@ -151,8 +161,13 @@ OnTimer5000: // ----------------------------------------------- Cave 3 --------------------------------------------------------- 025-4.gat,168,111,0 script #StartCaveFight3 111,{ + if (Rossy_Quest < 15) goto L_Cheat; if (@battlecave3 == 1) goto L_StartFight; end; + +L_Cheat: + message strcharinfo(0), "You shouldn't be here, you cheater."; + end; L_StartFight: set @battlecave3, 0; @@ -224,8 +239,13 @@ OnTimer5000: } // ----------------------------------------------- Cave 4 --------------------------------------------------------- 025-4.gat,32,150,0 script #StartCaveFight4 111,{ + if (Rossy_Quest < 15) goto L_Cheat; if (@battlecave4 == 1) goto L_StartFight; end; + +L_Cheat: + message strcharinfo(0), "You shouldn't be here, you cheater."; + end; L_StartFight: set @battlecave4, 0; @@ -297,8 +317,13 @@ OnTimer5000: } // ----------------------------------------------- Cave 5 --------------------------------------------------------- 025-4.gat,100,154,0 script #StartCaveFight5 111,{ + if (Rossy_Quest < 15) goto L_Cheat; if (@battlecave5 == 1) goto L_StartFight; end; + +L_Cheat: + message strcharinfo(0), "You shouldn't be here, you cheater."; + end; L_StartFight: set @battlecave5, 0; @@ -370,8 +395,13 @@ OnTimer5000: } // ----------------------------------------------- Cave 6 --------------------------------------------------------- 025-4.gat,159,168,0 script #StartCaveFight6 111,{ + if (Rossy_Quest < 15) goto L_Cheat; if (@battlecave6 == 1) goto L_StartFight; end; + +L_Cheat: + message strcharinfo(0), "You shouldn't be here, you cheater."; + end; L_StartFight: set @battlecave6, 0; @@ -443,9 +473,14 @@ OnTimer5000: } // ----------------------------------------------- Cave 7 --------------------------------------------------------- 025-4.gat,39,215,0 script #StartCaveFight7 111,{ + if (Rossy_Quest < 15) goto L_Cheat; if (@battlecave7 == 1) goto L_StartFight; end; +L_Cheat: + message strcharinfo(0), "You shouldn't be here, you cheater."; + end; + L_StartFight: set @battlecave7, 0; set $@cave7start, gettimetick(2); @@ -516,8 +551,13 @@ OnTimer5000: } // ----------------------------------------------- Cave 8 --------------------------------------------------------- 025-4.gat,105,210,0 script #StartCaveFight8 111,{ + if (Rossy_Quest < 15) goto L_Cheat; if (@battlecave8 == 1) goto L_StartFight; end; + +L_Cheat: + message strcharinfo(0), "You shouldn't be here, you cheater."; + end; L_StartFight: set @battlecave8, 0; @@ -589,8 +629,13 @@ OnTimer5000: } // ----------------------------------------------- Cave 9 --------------------------------------------------------- 025-4.gat,157,220,0 script #StartCaveFight9 111,{ + if (Rossy_Quest < 15) goto L_Cheat; if (@battlecave9 == 1) goto L_StartFight; end; + +L_Cheat: + message strcharinfo(0), "You shouldn't be here, you cheater."; + end; L_StartFight: set @battlecave9, 0; @@ -663,7 +708,8 @@ OnTimer5000: // ----------------------------------------------- Boss Cave --------------------------------------------------------- 025-4.gat,157,42,0 script #StartBossCaveFight 111,{ - if (@battlebosscave == 1) goto L_StartFight; + if (@battlebosscave == 1 && cavefights & BATTLE_CAVE1 && cavefights & BATTLE_CAVE2 && cavefights & BATTLE_CAVE3 && cavefights & BATTLE_CAVE4 && cavefights & BATTLE_CAVE5 && cavefights & BATTLE_CAVE6 && cavefights & BATTLE_CAVE7 && cavefights & BATTLE_CAVE8 && cavefights & BATTLE_CAVE9 && Rossy_Quest == 15) goto L_StartFight; + message strcharinfo(0), "You shouldn't be here, you cheater."; end; L_StartFight: |