# HG changeset patch # User Asa Ayers # Date 1279777135 25200 # Node ID c6c98fc1be8e2033c4ec358c96231e9bbbe19cc1 # Parent 9c95158236d19d1650ff175c3f4c1c066aa22110 Fixed a bug where if you attached money and items to a piece of mail it would count all of the money as postage. diff -r 9c95158236d1 -r c6c98fc1be8e CHANGELOG.txt --- 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 + +- 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 - 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/ diff -r 9c95158236d1 -r c6c98fc1be8e Modules/Events.lua --- 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