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

11 lines
518 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