Ecaflip Demande correction IA écaflip feu (bas niveau)

  • Initiateur de la discussion monboy011
  • Date de début
  • Partenaires

Utilisateurs qui regardent le poste (Total: 0, Members: 0, Invité: 0)

M

monboy011

Nouveau membre
25 Sept. 2022
2
0
121
26
Discord
MoMo#1315
Rejoignez Snow Bot avec Cheat-Gam3 et economisez 10% !
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
25 Fév. 2021
10
2
64
32
-- 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
4 Avr. 2023
12
1
64
30
Discord
Mr.Neige#3014
L'ecaflip n'invoque pas le chaton :/