View Single Post
08-09-16, 08:38 AM   #10
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
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
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote