GetContainerItemDurability
Jump to navigation
Jump to search
C_Container.GetContainerItemDurability |
+ 10.0.2 / 1.15.0 | ||
GetContainerItemDurability |
+ 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.