summaryrefslogblamecommitdiff
path: root/npc/003-1/magic.txt
blob: 4582bad6d6ec623db31058ca485f9eb4727373e3 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                  
      
                                                              


                                                                              
     

                         
                                                                                                          

        
// TMW2 scripts.
// Authors:
//    Jesusalva
// Description:
//    Controlled Warp to Magic School (+whatever magic stuff we need to add later)

003-1,34,33,0	script	#MagicSchoolGate1	NPC_HIDDEN,0,0,{
    end;
OnTouch:
    /*
    if (countitem(JesusalvaGrimorium) <= 0 || MAGIC_LVL < 2) {
        slide 36, 39;
        percentheal -5, -10;
        dispbottom l("Powerful magic repels you away from this magic place!");
    }
    */
    warp "003-0", 48, 51;
    //dispbottom col(l("CONDEMNED: This building has been condemned. The roof may fall. Be careful!"), 1);
    end;
}