Quantcast WoWInterface - View Single Post - Set PowerBarColor without taint?
View Single Post
08-09-16, 02:20 AM   #9
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 328
Originally Posted by thomasjohnshannon View Post
Is it possible to set the oUF.colors.power table from inside the layout? Because I'm not just working on this for personal use and would rather not maintain a custom version of oUF (even with that project being a bit fractured atm).
Yes, it's possible to do so. It's a question of the day, haha, another person has asked me about it via PM

Lua Code:
  1. local _, ns = ...
  2. local oUF = ns.oUF
  3. oUF.colors.power["ARCANE_CHARGES"] = {29 / 255, 124 / 255, 226 / 255}
  4. -- and so on
__________________

Last edited by lightspark : 08-09-16 at 02:24 AM.
  Reply With Quote