X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/03aa1f00436b12e0089d856778424643278a5b48..43157e64b1540e4b633423a3523f7d031b60de61:/OmaPower/AltPower.lua diff --git a/OmaPower/AltPower.lua b/OmaPower/AltPower.lua index 5ab7742..eeb2c42 100644 --- a/OmaPower/AltPower.lua +++ b/OmaPower/AltPower.lua @@ -65,9 +65,12 @@ function f:PLAYER_LOGIN() end f[i]:SetWidth(25); f[i]:SetHeight(25); - -- color is default from SHP - -- TODO different for different classes - f[i]:SetColorTexture(0.9686274509803922, 0.674509803921568, 0.1450980392156863); + if class == "WARLOCK" then + f[i]:SetColorTexture(0.7, 0.3, 0.5); + else + -- color is default from SHP + f[i]:SetColorTexture(0.9686274509803922, 0.674509803921568, 0.1450980392156863); + end end f:RegisterUnitEvent("UNIT_POWER", "player");