var int TempTalans;
func void TempTalante()
{
if(TempTalans == FALSE)
{
var C_NPC her;
her = Hlp_GetNpc(PC_Hero);
TempTalans = TRUE;
B_SetFightSkills1H(her,22);
B_SetFightSkills2H(her,22);
B_SetFightSkillsBow(her,30);
B_SetFightSkillsCrossBow(her,30);
};
};
instance PC_Hero(Npc_Default)
{
name[0] = "Ja";
guild = GIL_NONE;
id = 0;
voice = 15;
level = 0;
npcType = npctype_main;
bodyStateInterruptableOverride = TRUE;
exp = 0;
exp_next = 700;
lp = 0;
attribute[ATR_STRENGTH] = 25;
aivar[REAL_STRENGTH] = 25;
attribute[ATR_DEXTERITY] = 25;
aivar[REAL_DEXTERITY] = 25;
attribute[ATR_MANA_MAX] = 25;
aivar[REAL_MANA_MAX] = 25;
attribute[ATR_MANA] = 25;
attribute[ATR_HITPOINTS_MAX] = 120;
attribute[ATR_HITPOINTS] = 120;
Npc_SetTalentSkill(self,NPC_TALENT_MAGE,3);
Npc_SetTalentSkill(self,NPC_TALENT_SNEAK,1);
Npc_SetTalentSkill(self,NPC_TALENT_SMITH,1);
PLAYER_TALENT_TAKEANIMALTROPHY[TROPHY_Fur] = TRUE;
PLAYER_TALENT_TAKEANIMALTROPHY[TROPHY_Teeth] = TRUE;
PLAYER_TALENT_TAKEANIMALTROPHY[TROPHY_Claws] = TRUE;
PLAYER_TALENT_TAKEANIMALTROPHY[TROPHY_BFSting] = TRUE;
PLAYER_TALENT_TAKEANIMALTROPHY[TROPHY_BFWing] = TRUE;
PLAYER_TALENT_TAKEANIMALTROPHY[TROPHY_ReptileSkin] = TRUE;
PLAYER_TALENT_TAKEANIMALTROPHY[TROPHY_Mandibles] = TRUE;
Mdl_SetVisual(self,"HUMANS.MDS");
Mdl_SetVisualBody(self,"hum_body_Naked0",9,0,"Hum_Head_Pony",Face_N_Player,0,ITAR_Vlk_NEW1);
//B_SetFightSkills(self,10);
/*B_SetFightSkills1H(self,22);
B_SetFightSkills2H(self,22);
B_SetFightSkillsBow(self,30);
B_SetFightSkillsCrossBow(self,30);*/
TempTalante();
};
instance ITWr_testingTalent(C_Item)
{
name = "Test";
mainflag = ITEM_KAT_DOCS;
flags = ITEM_MISSION;
value = 0;
visual = "ItWr_Scroll_01.3DS";
material = MAT_LEATHER;
on_state[0] = Use_test;
scemeName = "MAP";
description = name;
};
func void Use_test()
{
var string concatText;
var string concatText2;
var string concatText3;
concatText = ConcatStrings("NPC_TALENT_1H = ",IntToString(self.HitChance[NPC_TALENT_1H]));
concatText2 = ConcatStrings("REAL_TALENT_1H = ",IntToString(self.aivar[REAL_TALENT_1H]));
concatText3 = ConcatStrings("REAL_STRENGTH = ",IntToString(self.aivar[REAL_STRENGTH]));
PrintScreen(concatText,-1,36,FONT_ScreenSmall,10);
PrintScreen(concatText2,-1,38,FONT_ScreenSmall,10);
PrintScreen(concatText3,-1,40,FONT_ScreenSmall,10);
};