WoW:API SetLootThreshold: Difference between revisions

m
Move page script moved page API SetLootThreshold to WoW:API SetLootThreshold without leaving a redirect
(upgraded deprecated template)
m (Move page script moved page API SetLootThreshold to WoW:API SetLootThreshold without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
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.
 
== Notes ==
* 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]]
Anonymous user