Aller au contenu

isInFight

Vérifie si le personnage est en combat.

Signature

character:isInFight()

Retour

true si c’est le cas ; false sinon.

Exemple

if character:isInFight() then
    return
end
-- Actions hors combat ici