Ecaflip Ecaflip terre [pile ou face]

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

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

S

salmodes

Level 1
5 Avr. 2020
7
1
203
56
Rejoignez MoonBot avec Cheat-Gam3, le bot pensé pour Dofus Retro !
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
 
vissounight

vissounight

Level 3
Level 2
Level 1
28 Sept. 2019
119
221
244
Discord
Vissou 6Night
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
T

tahiriheropwi

Nouveau membre
1 Juin 2020
1
0
1
35
s
 
Dernière édition:
T

Tweaze

Level 2
Level 1
16 Mars 2020
14
0
62
23
Discord
Tulor#0055
Nice mec cimer
 
D

Doomsday123

Level 1
21 Nov. 2021
6
1
3
30
Discord
Doomsday
Bonjour j'ai un problème mon personnage n'attaque pas , ya écrit impossible de trouver le sort bluff ,help sil vous plait :)