// 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;
}