summaryrefslogtreecommitdiff
path: root/npc/003-1/luca.txt
blob: 0b3962d6cf36d6c3e01f17a20d0f6c0012f53e0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// TMW2 script.
// Author:
//    Saulc
//    Jesusalva
// Description:
//    Luca assings player a class. This may end up contradicting races, so expect core changes!

003-1,109,129,0	script	Luca	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 (!getgmlevel()) mesq l("Hey, you're strong! Congratulations!");
    if (!getgmlevel()) 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, 2936);
    setunitdata(.@npcId, UDT_HEADMIDDLE, 1308);
    setunitdata(.@npcId, UDT_HEADBOTTOM, 2212);
    setunitdata(.@npcId, UDT_WEAPON, 1802);
    setunitdata(.@npcId, UDT_HAIRSTYLE, 14);
    setunitdata(.@npcId, UDT_HAIRCOLOR, 13);

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