9 lines
466 B
Lua
9 lines
466 B
Lua
---@diagnostic disable: missing-return, lowercase-global
|
|
|
|
---@param itemID number
|
|
---@param itemName string
|
|
---@param itemLink string
|
|
---@return 1nil isUsable
|
|
---@return 1nil notEnoughMana
|
|
---Returns whether an item can currently be used. Does not account for item cooldowns (see GetItemCooldown() -- returns 1 if other conditions allow for using the item (e.g. if the item can only be used while outdoors).
|
|
function IsUsableItem(itemID, itemName, itemLink) end |