Mercurial > wow > itemauditor
comparison Core.lua @ 103:1f410255ebd8 release 2010-08-20
Ticket 31 - Fixed an error in the 'You just made a profit of ...' message
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Fri, 20 Aug 2010 06:14:51 -0700 |
parents | 53147a647e28 |
children | eb0493400ff0 |
comparison
equal
deleted
inserted
replaced
102:89663c9dd772 | 103:1f410255ebd8 |
---|---|
475 end | 475 end |
476 | 476 |
477 if abs(value) > 0 then | 477 if abs(value) > 0 then |
478 if item.invested < 0 then | 478 if item.invested < 0 then |
479 if self.db.profile.messages.cost_updates then | 479 if self.db.profile.messages.cost_updates then |
480 self:Print(format("Updated price of %s from %s to %s. %sYou just made a profit of %s.", itemName, self:FormatMoney(item.invested - value), self:FormatMoney(0), GREEN, self:FormatMoney(abs(item.invested)))) | 480 self:Print(format("Updated price of %s from %s to %s. |cFF00FF00You just made a profit of %s.", itemName, self:FormatMoney(item.invested - value), self:FormatMoney(0), self:FormatMoney(abs(item.invested)))) |
481 end | 481 end |
482 self:RemoveItem(link) | 482 self:RemoveItem(link) |
483 -- This doesn't work when you mail the only copy of an item you have to another character. | 483 -- This doesn't work when you mail the only copy of an item you have to another character. |
484 --[[ | 484 --[[ |
485 elseif item.count == 0 and realLink and ItemAuditor:GetItemCount(self:GetIDFromLink(realLink)) then | 485 elseif item.count == 0 and realLink and ItemAuditor:GetItemCount(self:GetIDFromLink(realLink)) then |