Quantcast WoWInterface - View Single Post - oUF PP
Thread: oUF PP
View Single Post
08-08-16, 04:51 PM   #4
Freebaser
A Molten Kobold Bandit
 
Freebaser's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 135
Try using the type instead

Code:
local ptype, str, r, g, b = UnitPowerType(u)
local t = oUF.colors.power[ptype]
  Reply With Quote