Fandom

WoWWiki

API SetLootThreshold

105,021pages on
this wiki
Add New Page
Talk3 Share
WoW API < SetLootThreshold


Sets the loot quality threshold as a number for the party or raid.

SetLootThreshold(threshold)

Arguments Edit

threshold 
Number - The loot quality to start using the current loot method with.
  • 0 - Poor
  • 1 - Common
  • 2 - Uncommon
  • 3 - Rare
  • 4 - Epic
  • 5 - Legendary
  • 6 - Artifact


Example Edit

/script SetLootThreshold(2)

Result

If you are the party or raid leader, the script will set the loot threshold to Uncommon(green) items or better and report its new status.

Notes Edit

  • Setting loot threshold below Uncommon(green) will result in an error.
  • Calling this while the loot method is changing will revert to the original loot method. To account for this I simply set the loot threshold 1 second after calling API_SetLootMethod

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.