WoWInterface SVN zz_MiscHelper

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 67 to Rev 68
    Reverse comparison

Rev 67 → Rev 68

trunk/zz_MiscHelper/Moduls/sellgrey.lua
57,12 → 57,14
id = addon:getItemId(link)
if(id) then
info = addon:itemInfo(id)
if(info['itemRarity'] == 0 or (getPref2('sellCards') and info['itemName'] == GetItemInfo(62559))) then
if(info['itemSellPrice'] and info['itemSellPrice'] > 0) then
local _, itemCount, _, _, _ = GetContainerItemInfo(a, b)
addon:Print(message['solditem'](link,info['itemSellPrice']))
earnedMoney = earnedMoney + info['itemSellPrice'] * itemCount
UseContainerItem(a, b)
if(info) then
if(info['itemRarity'] == 0 or (getPref2('sellCards') and info['itemName'] == GetItemInfo(62559))) then
if(info['itemSellPrice'] and info['itemSellPrice'] > 0) then
local _, itemCount, _, _, _ = GetContainerItemInfo(a, b)
addon:Print(message['solditem'](link,info['itemSellPrice']))
earnedMoney = earnedMoney + info['itemSellPrice'] * itemCount
UseContainerItem(a, b)
end
end
end
end