• Partenaires

Ecaflip Ecaflip terre [pile ou face]

  • Initiateur de la discussion salmodes
  • Date de début
S

salmodes

Niveau 2 82 / 100 XP
MoonBot le meilleur bot pour Dofus Unity en 2026.
Bonjour, je n'arrive pas a faire fonctionner pile ou face .. quelqu'un aurait une idée ? Voici mon script :

function Main()
MoveAggressive()
SpellPileouFace()
fighter:passTurn()
end

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

function SpellPileouFace()
if (fight:getCurrentTour() == 1 or fight:getCurrentTour() % 1 == 0) then
fight:launchSpellInCell(fight:getNearestEnemy(), "Pile ou Face")
fight:launchSpellInCell(fight:getNearestEnemy(), "Pile o Face")
end
end
 
Oui je peut t'aider voilà la correction.
Enrichi (BBcode):
-- IA

DofusClass="6"


function Main()
    MoveAggressive()
    SpellPile_ou_FaceEnnemi12()
    fighter:passTurn()
end

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

function SpellPile_ou_FaceEnnemi12()
    if (fight:getCurrentTour() == 1 or fight:getCurrentTour() % 1 == 0) then
        fight:launchSpellInCell(fight:getNearestEnemy(), "Pile ou Face")
        fight:launchSpellInCell(fight:getNearestEnemy(), "Pile ou Face")
    end
end
 
  • Réagir
Réactions: gouss1495, Godcry et salmodes
Bonjour j'ai un problème mon personnage n'attaque pas , ya écrit impossible de trouver le sort bluff ,help sil vous plait :)
 

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

Retour
Haut