Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Vérifier si deux cellules sont sur la même diagonale.
fightAction:cellsInDiagonal(cell1, cell2)
cell1
int
cell2
boolean
true
false
-- Xelor : Sablier nécessite un alignement en diagonale local myCell = fightCharacter:getCellId() local enemyCell = fightAction:getNearestEnemy() if fightAction:cellsInDiagonal(myCell, enemyCell) then fightAction:castSpellOnCell(7359, enemyCell) elseif fightAction:cellsAligned(myCell, enemyCell) then fightAction:castSpellOnCell(7359, enemyCell) end