summaryrefslogblamecommitdiff
path: root/npc/003-0-1/colin.txt
blob: 8bac9f9604a877584f1db688ee9992756954375d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                 
                                   
                                                        
                                                                                            











                                                                                                                                                     




                                               
                                                       

                                                      

                                            




                  
// TMW2 script.
// Author:
//    Saulc
//    Jesusalva
// Description:
//    Luca and Colin assigns player a class. This may end up contradicting races,
//    so expect core changes!

003-0-1,58,29,0	script	Colin	NPC_PLAYER,{

    mesn;
    mesq l("I am the Wizard Mages master.");
    if (!MAGIC_LVL) goto L_NoMagic;
    if (getskilllv(MAGIC_WARRIOR) && !is_admin()) close;
    // will grant MG_FIREBALL probably, or MG_THUNDERSTORM, or we will figure something out.
    close;

L_NoMagic:
    next;
    mesn;
    mesq l("Your lack of magical power is critical. I dare say, you might never in your life get access to a Mana Stone.");
    next;
    mesn;
    mesq l("Besides the Magic Council, Andrei Sakar have his own Mana Stone, but I doubt he would train the likes of you, or share his Mana Stone.");
    next;
    mesn;
    mesq l("Perhaps, in the city, someone knows rumors about Mana Stones and can teach you. Other than that, you're on your own.");
    close;

OnInit:
    .@npcId = getnpcid(0, .name$);
    setunitdata(.@npcId, UDT_HEADTOP, NPCEyes);
    setunitdata(.@npcId, UDT_HEADMIDDLE, SorcererRobe);
    setunitdata(.@npcId, UDT_HEADBOTTOM, JeansShorts);
    setunitdata(.@npcId, UDT_WEAPON, DeepBlackBoots);
    setunitdata(.@npcId, UDT_HAIRSTYLE, 21);
    setunitdata(.@npcId, UDT_HAIRCOLOR, 20);

    .sex = G_MALE;
    .distance = 5;
    end;
}