7
« dnia: 2015-07-25, 15:41 »
Dobry skrypt ? INSTANCE DIA_NPC_Nauka2 (C_INFO)
{
npc = VLK_888_NPC;
nr = 5;
condition = DIA_NPC_Nauka2_Condition;
information = DIA_NPC_Nauka2_Info;
permanent = TRUE;
description = "Naucz mnie posługiwac się umiejętność.";
};
func int DIA_NPC_Nauka2_Condition ()
{
if (Npc_KnowsInfo(other, DIA_NPC_Nauka))
&& (PLAYER_TALENT_FIREMASTER == FALSE)
{
return TRUE;
};
};
FUNC VOID DIA_NPC_Nauka2_Info()
{
AI_Output (other, self ,"DIA_NPC_Nauka2_15_01"); //Naucz mnie posługiwac się umiejętność.
{
if (Npc_GetTalentSkill(hero, NPC_TALENT_FIREMASTER) == 15)
AI_Output (self, other ,"DIA_NPC_Nauka2_03_02"); //Słuchaj uważnie.
};
};