Wikia

WoWWiki

API GetInventoryItemDurability

Talk0
101,698pages on
this wiki
Revision as of 11:23, March 16, 2010 by Starlightblunder (Talk | contribs)

(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 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

Around Wikia's network

Random Wiki