Mercurial > wow > itemauditor
comparison Core.lua @ 21:d7f02c84994c
Changed QA to be an option part of /ia queue. If QA is there, IA will queue enough of an item to be created to have 1.25x QA auctino count x QA stack size (rounded up) items. If it is not there, it will create 1 on every profitable item. This commit also adds support for Auctioneer.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Tue, 06 Jul 2010 23:48:54 -0700 |
parents | ff9a698caebc |
children | 66b7c3f5937e |
comparison
equal
deleted
inserted
replaced
20:ff9a698caebc | 21:d7f02c84994c |
---|---|
214 return {count = 0, invested = 0} | 214 return {count = 0, invested = 0} |
215 elseif viewOnly == true then | 215 elseif viewOnly == true then |
216 return {count = self.items[link].count, invested = self.items[link].invested} | 216 return {count = self.items[link].count, invested = self.items[link].invested} |
217 end | 217 end |
218 self.items[link].count = Altoholic:GetItemCount(self:GetIDFromLink(link)) | 218 self.items[link].count = Altoholic:GetItemCount(self:GetIDFromLink(link)) |
219 self.items[link].invested = tonumber(self.items[link].invested) | |
219 return self.items[link] | 220 return self.items[link] |
220 end | 221 end |
221 | 222 |
222 function addon:RemoveItem(link) | 223 function addon:RemoveItem(link) |
223 self.db.factionrealm.item_account[link] = nil | 224 self.db.factionrealm.item_account[link] = nil |