summaryrefslogblamecommitdiff
path: root/npc/006-0/warpcandorbattle.txt
blob: 2a81960e7e1327ca957d45fcf8f60641efb82e54 (plain) (tree)
1
2
3
4
5
6
7
              

               
               
 
 
                                                         










                                                                                     
                                                        
        

        
                                              
                             
                            
                                                                              
        
                                                                                    
        
 
// TMW2 Script
// Author:
//    Crazyfefe
//    Jesusalva


006-0,53,36,0	script	Sign#0060CF	NPC_SWORDS_SIGN,{
    //mesc l("To the brave heart; An endless maze.");
    mesc l("To the strong soul; Challenges to overthrow."); // challenges await thou?
    close;

OnInit:
    .sex = G_OTHER;
    .distance = 3;
    end;
}

// Effective warp
006-0,54,35,0	script	Magic Barrier	NPC_HIDDEN,0,0,{
    end;

OnTouch:
    if (BaseLevel >= 20 && !$@FEFE_CAVE_LEVEL)
        warp "006-1", 49, 53;
    else if (BaseLevel < 20)
        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;
}