Passer au contenu principal

Documentation Index

Fetch the complete documentation index at: https://docs.dotouch-emu.com/llms.txt

Use this file to discover all available pages before exploring further.

Vérifier si une cellule est inoccupée.

🎮 Méthode

fightAction:isFreeCell(cellId)

📝 Arguments

NomTypeDescription
cellIdintIdentifiant de la cellule à vérifier.

💎 Valeur de retour

TypeDescription
booleantrue si inoccupée, false si occupée.

💡 Exemple

if fightAction:isFreeCell(targetCell) then
    fightAction:moveToWardCell(targetCell)
end