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

           



                                                                                   
 
                                            

 












                                                                                                                                            

       
                                  
                                               






                                                      
 
                  
                  

        
// TMW2 script.
// Author:
//    Saulc
//    Jesusalva
// Description:
//    Jakod replaces Luca. As there are no focus skills, Jakod teaches player about
//    magic and is their tutor on the matters of the Mana Stone.

003-1,109,129,0	script	Jakod	NPC_PLAYER,{


    mesn;
    if (BaseLevel < 40) mesq l("Hello there. I am looking for strong people, but you are not strong enough.");
    if (BaseLevel < 40) close;
    if (getskilllv(SM_BASH) >= 1) mesq l("Are you using my skill?");
    if (getskilllv(SM_BASH) >= 1) close;
    if (!is_staff()) mesq l("Hey, you're strong! Congratulations!");
    if (!is_staff()) close;
    mesq l("Hey, you are strong! But still, so, so GREEN! You're PATHETIC! I mean, look your skill list! Empty!");
    next;
    // The last argument is duration: 0 - permanent 1- temporary. If omitted, defaults to 1.
    skill(SM_BASH,1,0);
    mesq l("Here, learn the ##BFalkon Punch##b. It is on Physical skills tab. You can drag it to the shortcut list. Thanks me later, man!");
    close;

OnInit:
    .@npcId = getnpcid(0, .name$);
    setunitdata(.@npcId, UDT_HEADTOP, NPCEyes);
    setunitdata(.@npcId, UDT_HEADMIDDLE, ForestArmor);
    setunitdata(.@npcId, UDT_HEADBOTTOM, JeansShorts);
    setunitdata(.@npcId, UDT_WEAPON, DeepBlackBoots);
    setunitdata(.@npcId, UDT_HAIRSTYLE, 14);
    setunitdata(.@npcId, UDT_HAIRCOLOR, 13);
    //setunitdata(.@npcId, UDT_HAIRSTYLE, 24);
    //setunitdata(.@npcId, UDT_HAIRCOLOR, 2);

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