Jump to content
Ko0z

[Addon] UnitFramesImproved_Vanilla

Recommended Posts

On 5/1/2017 at 11:45 PM, Razorwynd said:

Maybe this a question better suited for @modernist or @gashole but how can I change the default mana bar color? the blue is a bit too dark when dark mode is enabled. 

Copy/paste this into a new or existing AddOn's .lua file and change the values.

ManaBarColor[0].r = 0.00
ManaBarColor[0].g = 0.00
ManaBarColor[0].b = 1.00

 

Share this post


Link to post
Share on other sites
25 minutes ago, Razorwynd said:

maybe I am doing something wrong but it doesn't seem to work

Here, try this.

ManaBarColor[0].r = 0.50
ManaBarColor[0].g = 0.50
ManaBarColor[0].b = 1.00

 

Share this post


Link to post
Share on other sites
6 hours ago, gashole said:

Here, try this.


ManaBarColor[0].r = 0.50
ManaBarColor[0].g = 0.50
ManaBarColor[0].b = 1.00

 

I tried pasting that into the the following files with the following results...

World of Warcraft 1.12\Interface\AddOns\UnitFramesImproved_Vanilla\UnitFramesImproved_Vanilla.lua {no effect}

World of Warcraft 1.12\Interface\AddOns\modui-TallHealthBar\core.lua {no effect}

World of Warcraft 1.12\Interface\AddOns\modui\unitframe\unit.lua {no effect}

World of Warcraft 1.12\Interface\AddOns\modui\unitframe\extramana.lua {druid bar mana color changes}

World of Warcraft 1.12\Interface\AddOns\DebuffTimers\debufftimers.lua {no effect}

 

Looking around all of this code it seems that nothing else uses these variables other than druid bar...

 

Share this post


Link to post
Share on other sites
4 hours ago, Razorwynd said:

I tried pasting that into the the following files with the following results...

World of Warcraft 1.12\Interface\AddOns\UnitFramesImproved_Vanilla\UnitFramesImproved_Vanilla.lua {no effect}

World of Warcraft 1.12\Interface\AddOns\modui-TallHealthBar\core.lua {no effect}

World of Warcraft 1.12\Interface\AddOns\modui\unitframe\unit.lua {no effect}

World of Warcraft 1.12\Interface\AddOns\modui\unitframe\extramana.lua {druid bar mana color changes}

World of Warcraft 1.12\Interface\AddOns\DebuffTimers\debufftimers.lua {no effect}

 

Looking around all of this code it seems that nothing else uses these variables other than druid bar...

 

ManaBarColor is a global table to get the color for mana, rage, energy, etc. One of your AddOns could be changing it. Paste the code into modui/globals/colour.lua and turn off all AddOns except for modui. Figure out which AddOn is causing the problem.

Share this post


Link to post
Share on other sites

It was pfUI... I would have never thought that Shagu would redefine these global tables... Thanks for the help!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×