Aller au contenu

currentTurn

Le numéro du tour de combat.

Donne le tour du combat en cours, 1 au premier tour.

Combat uniquement. À appeler dans fightManagement ou fightPlacement ; ailleurs, l'appel provoque une erreur.

Signature

fight:currentTurn()

Retour

Un nombre entier ; 0 s'il est inconnu.

Exemple

if fight:currentTurn() == 1 then
    fight:cast(CRA.TIR_PUISSANT)
end