Initial commit
This commit is contained in:
9
api/IsUsableItem.lua
Normal file
9
api/IsUsableItem.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
---@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
|
||||
Reference in New Issue
Block a user