Ecaflip Demande correction IA écaflip feu (bas niveau)

    Publicités

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

monboy011

Nouveau membre
Sep 25, 2022
2
0
1
24
Discord
MoMo#1315
Est-ce que quelqu'un pourrait voir quels sont les problèmes sur cet IA. Mon personnage n'invoque pas le chaton et ne trouve pas le sort Topkaj.

Merci d'avance.


-- IA

DofusClass="6"


function Main()
SpellGriffe_InvocatriceEmpty11()
MoveAggressive()
SpellTopkajEnnemi12()
fighter:passTurn()
end

function SpellGriffe_InvocatriceEmpty11()
if (fight:getCurrentTour() == 1 or fight:getCurrentTour() % 1 == 0) then
fight:launchSpellInCell(fight:getEmptyCell("Griffe Invocatrice"), "Griffe Invocatrice")
end
end

function MoveAggressive()
if (not(fighter:isHandToHand())) then
fight:moveToWardCell(fight:getNearestEnemy())
end
end

function SpellTopkajEnnemi12()
if (fight:getCurrentTour() == 1 or fight:getCurrentTour() % 1 == 0) then
fight:launchSpellInCell(fight:getNearestEnemy(), "Topkaj")
fight:launchSpellInCell(fight:getNearestEnemy(), "Topkaj")
end
end
 

ownerRR

Membre
Feb 25, 2021
10
2
64
30
-- IA

--By ! ╲⎝⧹Ownerr! ╲⎝⧹#0923 --

DofusClass="6"


function Main()
SpellTopkajEnnemi11()
SpellTopkajEnnemi11()
SpellGriffe_InvocatriceEmpty11()
MoveAggressive()
fighter:passTurn()
end

function SpellTopkajEnnemi11()
if (fight:getCurrentTour() == 1 or fight:getCurrentTour() % 1 == 0) then
fight:launchSpellInCell(fight:getNearestEnemy(), "Topkaj")
fight:launchSpellInCell(fight:getNearestEnemy(), "Topkaj")
end
end

function SpellGriffe_InvocatriceEmpty11()
if (fight:getCurrentTour() == 1 or fight:getCurrentTour() % 1 == 0) then
fight:launchSpellInCell(fight:getEmptyCell("Griffe Invocatrice"), "Griffe Invocatrice")
end
end

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