Mercurial > wow > itemauditor
changeset 53:c6c98fc1be8e release 2010-07-21
Fixed a bug where if you attached money and items to a piece of mail it would count all of the money as postage.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Wed, 21 Jul 2010 22:38:55 -0700 |
parents | 9c95158236d1 |
children | 52f691a2a3a4 |
files | CHANGELOG.txt Modules/Events.lua |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGELOG.txt Wed Jul 21 20:36:56 2010 -0700 +++ b/CHANGELOG.txt Wed Jul 21 22:38:55 2010 -0700 @@ -1,3 +1,7 @@ +2010-07-21 Asa Ayers <Asa.Ayers@Gmail.com> + +- Fixed a bug where if you attached money and items to a piece of mail it would count all of the money as postage. + 2010-07-21 Asa Ayers <Asa.Ayers@Gmail.com> - Fixed the way prices were being calculated as items were being created/destroyed/converted/crafted. see http://www.wowace.com/addons/itemauditor/tickets/7-create-options-for-how-to-distribute-value-when-creating/
--- a/Modules/Events.lua Wed Jul 21 20:36:56 2010 -0700 +++ b/Modules/Events.lua Wed Jul 21 22:38:55 2010 -0700 @@ -88,9 +88,8 @@ attachedItems[newLink].price = 0 -- This is a placeholder for below. end end - local pricePerStack = GetSendMailPrice() / totalStacks for link, data in pairs(attachedItems) do - data.price = pricePerStack * data.stacks + data.price = 30 * data.stacks end if self.mailOutbox.COD > 0 and skipCODTracking then