or 2 = greedPHP код:
local f = CreateFrame("Frame", nil, UIParent)
f:RegisterEvent("START_LOOT_ROLL")
f:SetScript("OnEvent", function(_, _, id)
if not id then return end -- What the fuck?
local _, _, _, quality, bop, _, _, canDE = GetLootRollItemInfo(id)
if quality == 2 and not bop then RollOnLoot(id, canDE and 3 or 2) end
end)