WoW:API GetLootThreshold: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
{{API/Uncategorized}}
Returns the currently active loot threshold as a number.<br>
<br>
0 - Poor<br>
1 - Common<br>
2 - Uncommon<br>
3 - Rare<br>
4 - Epic<br>
5 - Legendary<br>
6 - Artifact<br>
<br>
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.<br>
{{Template:WoW API}}

Revision as of 00:11, 20 January 2006

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