summaryrefslogtreecommitdiff
path: root/npc/005-1/warpcandorbattle.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-04 16:58:50 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-04 16:58:50 -0300
commitc5e6890892c81b378a8000e05a549d3dd63be0b8 (patch)
tree1d128309a0dc301b6f88db670c59a89af0c1a389 /npc/005-1/warpcandorbattle.txt
parent6f066697c4ae4634bd3f2303b1671df736e223cb (diff)
downloadserverdata-c5e6890892c81b378a8000e05a549d3dd63be0b8.tar.gz
serverdata-c5e6890892c81b378a8000e05a549d3dd63be0b8.tar.bz2
serverdata-c5e6890892c81b378a8000e05a549d3dd63be0b8.tar.xz
serverdata-c5e6890892c81b378a8000e05a549d3dd63be0b8.zip
Entirely experimental, Candor Battle
Diffstat (limited to 'npc/005-1/warpcandorbattle.txt')
-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;
}