Fandom

WoWWiki

API GetContainerItemDurability

104,753pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetContainerItemDurability

Returns current and maximum durability of an item in the character's bags.

current, maximum = GetContainerItemDurability(bag, slot);

Arguments Edit

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 Edit

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

See also Edit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.