Compare with Previous | Blame | View Log
-- ___ ___ ___ ___ ___ -- / /\ / /\ / /\ / /\ /__/\ ___ -- / /:/_ / /::\ / /::\ / /::\ \ \:\ / /\ -- / /:/ /\ / /:/\:\ / /:/\:\ / /:/\:\ \ \:\ / /:/ -- / /:/ /::\ / /:/ \:\ / /:/ \:\ / /:/~/:___ \ \:\/__/::\ -- /__/:/ /:/\:/__/:/ \__\:/__/:/ \__\:/__/:/ /:/__/\ \__\:\__\/\:\__ -- \ \:\/:/~/:\ \:\ / /:\ \:\ / /:\ \:\/:/\ \:\ / /:/ \ \:\/\ -- \ \::/ /:/ \ \:\ /:/ \ \:\ /:/ \ \::/ \ \:\ /:/ \__\::/ -- \__\/ /:/ \ \:\/:/ \ \:\/:/ \ \:\ \ \:\/:/ /__/:/ -- /__/:/ \ \::/ \ \::/ \ \:\ \ \::/ \__\/ -- \__\/ \__\/ \__\/ \__\/ \__\/ -- v * e * r * s * i * o * n * 3 ---------------------------------------------------------------------------- -- Auto greed on green items(by Tekkub) ---------------------------------------------------------------------------- if Soop["automation"].AutoGreed ~= true then return end local agog = CreateFrame("Frame", nil, UIParent) agog:RegisterEvent("START_LOOT_ROLL") agog:SetScript("OnEvent", function(_, _, id) if not id then return end local _, _, _, quality, bop, _, _, canDE = GetLootRollItemInfo(id) if quality == 2 and not bop then RollOnLoot(id, canDE and 3 or 2) end end)