Mercurial > wow > itemauditor
comparison Modules/QuickAuctions.lua @ 23:819bfdc5d73c
More debug messages and added the ability to scroll the debug window.
| author | Asa Ayers <Asa.Ayers@Gmail.com> |
|---|---|
| date | Thu, 08 Jul 2010 23:55:05 -0700 |
| parents | d7f02c84994c |
| children | 554b30908b33 |
comparison
equal
deleted
inserted
replaced
| 22:66b7c3f5937e | 23:819bfdc5d73c |
|---|---|
| 167 Index = i, | 167 Index = i, |
| 168 toQueue = toQueue, | 168 toQueue = toQueue, |
| 169 profit = (currentPrice - newCost) * toQueue | 169 profit = (currentPrice - newCost) * toQueue |
| 170 } | 170 } |
| 171 profitableIndex = profitableIndex + 1 | 171 profitableIndex = profitableIndex + 1 |
| 172 elseif ItemAuditor.db.profile.messages.queue_skip then | 172 else |
| 173 self:Print(format("Skipping %s x%s. Profit: %s ", itemLink, toQueue, addon:FormatMoney(currentPrice - newCost))) | 173 local skipMessage = format("Skipping %s x%s. Profit: %s ", itemLink, toQueue, addon:FormatMoney(currentPrice - newCost)) |
| 174 if ItemAuditor.db.profile.messages.queue_skip then | |
| 175 self:Print(skipMessage) | |
| 176 else | |
| 177 self:Debug(format("Skipping %s x%s. Profit: %s ", itemLink, toQueue, addon:FormatMoney(currentPrice - newCost))) | |
| 178 end | |
| 174 end | 179 end |
| 175 end | 180 end |
| 176 end | 181 end |
| 177 end | 182 end |
| 178 local numAdded = 0 | 183 local numAdded = 0 |
