WoW API: GetInventoryItemDurability

Revision as of 11:23, 16 March 2010 by WoWWiki>Starlightblunder (Created page with '{{wowapi}} Returns current and maximum durability of an equipped item. current, maximum = GetInventoryItemDurability(slot); == Arguments == ; slot : Number - [[InventorySlotId|…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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