Files
wow_Meta/api/SpellCanTargetUnit.lua
2025-05-04 15:15:00 +02:00

9 lines
425 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@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