Wikia

WoWWiki

Watchlist Recent changes

API GetInventoryAlertStatus

Main Menue



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");

Arguments Edit

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

Returns Edit

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).

NotesEdit

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

Pages on WoWWiki

95,750pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
58,025photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki