From c5e6890892c81b378a8000e05a549d3dd63be0b8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 4 Jun 2018 16:58:50 -0300 Subject: Entirely experimental, Candor Battle --- npc/005-1/warpcandorbattle.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'npc/005-1') diff --git a/npc/005-1/warpcandorbattle.txt b/npc/005-1/warpcandorbattle.txt index c79830276..964aff26c 100644 --- a/npc/005-1/warpcandorbattle.txt +++ b/npc/005-1/warpcandorbattle.txt @@ -1,11 +1,17 @@ +// TMW2 Script // Author: // Crazyfefe +// Jesusalva 005-1,59,52,0 script Magic Barrier NPC_HIDDEN,0,0,{ + end; OnTouch: - if(BaseLevel >= 40) - warp "005-1", 59, 66; + if (BaseLevel >= 40 && !$@FIGHT_CAVE_LEVEL) + warp "006-1", 49, 53; + else if (BaseLevel >= 40) + npctalk l("You don't have the required level to pass this barrier."); else - npctalk l("You don't have the required level to pass this door."); + npctalk l("You can't pass this barrier while people are fighting inside!"); + end; } -- cgit v1.2.3-60-g2f50