WoW:API GetLootThreshold

From AddOn Studio
Revision as of 00:11, 20 January 2006 by WoWWiki>Gello
Jump to navigation Jump to search

Returns the currently active loot threshold as a number.

0 - Poor
1 - Common
2 - Uncommon
3 - Rare
4 - Epic
5 - Legendary
6 - Artifact

You can get the localized text for the loot quality from ITEM_QUALITYx_DESC.

/script message(getglobal("ITEM_QUALITY"..GetLootThreshold().."_DESC"))

The example above will show a message box of the current loot threshold.
Template:WoW API