WoW:API SetLootThreshold
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