Quantcast WoWInterface - View Single Post - Set PowerBarColor without taint?
View Single Post
08-09-16, 09:36 AM   #11
badness
A Cliff Giant
 
badness's Avatar
Join Date: May 2010
Posts: 74
Originally Posted by Phanx View Post
Depending on the layout, there may not be an "ns.oUF", but instead a global "oUF". To account for both possibilities (without changing anything else in the layout) that second line should be:

Code:
local oUF = ns.oUF or oUF
You can see how I change the power colors for mana and runic power in my oUF layout here:
https://github.com/Phanx/oUF_Phanx/b.../Core.lua#L220
Thanks Phanx..your example worked for me
  Reply With Quote