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 une invocation peut lancer un sort sur une cellule cible.
fightSlave:canCastSpellOnCell(launchedCellId, spellId, targetCellId)
launchedCellId
int
spellId
targetCellId
0
1
16
local slaveCell = fightSlave:cellId() local enemyCell = fightSlave:getNearestEnemy() if fightSlave:canCastSpellOnCell(slaveCell, 183, enemyCell) == 0 then fightSlave:castSpellOnCell(183, enemyCell) end