WoW:API GetLootThreshold: Difference between revisions

no edit summary
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}}
Anonymous user