mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- fixed a bug with PlayerMana disabling OnUpdate code for warriors and DK's when their bar was full instead of when it is empty
- fixed a bug with DK runes appearing to be available as soon as a fight was done instead of when they actually became available again
This commit is contained in:
@ -26,10 +26,9 @@ function Runes.prototype:init()
|
||||
Runes.super.prototype.init(self, "Runes")
|
||||
|
||||
self:SetDefaultColor("Runes"..self.runeNames[RUNETYPE_BLOOD], 255, 0, 0)
|
||||
self:SetDefaultColor("Runes"..self.runeNames[RUNETYPE_DEATH], 0, 229, 0)
|
||||
self:SetDefaultColor("Runes"..self.runeNames[RUNETYPE_FROST], 88, 195, 239)
|
||||
-- todo: i guess i should figure out the chromatic rune's default color...set to white for now
|
||||
self:SetDefaultColor("Runes"..self.runeNames[RUNETYPE_CHROMATIC], 255, 255, 255)
|
||||
self:SetDefaultColor("Runes"..self.runeNames[RUNETYPE_DEATH], 0, 207, 0)
|
||||
self:SetDefaultColor("Runes"..self.runeNames[RUNETYPE_FROST], 0, 255, 255)
|
||||
self:SetDefaultColor("Runes"..self.runeNames[RUNETYPE_CHROMATIC], 204, 26, 255)
|
||||
self.scalingEnabled = true
|
||||
end
|
||||
|
||||
@ -292,7 +291,7 @@ function Runes.prototype:CreateRune(i, type, name)
|
||||
|
||||
self.frame.graphical[i]:SetStatusBarColor(self:GetColor("Runes"..name))
|
||||
|
||||
self.frame.graphical[i]:Show()
|
||||
-- self.frame.graphical[i]:Show()
|
||||
end
|
||||
|
||||
function Runes.prototype:ShowBlizz()
|
||||
|
Reference in New Issue
Block a user