Initial commit

This commit is contained in:
2024-12-16 13:13:08 +01:00
commit c8d4f32d5d
3093 changed files with 18304 additions and 0 deletions

8
api/ItemHasRange.lua Normal file
View File

@@ -0,0 +1,8 @@
---@diagnostic disable: missing-return, lowercase-global
---@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