WoW API: GetInventoryItemDurability
← WoW API < GetInventoryItemDurability
Returns current and maximum durability of an equipped item.
current, maximum = GetInventoryItemDurability(slot);
ArgumentsEdit
- slot
- Number - Inventory slot index to query durability of.
ReturnsEdit
- current
- Number - current durability value.
- maximum
- Number - maximum durability value.