AddOn Studio Wiki
Advertisement

WoW API < GetInventoryItemDurability

Returns current and maximum durability of an equipped item.

current, maximum = GetInventoryItemDurability(slot);

Arguments[]

slot 
Number - Inventory slot index to query durability of.

Returns[]

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

See also[]

Advertisement