- 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

@ -10,6 +10,7 @@ function TargetTargetMana.prototype:init()
self:SetDefaultColor("TargetTargetRage", 235, 44, 26)
self:SetDefaultColor("TargetTargetEnergy", 228, 242, 31)
self:SetDefaultColor("TargetTargetFocus", 242, 149, 98)
self:SetDefaultColor("TargetTargetRunicPower", 52, 64, 221)
end
function TargetTargetMana.prototype:GetDefaultSettings()
@ -56,6 +57,8 @@ function TargetTargetMana.prototype:Update(unit)
self.color = "TargetTargetFocus"
elseif (manaType == 3) then
self.color = "TargetTargetEnergy"
elseif (manaType == 6) then
self.color = "TargetTargetRunicPower"
end
if (self.tapped) then