A
artholito
bonjour, je crée une ia zobal simple c'est à dire : agressif , met le masque du psychopathe et 2 furia, malheureusement la furia ne fonctionne pas, j'ai essayé de remplacer furia par un autre sort et çela fonctionne je ne comprend donc pas pourquoi furia ne fonctionne pas , j'ai essayé de remplacer par l'id trouvé (7780) mais le bot ne fait toujours pas de furia
ma fonction est pourtant basique
Merci pour votre aide
-- IA
DofusClass="14"
function Main()
MoveAggressive()
SpellMasque_du_PsychopatheMoi11()
SpellFuriaEnnemi12()
fighter:passTurn()
end
function MoveAggressive()
if (not(fighter:isHandToHand())) then
fight:moveToWardCell(fight:getNearestEnemy())
end
end
function SpellMasque_du_PsychopatheMoi11()
if (fight:getCurrentTour() == 1 or fight:getCurrentTour() % 1 == 0) then
fight:launchSpellInCell(fight:getPlayerCell(), "Masque du Psychopathe")
end
end
function SpellFuriaEnnemi12()
if (fight:getCurrentTour() == 1 or fight:getCurrentTour() % 1 == 0) then
fight:launchSpellInCell(fight:getNearestEnemy(), "Furia")
fight:launchSpellInCell(fight:getNearestEnemy(), "Furia")
end
end
ma fonction est pourtant basique
Merci pour votre aide
-- IA
DofusClass="14"
function Main()
MoveAggressive()
SpellMasque_du_PsychopatheMoi11()
SpellFuriaEnnemi12()
fighter:passTurn()
end
function MoveAggressive()
if (not(fighter:isHandToHand())) then
fight:moveToWardCell(fight:getNearestEnemy())
end
end
function SpellMasque_du_PsychopatheMoi11()
if (fight:getCurrentTour() == 1 or fight:getCurrentTour() % 1 == 0) then
fight:launchSpellInCell(fight:getPlayerCell(), "Masque du Psychopathe")
end
end
function SpellFuriaEnnemi12()
if (fight:getCurrentTour() == 1 or fight:getCurrentTour() % 1 == 0) then
fight:launchSpellInCell(fight:getNearestEnemy(), "Furia")
fight:launchSpellInCell(fight:getNearestEnemy(), "Furia")
end
end