Files
wow_Meta/api/SpellCanTargetUnit.lua
2025-05-04 14:35:26 +02:00

8 lines
416 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param unit string
---@param name string
---@return 1nil canTarget
---Returns whether the spell currently awaiting a target can target a given unit. Only applies when the player has attempted to cast a spell but the spell requires a target before it can begin casting (i.e. the glowing hand cursor is showing).
function SpellCanTargetUnit(unit, name) end