Mercurial > wow > wowdb-profiler
comparison Main.lua @ 221:9dca914cbd13
Added debug print for currency looting.
| author | James D. Callahan III <jcallahan@curse.com> |
|---|---|
| date | Mon, 28 Jan 2013 11:10:54 -0600 |
| parents | 62434c87d375 |
| children | c0e19e730b06 |
comparison
equal
deleted
inserted
replaced
| 220:62434c87d375 | 221:9dca914cbd13 |
|---|---|
| 1632 end | 1632 end |
| 1633 end | 1633 end |
| 1634 -- elseif slot_type == _G.LOOT_SLOT_MONEY then | 1634 -- elseif slot_type == _G.LOOT_SLOT_MONEY then |
| 1635 -- table.insert(current_action.loot_list, ("money:%d"):format(_toCopper(item_text))) | 1635 -- table.insert(current_action.loot_list, ("money:%d"):format(_toCopper(item_text))) |
| 1636 elseif slot_type == _G.LOOT_SLOT_CURRENCY then | 1636 elseif slot_type == _G.LOOT_SLOT_CURRENCY then |
| 1637 Debug(("Found currency: %s"):format(icon_texture)) | |
| 1637 table.insert(current_loot.list, ("currency:%d:%s"):format(quantity, icon_texture:match("[^\\]+$"):lower())) | 1638 table.insert(current_loot.list, ("currency:%d:%s"):format(quantity, icon_texture:match("[^\\]+$"):lower())) |
| 1638 end | 1639 end |
| 1639 end | 1640 end |
| 1640 | 1641 |
| 1641 for guid in pairs(guids_used) do | 1642 for guid in pairs(guids_used) do |
