Bonjour, je cherche une IA hélio feu quelque chose de simple pour les monstres ressources, genre rayon wakfu x2, ou sinon si vous avez des astuces pour créer une IA, genre une base de code, merci ^^
Salut @ZamblAlpha pour te faire un IA Hélio Feu Rayon Wakfu x2 tien ! :)
-- IA
DofusClass="16"
function Main()
MoveAggressive()
SpellRayon_de_WakfuEnnemi12()
fighter:passTurn()
end
function MoveAggressive()
if (not(fighter:isHandToHand())) then
fight:moveToWardCell(fight:getNearestEnemy())
end
end
function SpellRayon_de_WakfuEnnemi12()
if (fight:getCurrentTour() == 1 or fight:getCurrentTour() % 1 == 0) then
fight:launchSpellInCell(fight:getNearestEnemy(), "Rayon de Wakfu")
fight:launchSpellInCell(fight:getNearestEnemy(), "Rayon de Wakfu")
end
end
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.