Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API SetLootThreshold
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi}} __NOTOC__ 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) <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]]
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)