Mercurial > wow > itemauditor
diff Modules/QuickAuctions.lua @ 86:8d5ad3b71f6f
Removed references to Skillet in core functionality. Skillet really should be optional.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Sat, 07 Aug 2010 11:16:21 -0700 |
parents | 88a42e00b866 |
children | 54b917340283 |
line wrap: on
line diff
--- a/Modules/QuickAuctions.lua Fri Aug 06 05:59:29 2010 -0700 +++ b/Modules/QuickAuctions.lua Sat Aug 07 11:16:21 2010 -0700 @@ -3,6 +3,8 @@ local Crafting = ItemAuditor:GetModule("Crafting") local Utils = ItemAuditor:GetModule("Utils") +local PT = LibStub("LibPeriodicTable-3.1") + --[[ This is simply for compatibility while I change the QA API. Once my changes get merged into the main project, this can go away. @@ -136,7 +138,7 @@ function ItemAuditor:GetReagentCost(link, total) local totalCost = 0 - if Skillet:VendorSellsReagent(link) then + if PT:ItemInSet(link,"Tradeskill.Mat.BySource.Vendor") then local _, _, _, _, _, _, _, _, _, _, itemVendorPrice = GetItemInfo (link); totalCost = itemVendorPrice * total total = 0