Mercurial > wow > itemauditor
comparison Modules/Tooltip.lua @ 115:79dc87430cb3
Updated the ArkInventory rule and tooltip to work in QA is compatible instead of if its enabled in ItemAuditor.
| author | Asa Ayers <Asa.Ayers@Gmail.com> |
|---|---|
| date | Thu, 02 Sep 2010 07:03:38 -0700 |
| parents | 574c154d24ab |
| children | 451d8a19edea |
comparison
equal
deleted
inserted
replaced
| 114:3b89982a5d0d | 115:79dc87430cb3 |
|---|---|
| 31 tip:AddDoubleLine("\124cffffffffIA: Minimum " .. ItemAuditor:GetAHFaction() .. " AH Price: ", ItemAuditor:FormatMoney(ceil(investedPerItem/keep), suggestColor)) | 31 tip:AddDoubleLine("\124cffffffffIA: Minimum " .. ItemAuditor:GetAHFaction() .. " AH Price: ", ItemAuditor:FormatMoney(ceil(investedPerItem/keep), suggestColor)) |
| 32 show = true | 32 show = true |
| 33 | 33 |
| 34 end | 34 end |
| 35 | 35 |
| 36 if ItemAuditor:IsQAEnabled() then | 36 if ItemAuditor:IsQACompatible() then |
| 37 local groupName = QAAPI:GetItemGroup(link) | 37 local groupName = QAAPI:GetItemGroup(link) |
| 38 if groupName then | 38 if groupName then |
| 39 local threshold = QAAPI:GetGroupConfig(groupName) | 39 local threshold = QAAPI:GetGroupConfig(groupName) |
| 40 tip:AddDoubleLine("\124cffffffffIA: QA Threshold: ", ItemAuditor:FormatMoney(threshold)) | 40 tip:AddDoubleLine("\124cffffffffIA: QA Threshold: ", ItemAuditor:FormatMoney(threshold)) |
| 41 show = true | 41 show = true |
