WoW:API GetLootThreshold: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(upgraded deprecated template) |
||
Line 1: | Line 1: | ||
{{wowapi}} | |||
Returns the currently active loot threshold as a number.<br> | Returns the currently active loot threshold as a number.<br> | ||
<br> | <br> | ||
Line 14: | Line 15: | ||
The example above will show a message box of the current loot threshold.<br> | The example above will show a message box of the current loot threshold.<br> | ||
Revision as of 18:14, 6 January 2007
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.