Crâ Cherche IA Cra fleche magique only

    Publicités

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

yamelo

Nouveau membre
May 12, 2021
3
8
1
24
Pour farm les protecteur de ressource !
 
  • Like
Reactions: ormac03, XUlas1, mrsaw and 4 others

Talbink

Membre
Oct 21, 2018
9
0
61
27
Discord
|TALBINK.FR|#7266
Code:
-- IA

DofusClass="9"


function Main()
    MoveFuyard()
    SpellFleche_MagiqueEnnemi12()
    fighter:passTurn()
end

function MoveFuyard()
    fight:moveFarthestCell(fight:getNearestEnemy())
end

function SpellFleche_MagiqueEnnemi12()
    if (fight:getCurrentTour() == 1 or fight:getCurrentTour() % 1 == 0) then
        fight:launchSpellInCell(fight:getNearestEnemy(), "Fleche Magique")
        fight:launchSpellInCell(fight:getNearestEnemy(), "Fleche Magique")
    end
end

C/Cet dl en .lua sur un bloc note.
 

test0102

Membre
Oct 28, 2011
7
2
903
Hello , j'ai un soucis mon perso avance mais n'attaque pas il met bien la souris dessus mais pas de sort
 
  • Like
Reactions: douglas311

cassenoisette

Nouveau Marchand
May 5, 2019
33
24
209
29
Comme test0102 ne prenez pas cet IA.

Je vous propose celui-ci : FUYARD / Flèche magique / Recul ;)
 

Attachments

  • IA_Cra_Magique_Recul_Fuyard.lua
    1.3 KB · Views: 496
  • Like
Reactions: xMster and dvlsmind
Thread starter Similar threads Forum Replies Date
Ismanya Intelligence artificielle 0
Similar threads
Crâ IA Cra Air 60