diff options
author | Darky <dark_mage.87@mail.ru> | 2011-06-15 01:59:14 +0400 |
---|---|---|
committer | Darky <dark_mage.87@mail.ru> | 2011-06-15 01:59:14 +0400 |
commit | 489d2d2da475e27a327075bef7a9d0422e43e5cf (patch) | |
tree | 85f6ed21d42d96eb6a586cae35467545ddcd63fc | |
parent | 461a75e7b1f6b2c6760771b2cd546f0b136782aa (diff) | |
download | serverdata-489d2d2da475e27a327075bef7a9d0422e43e5cf.tar.gz serverdata-489d2d2da475e27a327075bef7a9d0422e43e5cf.tar.bz2 serverdata-489d2d2da475e27a327075bef7a9d0422e43e5cf.tar.xz serverdata-489d2d2da475e27a327075bef7a9d0422e43e5cf.zip |
Modifited Battlecaves.txt.
-rw-r--r-- | npc/025-4/Battlecaves.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/npc/025-4/Battlecaves.txt b/npc/025-4/Battlecaves.txt index bea51d21..af22aa61 100644 --- a/npc/025-4/Battlecaves.txt +++ b/npc/025-4/Battlecaves.txt @@ -823,12 +823,19 @@ L_Done: // ----------------------------------------------- Boss Cave --------------------------------------------------------- 025-4.gat,157,42,0 script #StartBossCaveFight 111,{ + if (Rossy_Quest == 16) goto L_Found; 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_Found: + message strcharinfo(0), "You found a golden key."; + set Killed_Boss, 1; + end; + L_StartFight: + message strcharinfo(0), "The chest is locked. As you try to open it, monsters come from each corners of the cave."; set @battlebosscave, 0; set $@cave10start, gettimetick(2); set $@cave10fighter$, strcharinfo(0); @@ -893,7 +900,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; + message strcharinfo(0), "You find a gold key on the corpse on which you currently stand. That might open the chest."; end; onInit: |