Цитата Сообщение от Twenty One Pilots Посмотреть сообщение
я не силен в деле написания кода, пока подожду автора , что он скажет.
потом буду траить другие варианты.
ну крч
http://wowprogramming.com/docs/api_types#itemQuality

0. Poor (gray): Broken I.W.I.N. Button
1. Common (white): Archmage Vargoth's Staff
2. Uncommon (green): X-52 Rocket Helmet
3. Rare / Superior (blue): Onyxia Scale Cloak
4. Epic (purple): Talisman of Ephemeral Power
5. Legendary (orange): Fragment of Val'anyr
6. Artifact (golden yellow): The Twin Blades of Azzinoth
7. Heirloom (light yellow): Bloodied Arcanite Reaper

- - - Updated - - -

Цитата Сообщение от Foximys Посмотреть сообщение
PHP код:
    local f CreateFrame("Frame"nilUIParent)
    
f:RegisterEvent("START_LOOT_ROLL")
    
f:SetScript("OnEvent", function(__id)
    if 
not id then return end -- What the fuck?
    
local ___qualitybop__canDE GetLootRollItemInfo(id)
    if 
quality == and not bop then RollOnLoot(idcanDE and or 2end
    end

or 2 = greed
по идее меняешь quality с 2 на значение которое тебе нужно