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

10 lines
525 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param index number
---@param bookType spell
---@param pet
---@param spell
---@param name string
---@return 1nil hasRange
---Returns whether an item has a range limitation for its use. For example: Shadowbolt can only be used on a unit within a given range of the player; Ritual of Summoning requires a target but has no range restriction; Fel Armor has no target and thus no range restriction.
function SpellHasRange(index, bookType, pet, spell, name) end