WoW API: GetInventoryItemDurability

From AddOn Studio
Jump to navigation Jump to search

WoW API < GetInventoryItemDurability

Returns current and maximum durability of an equipped item.

current, maximum = GetInventoryItemDurability(slot);

Arguments[edit]

slot
Number - Inventory slot index to query durability of.

Returns[edit]

current
Number - current durability value.
maximum
Number - maximum durability value.

See also[edit]