WoW:API SetLootThreshold: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
(Updated to match the current API boilerplate.)
Line 1: Line 1:
{{wowapi}}
{{wowapi}} __NOTOC__
Sets the loot quality threshold as a number for the party/raid loot method.<br>
 
<br>
 
;;arg1
Sets the loot quality threshold as a number for the party or raid.
: Integer - a value from 0 to 6 indicating loot threshold<br>
SetLootThreshold(threshold)
0 - Poor<br>
 
1 - Common<br>
== Arguments ==
2 - Uncommon<br>
:; threshold : Number - The loot quality to start using the current loot method with.
3 - Rare<br>
:;:* 0 - Poor
4 - Epic<br>
:;:* 1 - Common
5 - Legendary<br>
:;:* 2 - Uncommon
6 - Artifact<br>
:;:* 3 - Rare
<br>
:;:* 4 - Epic
:;:* 5 - Legendary
:;:* 6 - Artifact
 
 
== Example ==
  /script SetLootThreshold(2)
  /script SetLootThreshold(2)
If you're the party/raid leader, the example above will set the loot threshold to Uncommon(green) items or better and report its new status.<br>
 
<big>'''Result'''</big>
 
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.

Revision as of 14:44, 27 June 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.