Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API GetLootThreshold

From WoW Classic Wiki

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