Proszę :
instance EBR_241_Tobiasz (Npc_Default)
{
//-------- primary data --------
name = "Tobiasz";
Npctype = Npctype_Main;
guild = GIL_EBR;
level = 28;
voice = 13;
id = 241;
flags = 0;
//-------- abilities --------
attribute[ATR_STRENGTH] = 60;
attribute[ATR_DEXTERITY] = 40;
attribute[ATR_MANA_MAX] = 50;
attribute[ATR_MANA] = 50;
attribute[ATR_HITPOINTS_MAX] = 388;
attribute[ATR_HITPOINTS] = 388;
//-------- visuals --------
// animations
Mdl_SetVisual (self,"HUMANS.MDS");
Mdl_ApplyOverlayMds (self,"Humans_Mage.mds");
// body mesh ,bdytex,skin,head mesh ,headtex,teethtex,ruestung
Mdl_SetVisualBody (self,"hum_body_Naked0", 1,1 ,"Hum_Head_Psionic", 24, 2, GUR_ARMOR_M);
B_Scale (self);
Mdl_SetModelFatness(self,-1);
//-------- Talente --------
Npc_SetTalentSkill ( self, NPC_TALENT_MAGE, 6);
//-------- inventory --------
CreateInvItem(self, ItArRuneWindfist);
fight_tactic = FAI_HUMAN_MAGE;
//-------------Daily Routine-------------
daily_routine = RTN_START_241;
};
FUNC VOID RTN_START_241 ()
{
TA_Sleep (23,00,07,45,"PSI_28_HUT_IN");
TA_Stay (07,45,23,00,"MYHEROEES");
};