Files
wow_Meta/api/SpellCanTargetUnit.lua
2024-12-16 13:13:08 +01:00

7 lines
418 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