WoW:API GetInventoryAlertStatus: Difference between revisions
Jump to navigation
Jump to search
GetInventoryAlertStatus -Documentation by Moof-
No edit summary |
(upgraded deprecated template) |
||
Line 1: | Line 1: | ||
{{wowapi}} | |||
<center>'''GetInventoryAlertStatus''' ''-Documentation by [[user:Moof|Moof]]-''</center> | <center>'''GetInventoryAlertStatus''' ''-Documentation by [[user:Moof|Moof]]-''</center> | ||
Line 33: | Line 34: | ||
---- | ---- | ||
__NOTOC__ | __NOTOC__ | ||
Revision as of 18:10, 6 January 2007
← 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, ie not under any of the other conditions.
- 1 - Temporarily enchanted. Poisons, weapon sharpeners, etc.
- 2 - Unknown.
- 3 - Durability is low. (Don't know exact % --Moof) (item's durability = 5 ? --SonicXP)
- 4 - Broken.
Details
- Used primarily for DurabilityFrame, the little thingy that comes up on the right under the minimap when your equipment is damaged or broken.