Kiedy dodałem kilka itemów (mikstury, serce golema i armor) zaczął się pojawiać błąd
Spoiler
instance Non_39000_Xirions (Npc_Default)
{
//-------- primary data --------
name = "Xirions";
npctype = npctype_Guard;
guild = GIL_NONE;
level = 33;
voice = 8;
id = 39000;
//-------- abilities --------
attribute[ATR_STRENGTH] = 45;
attribute[ATR_DEXTERITY] = 40;
attribute[ATR_MANA_MAX] = 300;
attribute[ATR_MANA] = 300;
attribute[ATR_HITPOINTS_MAX] = 376;
attribute[ATR_HITPOINTS] = 376;
//-------- visuals --------
// animations
Mdl_SetVisual (self,"HUMANS.MDS");
Mdl_ApplyOverlayMds (self,"Humans_Mage.mds");
// body mesh, head mesh, hairmesh, face-tex, hair-tex, skin
Mdl_SetVisualBody (self,"hum_body_Naked0", 0, 0,"Hum_Head_FatBald", 3, 3, ITAR_ARMOR_BATTLEMAGE);
B_Scale (self);
Mdl_SetModelFatness (self, 0);
fight_tactic = FAI_HUMAN_MAGE;
//-------- Talents --------
Npc_SetTalentSkill (self, NPC_TALENT_1H,2);
//-------- inventory --------
CreateInvItem (self, ItArScrollTrfWaran, 3);
CreateInvItem (self, ItAt_FireGolem_01);
CreateInvItem (self, ItFo_Potion_Strength_01, 2);
CreateInvItem (self, ItFo_Potion_Dex_01);
CreateInvItem (self, ItFo_Potion_Mana_01, 3);
CreateInvItem (self, ItFo_Potion_Elixier, 5);
CreateInvItem (self, ItArScrollFirestorm, 2);
CreateInvItem (self, ItArScrollBerzerk, 1);
CreateInvItems (self, ItMiNugget, 379);
//-------- Spells--------
CreateInvItem(self,ItArRuneFirebolt);
//-------------Daily Routine-------------
daily_routine = Rtn_start_39000;
};
FUNC VOID Rtn_start_39000 ()
{
TA_PotionAlchemy (08,00,22,00,"OWR44");
TA_ReadBook (22,00,08,00,"OWR45");
};
Spoiler
instance Non_93120_Asta (Npc_Default)
{
//-------- primary data --------
name = "Asta";
Npctype = Npctype_ROGUE;
guild = GIL_NONE;
level = 30;
voice = 7;
id = 93120;
//-------- abilities --------
attribute[ATR_STRENGTH] = 75;
attribute[ATR_DEXTERITY] = 30;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 384;
attribute[ATR_HITPOINTS] = 384;
//-------- visuals --------
// animations
Mdl_SetVisual (self,"HUMANS.MDS");
Mdl_ApplyOverlayMds (self,"Humans_Relaxed.mds");
// body mesh ,bdytex,skin,head mesh ,headtex,teethtex,ruestung
Mdl_SetVisualBody (self,"hum_Body_CookSmith", 1, 1,"Hum_Head_Pony", 13, 1, -1);
B_Scale (self);
Mdl_SetModelFatness (self, 0);
fight_tactic = FAI_HUMAN_STRONG;
//-------- Talente --------
Npc_SetTalentSkill (self, NPC_TALENT_BOW,1);
Npc_SetTalentSkill (self, NPC_TALENT_2H,1);
Npc_SetTalentSkill (self, NPC_TALENT_1H,1);
//-------- inventory --------
CreateInvItems (self, ItMw_1H_Sword_153);
CreateInvItems(self, ItMiNugget, 250);
CreateInvItems (self, ItMw_1H_Sword_152);
CreateInvItem (self, ItMw_1H_Sword_102);
CreateInvItem (self, ItMw_1H_Sword_107);
CreateInvItem (self, ItAmBolt, 50);
EquipItem (self, ItMw_1H_Sledgehammer_01);
CreateInvItems (self, ItMiSwordraw, 7);
CreateInvItem (self, ITAR_PAL_HELM);
CreateInvItem (self, ITAR_ARMOR_METL);
CreateInvItem (self, ItAmBolt, 50);
//-------------Daily Routine-------------
daily_routine = Rtn_start_93120;
};
FUNC VOID Rtn_start_93120 ()
{
TA_Smith_Fire (10,00,10,10,"OWR14");
TA_Smith_Anvil (10,10,10,20,"OWR14");
TA_Smith_Fire (10,20,10,30,"OWR14");
TA_Smith_Anvil (10,30,10,40,"OWR14");
TA_Smith_Cool (10,40,10,50,"OWR14");
TA_Smith_Sharp (10,50,10,55,"OWR14");
TA_SitAround (10,55,12,00,"OWR22");
TA_Smith_Fire (12,00,12,10,"OWR14");
TA_Smith_Anvil (12,10,12,20,"OWR14");
TA_Smith_Fire (12,20,12,30,"OWR14");
TA_Smith_Anvil (12,30,12,40,"OWR14");
TA_Smith_Cool (12,40,12,50,"OWR14");
TA_Smith_Sharp (12,50,12,55,"OWR14");
TA_SitAround (12,55,14,00,"OWR22");
TA_Smith_Fire (14,00,14,10,"OWR14");
TA_Smith_Anvil (14,10,14,20,"OWR14");
TA_Smith_Fire (14,20,14,30,"OWR14");
TA_Smith_Anvil (14,30,14,40,"OWR14");
TA_Smith_Cool (14,40,14,50,"OWR14");
TA_Smith_Sharp (14,50,14,55,"OWR14");
TA_SitAround (14,55,16,00,"OWR22");
TA_Smith_Fire (16,00,16,10,"OWR14");
TA_Smith_Anvil (16,10,16,20,"OWR14");
TA_Smith_Fire (16,20,16,30,"OWR14");
TA_Smith_Anvil (16,30,16,40,"OWR14");
TA_Smith_Cool (16,40,16,50,"OWR14");
TA_Smith_Sharp (16,50,16,55,"OWR14");
TA_SitAround (16,55,18,00,"OWR22");
TA_Smith_Fire (18,00,18,10,"OWR14");
TA_Smith_Anvil (18,10,18,20,"OWR14");
TA_Smith_Fire (18,20,18,30,"OWR14");
TA_Smith_Anvil (18,30,18,40,"OWR14");
TA_Smith_Cool (18,40,18,50,"OWR14");
TA_Smith_Sharp (18,50,18,55,"OWR14");
TA_SitAround (18,55,20,00,"OWR22");
TA_Smith_Fire (20,00,20,10,"OWR14");
TA_Smith_Anvil (20,10,20,20,"OWR14");
TA_Smith_Fire (20,20,20,30,"OWR14");
TA_Smith_Anvil (20,30,20,40,"OWR14");
TA_Smith_Cool (20,40,20,50,"OWR14");
TA_Smith_Sharp (20,50,20,55,"OWR14");
TA_SitAround (20,55,10,00,"OWR22");
};