WoW API: GetInventoryAlertStatus
Jump to navigation
Jump to search
← WoW API < GetInventoryAlertStatus
Returns one of several codes describing the "status" of an equipped item. The main use for this function is generalized durability checks.
alertStatus = GetInventoryAlertStatus("index");
Parameters
Arguments
- index is one of the following:
- Head
- Shoulders
- Chest
- Waist
- Legs
- Feet
- Wrists
- Hands
- Weapon
- Shield
- Ranged
Returns
- alertStatus: One of the following:
- 0 - Normal, 6 or more durability left
- 1 - Durability is low, 5 to 1 durability left
- 2 - Broken, 0 durability left
Details
- Used primarily for DurabilityFrame, ie the armor man placed under the Minimap when your equipment is damaged or broken.