GetContainerItemDurability

From Warcraft Wiki
Jump to navigation Jump to search

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