WoW:API SetLootThreshold: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Updated to match the current API boilerplate.)
m (erorr msg popup)
Line 22: Line 22:


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.
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 ==
* Setting loot threshold below Uncommon(green) or higher then Legendary(orange) will popup an error.

Revision as of 09:12, 26 July 2007

WoW API < SetLootThreshold


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

SetLootThreshold(threshold)

Arguments

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

/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

  • Setting loot threshold below Uncommon(green) or higher then Legendary(orange) will popup an error.