Navigation menu

WoW:API GetLootThreshold: Difference between revisions

Jump to navigation Jump to search
m
Move page script moved page API GetLootThreshold to WoW:API GetLootThreshold without leaving a redirect
(upgraded deprecated template)
m (Move page script moved page API GetLootThreshold to WoW:API GetLootThreshold without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
Returns the currently active loot threshold as a number.<br>
Returns the currently active loot threshold as a number.
<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"))
  threshold = GetLootThreshold()


The example above will show a message box of the current loot threshold.<br>
==Returns==
;threshold : Integer - The minimum [[API TYPE Quality|quality]] of item which will be rolled for or assigned by the master looter. The value is 0 to 7, which represents Poor to Heirloom.
Anonymous user