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