Wikia

WoWWiki

API GetContainerItemDurability

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

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < GetContainerItemDurability

Returns current and maximum durability of an equipped item.

current, maximum = GetContainerItemDurability(bag, slot);

Arguments

bag 
Number - Index of the bag slot the bag storing the item is in.
slot 
Number - Index of the bag slot containing the item to query durability of.

Returns

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

See also

Around Wikia's network

Random Wiki