summaryrefslogtreecommitdiff
path: root/npc/005-1/warpcandorbattle.txt
blob: fe3c5cc86e13a88bde7807d5b3b4c23e4f9f4605 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// TMW2 Script
// Author:
//    Crazyfefe
//    Jesusalva

005-1,66,62,0	script	Magic Barrier	NPC_HIDDEN,0,0,{
    end;

OnTouch:
    if (BaseLevel >= 30 && !$@FEFE_CAVE_LEVEL)
        warp "006-1", 49, 53;
    else if (BaseLevel < 30)
        npctalk3 l("You don't have the required level to pass this barrier.");
    else
        npctalk3 l("You can't pass this barrier while people are fighting inside!");
    end;
}