Skrypt 2251 0

O temacie

Autor Arcaro

Zaczęty 26.05.2011 roku

Wyświetleń 2251

Odpowiedzi 0

Arcaro

Arcaro

Użytkownicy
posty45
Propsy2
Profesjabrak
  • Użytkownicy

Arcaro

Skrypt
2011-05-26, 15:14(Ostatnia zmiana: 2011-05-26, 15:32)
Witam
Czy mógł by mi ktoś napisać skrypt taki że
warunek musi być żeby  się było migiem i po 4 rozdziele by można się uczyć czarów u xardasa
coś tam napisałem


if (other.guild == GIL_KDF)



AI_Output (other, self, "DIA_Addon_Xardas_Hello_14_00"); //Zostań moim nauczycielem.
   
   
   Info_ClearChoices (DIA_Xardas_TEACH);
   Info_AddChoice      (DIA_Xardas_TEACH, DIALOG_BACK,DIA_Xardas_TEACH_BACK);   
   
   if (Npc_GetTalentSkill (other, NPC_TALENT_MAGE) >= 2)
   && (PLAYER_TALENT_RUNES [SPL_InstantFireball] == FALSE)
   {
      Info_AddChoice   (DIA_Xardas_TEACH, B_BuildLearnString (NAME_SPL_InstantFireball, B_GetLearnCostTalent (other, NPC_TALENT_RUNES, SPL_InstantFireball)) ,DIA_Xardas_TEACH_InstantFireball);
      abletolearn = (abletolearn +1);
   };
   if (Npc_GetTalentSkill (other, NPC_TALENT_MAGE) >= 3)
   && (PLAYER_TALENT_RUNES [SPL_Firestorm] == FALSE)
   {
      Info_AddChoice   (DIA_Xardas_TEACH, B_BuildLearnString (NAME_SPL_Firestorm, B_GetLearnCostTalent (other, NPC_TALENT_RUNES, SPL_Firestorm)) ,DIA_Xardas_TEACH_Firestorm);
      abletolearn = (abletolearn +1);
   };
   
   if (Npc_GetTalentSkill (other, NPC_TALENT_MAGE) >= 4)
   && (PLAYER_TALENT_RUNES [SPL_ChargeFireball] == FALSE)
   {
      Info_AddChoice   (DIA_Xardas_TEACH, B_BuildLearnString (NAME_SPL_ChargeFireball, B_GetLearnCostTalent (other, NPC_TALENT_RUNES, SPL_ChargeFireball)) ,DIA_Xardas_TEACH_ChargeFireball);
      abletolearn = (abletolearn +1);
   };
   
   
   if (Npc_GetTalentSkill (other, NPC_TALENT_MAGE) >= 5)
   && (PLAYER_TALENT_RUNES [SPL_Pyrokinesis] == FALSE)
   {
      Info_AddChoice   (DIA_Xardas_TEACH, B_BuildLearnString (NAME_SPL_Pyrokinesis, B_GetLearnCostTalent (other, NPC_TALENT_RUNES, SPL_Pyrokinesis)) ,DIA_Xardas_TEACH_Pyrokinesis);
      abletolearn = (abletolearn +1);
   };
   if (Npc_GetTalentSkill (other, NPC_TALENT_MAGE) >= 6)
   && (PLAYER_TALENT_RUNES [SPL_Firerain] == FALSE)
   {
      Info_AddChoice   (DIA_Xardas_TEACH, B_BuildLearnString (NAME_SPL_Firerain, B_GetLearnCostTalent (other, NPC_TALENT_RUNES, SPL_Firerain)) ,DIA_Xardas_TEACH_Firerain);
      abletolearn = (abletolearn +1);
   };
   if (abletolearn < 1)
   {
      B_Say (self, other, "$NOLEARNOVERPERSONALMAX");
      Info_ClearChoices (DIA_Xardas_TEACH);
   };


0 użytkowników i 1 Gość przegląda ten wątek.
0 użytkowników
Do góry