Can make a Mana Bar WA that shows the cost of AB?

Note that these are only related to World of Warcraft! Posts regarding different games or software will be removed.
yarafx1
Posts: 45
Joined: Wed Apr 06, 2016 6:25 pm

Can make a Mana Bar WA that shows the cost of AB?

Unread postby yarafx1 Tue Jan 24, 2017 11:22 pm

Is their a way you can make a Mana Bar WA that shows the cost of AB? That retroactively changes as the cost of AB changes?
pkzeroh
Posts: 10
Joined: Wed Jan 18, 2017 4:29 pm

Re: Can make a Mana Bar WA that shows the cost of AB?

Unread postby pkzeroh Wed Jan 25, 2017 5:03 am

Hello!

This one seems to work as you wish:

Code: Select all

dqeaeaGiQsxIc1OOeNIs1QiQ0RiQywue3cuSlq1Vik0WiYXuWYajpdGPrvDnLW2ujFtfzCusNJIQ3ruL5ruW9uICqvOfIIEifYePOCrkLnQe1hjk5KeLALGuZKI0nbL2jvXpjQQHQIAPuqpvyQaDvkGZsbAVs)fqdgvhwKhJstgexM0MvuFwjnAfPtlQvtuKzRQUTcTBc)wvgouwovEounDKRRuBhf(Uky8kIZRsTEIIA)qUdfSXydinGuWgZpbfzzwRhalAajJltBblLzOns)FdizCSF6guNqnmMTb7gNEJG6eQX8wWs5NWIDe0ioIJ4i()XM(iUrttUvfhXxcXnGitNFhuNfVy)0T68AcIpCzhbnIJ4ioI)FSPpIFKPrpCcXxcXbaqsssUwgKJfj5y00KBvXTBhbnIJ4ioI)FSPpIdBsKoRowvqi(si(yIMcFmnXIKji(rMg9Wj7iUmI4JjAk8X0eldMG4gqKjytIeSPjw8I9t3QZRD7iUCr8bjj5HGgXrCehXDkTDcehNCzXk85NBmrw8Am8HzVMG4WMePZQJvfKDehoCe3RXg7vEiOvbKgBb5YRRQRGn24kqLHki6gtlZgkdvq0nM24SPhnOndbAOnzzZdqZKDCKPP2mRXwKPgy)0T6ASXvGBrMkZsnsSuMHc6YRRQd2heTEGzqQrwKjGSVrSVskK6zOrgsd2no9AqU86Q6kyd6gtBGtjAJ3yJRavgQGOBmTmBOmub1487G6AOmubr3yAJZME0G2meOH2KLnpant2XrMMAZSgBHYqfuJ0MEn24kWTitLzJnUcetDSQGWEhuxz2atDSQGWEhuxJbjPgyQJvfe27G6a(WuxIEUgYqPghYqOPD5RbaxwLoD5BUVpaR(sDgg)RgtK)8mUs1dmawSaU1baMF5B1hWPfne7rqxEDvD41ZqJB5ppJRux2QvaNKK8pbaWG1ljFRDgg)Rgt186uQl7BUK5(lwaL)fGlPfNU6mm(NA8FjifSbL(QGkyJX9NYfSuPgqYZZz29NUlyJX9NYfSuPgU3xlyJX9NYfSuPgymWO0xfubBmU)uUGLk1WLy1c2yC)PCblvQXCILYprbBmU)uUGLkvQHtxZpb4nM2G0juPg4nGcouWHc(vdg1ZGpudLAb
Or if you want to do it manually, you can create the aura, go to the text options and put "%c", for custom. Then, on the new space you can put the command:

Code: Select all

function() local Charges = UnitPower("player", 16) local ABCost = 33000*(1+(0+Charges)) local ManaPercent = math.max(0, ABCost) / math.max(1, UnitManaMax("player")) * 100; return string.format("%.1f", ManaPercent) .. "%%"; end
In the one that I put together I set the trigger for when you are below 100% mana (meaning you'll probably be in combat), but you can change this too.

credits to https://www.reddit.com/r/WowUI/comments ... mana_cost/

Return to “Addons, Macros, UI and technical issues”

Who is online

Users browsing this forum: No registered users and 11 guests