Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 1.0.0 / 1.13.2

Returns the durability status of an equipped item.

alertStatus = GetInventoryAlertStatus(index)

Arguments

index 
string - one of the following:
  • Head
  • Shoulders
  • Chest
  • Waist
  • Legs
  • Feet
  • Wrists
  • Hands
  • Weapon
  • Shield
  • Ranged

Returns

alertStatus 
number - 0 for normal (6 or more durability points left), 1 for yellow (5 to 1 durability points left), 2 for broken (0 durability points left).

Notes

  • Used primarily for DurabilityFrame, ie the armor man placed under the Minimap when your equipment is damaged or broken.
Advertisement