summaryrefslogtreecommitdiff
path: root/npc/005-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/005-1')
-rw-r--r--npc/005-1/warpcandorbattle.txt12
1 files changed, 9 insertions, 3 deletions
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;
}