DEMANDE ENI EAU MOT ECLATANT

    Publicités

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)

sramedeouf

Nouveau membre
Jun 22, 2011
4
0
901
Bonsoir à tous!

Je cherche un ia pour éni eau avec mot éclatant. J'ai essayé de DL celui du forum mais mon perso n'attaque pas...

Avez-vous un autre ia à partager ? ça serait top!

Je vous souhaite une bonne soirée!

Gautier
Post automatically merged:

Voici le codage du fichier lua, limite si je peux juste avoir le mot éclatant ça me va totalement ...

-- IA

DofusClass="7"


function Main()
SpellMot_d_AmitieEmpty101()
SpellMot_StimulantAlly101()
MoveAggressive()
SpellMot_EclatantEnnemi12()
MoveAggressive()
fighter:passTurn()
end

function SpellMot_d_AmitieEmpty101()
if (fight:getCurrentTour() == 1 or fight:getCurrentTour() % 10 == 0) then
fight:launchSpellInCell(fight:getEmptyCell("Mot d'Amitie"), "Mot d'Amitie")
end
end

function SpellMot_StimulantAlly101()
if (fight:getCurrentTour() == 1 or fight:getCurrentTour() % 10 == 0) then
fight:launchSpellInCell(fight:getAllyCell("Mot Stimulant"), "Mot Stimulant")
end
end

function SpellMot_EclatantEnnemi12()
if (fight:getCurrentTour() == 1 or fight:getCurrentTour() % 1 == 0) then
fight:launchSpellInCell(fight:getNearestEnemy(), "Mot Eclatant")
fight:launchSpellInCell(fight:getNearestEnemy(), "Mot Eclatant")
end
end

function MoveAggressive()
if (not(fighter:isHandToHand())) then
fight:moveToWardCell(fight:getNearestEnemy())
end
end
 
Last edited:
Thread starter Similar threads Forum Replies Date
P Intelligence artificielle 0
Similar threads
Demande d'a