Lore archive · Warcraft Wiki, 2023 dump
API GetInventoryItemBroken
Last wiki revision 2023-08-13
Returns true if an inventory item has zero durability. isBroken = GetInventoryItemBroken(unit, invSlotId)
- unit: : UnitId - The unit whose inventory is to be queried.
- invSlotId: : InventorySlotId - to be queried, obtained via GetInventorySlotInfo.
- isBroken:Flag - Returns nil if the specified item is not broken, or 1 if it is.
Source
https://warcraft.wiki.gg/wiki/API_GetInventoryItemBroken · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.