- added a configurable RunicPower color to the player, target, and tot mana bars

- made runic power behave like energy and rage for the "low threshold" flashing behavior
This commit is contained in:
Parnic
2009-02-26 03:57:33 +00:00
parent 2dba044681
commit 429fa4858e
4 changed files with 11 additions and 2 deletions

View File

@ -18,6 +18,7 @@ function IceTargetMana.prototype:init(moduleName, unit)
self:SetDefaultColor("TargetRage", 235, 44, 26)
self:SetDefaultColor("TargetEnergy", 228, 242, 31)
self:SetDefaultColor("TargetFocus", 242, 149, 98)
self:SetDefaultColor("TargetRunicPower", 52, 64, 221)
end
@ -95,6 +96,8 @@ function IceTargetMana.prototype:Update(unit)
self.color = "TargetFocus"
elseif (manaType == 3) then
self.color = "TargetEnergy"
elseif (manaType == 6) then
self.color = "TargetRunicPower"
end
if (self.tapped) then