Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 2.3.0 / 1.13.2

Returns the durability of an item in a container slot.

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

Advertisement