isAdjacentToAlly¶
Vérifie si la case touche un allié, invocations comprises. Sans case, utilise celle du personnage ; il ne compte pas comme son propre allié.
Combat uniquement. Disponible dans un script de combat.
Signature¶
fight:isAdjacentToAlly(case)
Retour¶
true si un allié touche la case ; false sinon.
Exemple¶
if not fight:isAdjacentToAlly() then
console:print("Personne à côté de moi")
end