From 461a75e7b1f6b2c6760771b2cd546f0b136782aa Mon Sep 17 00:00:00 2001 From: Darky Date: Wed, 15 Jun 2011 01:33:16 +0400 Subject: Added kill function if player cheats to Battlecaves.txt. --- npc/025-4/Battlecaves.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'npc/025-4/Battlecaves.txt') diff --git a/npc/025-4/Battlecaves.txt b/npc/025-4/Battlecaves.txt index 5314739a..bea51d21 100644 --- a/npc/025-4/Battlecaves.txt +++ b/npc/025-4/Battlecaves.txt @@ -7,6 +7,7 @@ L_Cheat: message strcharinfo(0), "You shouldn't be here, you cheater."; + heal -Hp,0; end; L_StartFight: @@ -99,6 +100,7 @@ L_Done: L_Cheat: message strcharinfo(0), "You shouldn't be here, you cheater."; + heal -Hp,0; end; L_StartFight: @@ -189,6 +191,7 @@ L_Done: L_Cheat: message strcharinfo(0), "You shouldn't be here, you cheater."; + heal -Hp,0; end; L_StartFight: @@ -279,6 +282,7 @@ L_Done: L_Cheat: message strcharinfo(0), "You shouldn't be here, you cheater."; + heal -Hp,0; end; L_StartFight: @@ -369,6 +373,7 @@ L_Done: L_Cheat: message strcharinfo(0), "You shouldn't be here, you cheater."; + heal -Hp,0; end; L_StartFight: @@ -459,6 +464,7 @@ L_Done: L_Cheat: message strcharinfo(0), "You shouldn't be here, you cheater."; + heal -Hp,0; end; L_StartFight: @@ -549,6 +555,7 @@ L_Done: L_Cheat: message strcharinfo(0), "You shouldn't be here, you cheater."; + heal -Hp,0; end; L_StartFight: @@ -639,6 +646,7 @@ L_Done: L_Cheat: message strcharinfo(0), "You shouldn't be here, you cheater."; + heal -Hp,0; end; L_StartFight: @@ -729,6 +737,7 @@ L_Done: L_Cheat: message strcharinfo(0), "You shouldn't be here, you cheater."; + heal -Hp,0; end; L_StartFight: @@ -816,6 +825,7 @@ L_Done: 025-4.gat,157,42,0 script #StartBossCaveFight 111,{ 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."; + heal -Hp,0; end; L_StartFight: -- cgit v1.2.3-60-g2f50