Problem jest w tym:
if (Npc_HasItems (other, ItMw_1H_Mace_L_01) >=1)
&& (Npc_KnowsInfo (other, DIA_Skip_HELLO2))
{
B_GiveInvItems (other, self, ItMw_1H_Mace_L_01, 1);
AI_Output (self, other ,"DIA_Skip_HELLO2_03_04"); //o ty chuju przegram
AI_StopProcessInfos (self);
}
else if (Npc_HasItems (other, ItMw_1h_Vlk_Dagger) >=1)
&& (Npc_KnowsInfo (other, DIA_Skip_HELLO2))
{
B_GiveInvItems (other, self, ItMw_1h_Vlk_Dagger1, 1);
AI_Output (self, other ,"DIA_Skip_HELLO2_03_04"); //zajebiscie, teraz wygram
AI_StopProcessInfos (self);
}
else if (Npc_HasItems (other, ItMw_1h_Vlk_Dagger) >=1)
&& (Npc_HasItems (other, ItMw_1H_Mace_L_01) >=1)
&& (Npc_KnowsInfo (other, DIA_Skip_HELLO2))
{
AI_Output (other, self ,"DIA_Skip_HELLO2_15_01"); //Mam miecz
AI_Output (self, other ,"DIA_Skip_HELLO2_03_02"); //dawaj miecz
Poprawione:
func void DIA_Skip_HELLO2_Info ()
{
if (Npc_HasItems (other, ItMw_1H_Mace_L_01) >=1) && (Npc_KnowsInfo (other, DIA_Skip_HELLO2))
{
B_GiveInvItems (other, self, ItMw_1H_Mace_L_01, 1);
AI_Output (self, other ,"DIA_Skip_HELLO2_03_04"); //o ty chuju przegram
AI_StopProcessInfos (self);
}
else if (Npc_HasItems (other, ItMw_1h_Vlk_Dagger) >=1) && (Npc_KnowsInfo (other, DIA_Skip_HELLO2))
{
B_GiveInvItems (other, self, ItMw_1h_Vlk_Dagger1, 1);
AI_Output (self, other ,"DIA_Skip_HELLO2_03_04"); //zajebiscie, teraz wygram
AI_StopProcessInfos (self);
}
else if (Npc_HasItems (other, ItMw_1h_Vlk_Dagger) >=1) && (Npc_HasItems (other, ItMw_1H_Mace_L_01) >=1) && (Npc_KnowsInfo (other, DIA_Skip_HELLO2))
{
AI_Output (other, self ,"DIA_Skip_HELLO2_15_01"); //Mam miecz
AI_Output (self, other ,"DIA_Skip_HELLO2_03_02"); //dawaj miecz
};
};