WoW:API GetContainerItemDurability: Difference between revisions
Jump to navigation
Jump to search
(Created page with '{{wowapi}} Returns current and maximum durability of an equipped item. current, maximum = GetContainerItemDurability(bag, slot); == Arguments == ; bag : Number - [[BagID|Index …') |
m (Move page script moved page API GetContainerItemDurability to API GetContainerItemDurability without leaving a redirect) |
(No difference)
|
Latest revision as of 04:45, 15 August 2023
← 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.