WoW:API GetInventoryItemDurability: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with '{{wowapi}} Returns current and maximum durability of an equipped item. current, maximum = GetInventoryItemDurability(slot); == Arguments == ; slot : Number - [[InventorySlotId|…')
 
m (Move page script moved page API GetInventoryItemDurability to API GetInventoryItemDurability without leaving a redirect)
 
(No difference)

Latest revision as of 04:46, 15 August 2023

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]