![]() |
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns true if the spell awaiting target selection can be cast on the unit.
canTarget = SpellCanTargetUnit(unitId)
Arguments
- unitId
- string (UnitId) - The unit to check.
Returns
- canTarget
- boolean - Whether the spell can target the given unit.
Details
- This will check for range, but not for LOS.
