Alert Fixes (2.1.1)
This commit is contained in:
@@ -35,11 +35,16 @@ LOOT_OPENED_Frame:SetScript("OnEvent",
|
||||
if (itemId ~= nil) then
|
||||
value = MX.TSM:GetItemValue(itemId, "DBMinBuyout");
|
||||
end
|
||||
|
||||
MX:SendAlert(iLink,lootQuantity,value,by)
|
||||
by = by - 85
|
||||
if (value ~= nil and value >= Farmer_Logic_MinAlert) then
|
||||
if (quality ~= nil and quality >= 1) then
|
||||
if (class == L["Alert_Class_Armor"] or class == L["Alert_Class_Weapon"] or class == L["Alert_Class_TradeGoods"] or class == L["Alert_Class_Consumable"] or class == L["Alert_Class_Misc"] or class == "Recipe") then
|
||||
MX:SendAlert(iLink,lootQuantity,value,by)
|
||||
by = by - 85
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
if (value ~= nil) then
|
||||
if (value ~= nil and quality ~= nil and quality >= 1) then
|
||||
Farmer_Money_LootSession = Farmer_Money_LootSession + value;
|
||||
MX:MainUIUpdate()
|
||||
value = nil
|
||||
|
||||
Reference in New Issue
Block a user