Ecaflip Demande correction IA écaflip feu (bas niveau)

    Publicités

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

M

monboy011

Nouveau membre
Sep 25, 2022
2
0
121
25
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
 
O

ownerRR

Level 2
Level 1
Feb 25, 2021
10
2
64
31
-- 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
 
M

mrneige0

Level 2
Level 1
Apr 4, 2023
12
1
64
29
Discord
Mr.Neige#3014
L'ecaflip n'invoque pas le chaton :/