Broker_MoneyFu

98.7k Downloads

Update to include the Warbank

James-McCombe opened this issue ยท 1 comments

commented

I am not super familiar with Github, but I was able to add some warbank information to the tooltip.

-- Warbank
local warbankValue = C_Bank.FetchDepositedMoney(Enum.BankType.Account)

tooltip:AddLine(" ")
tooltip:AddLine(
	L["Warbank"],
	db.showPerHour and " " or func(abacus, warbankValue, true),
	db.showPerHour and func(abacus, warbankValue, true) or " "
)
total = total + warbankValue

-- Total
tooltip:AddLine(" ")
tooltip:AddLine(
	L["Total"],
	db.showPerHour and " " or func(abacus, total, true),
	db.showPerHour and func(abacus, total, true) or " "
)
commented

Thanks. I've added this here with a few changes in an attempt to make sure that MoneyFu still works on non-retail versions of WoW. There are also a few cosmetic changes to the enUS.lua locales file, but they aren't related to this functionality.