Let's start out with the assumption I already have 4 static colors:
Color Static: Black
Color Static: LightYellow
Color Static: Yellow
Color Static: DarkYellow
Then we define a condition:
Code:
local holypower
if UnitAura(uid, GetSpellInfo(86172)) then holypower = UnitPower(uid,9)+3;
else holypower = UnitPower(uid,9);
end
Now I want to know how I make the condition and colors I want to all add in. S_S
When holypower = 0, I want it to point to my Color Static: Black.
When holypower = 1, I want it to point to my Color Static: LightYellow
When holypower = 1, I want it to point to my Color Static: Yellow
When holypower = 3 or more, I want it to point to my Color Static: DarkYellow
CAN'T FIGURE OUT HOW TO DO THIS WITH VARS SCRIPETD, ARGH. D:<