Mercurial > wow > itemauditor
diff Modules/Tooltip.lua @ 15:44e70a3fdb19
Merged utils into ItemAuditor.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Sat, 03 Jul 2010 07:40:01 -0700 |
parents | 8c83d5f6e306 |
children | e62d878c716d |
line wrap: on
line diff
--- a/Modules/Tooltip.lua Sat Jul 03 07:28:40 2010 -0700 +++ b/Modules/Tooltip.lua Sat Jul 03 07:40:01 2010 -0700 @@ -17,9 +17,9 @@ local show = false if investedTotal > 0 then - tip:AddDoubleLine("\124cffffffffIA: Total Invested", utils:FormatMoney(investedTotal)); - tip:AddDoubleLine("\124cffffffffIA: Invested/Item (" .. count .. ")", utils:FormatMoney(ceil(investedPerItem))); - tip:AddDoubleLine("\124cffffffffIA: Minimum " .. addon:GetAHFaction() .. " AH Price: ", utils:FormatMoney(ceil(investedPerItem/keep))) + tip:AddDoubleLine("\124cffffffffIA: Total Invested", addon:FormatMoney(investedTotal)); + tip:AddDoubleLine("\124cffffffffIA: Invested/Item (" .. count .. ")", addon:FormatMoney(ceil(investedPerItem))); + tip:AddDoubleLine("\124cffffffffIA: Minimum " .. addon:GetAHFaction() .. " AH Price: ", addon:FormatMoney(ceil(investedPerItem/keep))) show = true end @@ -28,7 +28,7 @@ local groupName = QAAPI:GetItemGroup(link) if groupName then local threshold = QAAPI:GetGroupThreshold(groupName) - tip:AddDoubleLine("\124cffffffffIA: QA Threshold: ", utils:FormatMoney(threshold)) + tip:AddDoubleLine("\124cffffffffIA: QA Threshold: ", addon:FormatMoney(threshold)) show = true end end