Wikia

WoWWiki

API GetContainerItemDurability

Talk0
98,585pages on
this wiki

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

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 | Your ad here

Photos

Add a Photo
62,230photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki