Mercurial > wow > itemauditor
comparison Modules/Events.lua @ 140:828cd9bf919e
Missed another link that should have been itemID
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Sat, 02 Oct 2010 21:23:18 -0700 |
parents | 526036e4358f |
children | 03e108d12ef1 |
comparison
equal
deleted
inserted
replaced
139:7e1496b25311 | 140:828cd9bf919e |
---|---|
312 self:Debug("loot") | 312 self:Debug("loot") |
313 elseif abs(diff.money) > 0 and self:tcount(diff.items) == 1 and not self.mailOpen then | 313 elseif abs(diff.money) > 0 and self:tcount(diff.items) == 1 and not self.mailOpen then |
314 self:Debug("purchase or sale") | 314 self:Debug("purchase or sale") |
315 | 315 |
316 for itemID, count in pairs(diff.items) do | 316 for itemID, count in pairs(diff.items) do |
317 self:SaveValue(link, 0 - diff.money, itemID) | 317 self:SaveValue(itemID, 0 - diff.money, itemID) |
318 end | 318 end |
319 elseif self:tcount(diff.items) > 1 and self:tcount(positive) > 0 and self:tcount(negative) > 0 then | 319 elseif self:tcount(diff.items) > 1 and self:tcount(positive) > 0 and self:tcount(negative) > 0 then |
320 -- we must have created/converted something | 320 -- we must have created/converted something |
321 self:Debug("conversion") | 321 self:Debug("conversion") |
322 | 322 |