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

10 lines
559 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param itemID number
---@param itemName string
---@param itemLink string
---@return 1nil hasRange
---Returns whether an item has a range limitation for its use. For example, Mistletoe can only be used on another character within a given range of the player, but a Hearthstone has no target and thus no range restriction. Returns nil for items which have a range restriction but are area-targeted and not unit-targeted (e.g. grenades).
function ItemHasRange(itemID, itemName, itemLink) end