WoW:API SetLootThreshold: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
{{API/Uncategorized}}
Sets the loot quality threshold as a number for the party/raid loot method.<br>
<br>
;;arg1
: Integer - a value from 0 to 6 indicating loot threshold<br>
0 - Poor<br>
1 - Common<br>
2 - Uncommon<br>
3 - Rare<br>
4 - Epic<br>
5 - Legendary<br>
6 - Artifact<br>
<br>
/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>
{{Template:WoW API}}

Revision as of 00:17, 20 January 2006

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

arg1
Integer - a value from 0 to 6 indicating loot threshold

0 - Poor
1 - Common
2 - Uncommon
3 - Rare
4 - Epic
5 - Legendary
6 - Artifact

/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.
Template:WoW API