mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Allow "scale mana color" to work with class-specific mana types
This commit is contained in:
@ -282,11 +282,10 @@ function PlayerMana.prototype:Update(unit, powertype)
|
||||
end
|
||||
|
||||
local color = "PlayerMana"
|
||||
if (self.moduleSettings.scaleManaColor) then
|
||||
color = "ScaledManaColor"
|
||||
end
|
||||
if not (self.alive) then
|
||||
color = "Dead"
|
||||
elseif (self.moduleSettings.scaleManaColor) then
|
||||
color = "ScaledManaColor"
|
||||
else
|
||||
if (self.manaType == SPELL_POWER_RAGE) then
|
||||
color = "PlayerRage"
|
||||
|
Reference in New Issue
Block a user