mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Tiny cleanup
This commit is contained in:
@ -28,7 +28,7 @@ function HolyPower.prototype:init()
|
||||
self.unitPower = SPELL_POWER_HOLY_POWER
|
||||
self.minLevel = PALADINPOWERBAR_SHOW_LEVEL
|
||||
if IceHUD.WowVer >= 70000 then
|
||||
self.requiredSpec = 3
|
||||
self.requiredSpec = SPEC_PALADIN_RETRIBUTION
|
||||
end
|
||||
self.bTreatEmptyAsFull = true
|
||||
self.unit = "player"
|
||||
|
@ -62,7 +62,7 @@ function ShadowPriestMana.prototype:Update()
|
||||
self:UpdateBar(self.shadowPriestManaMax ~= 0 and self.shadowPriestMana / self.shadowPriestManaMax or 0, "ShadowPriestMana")
|
||||
end
|
||||
|
||||
-- Load us up (if we are a shadow priest in 7.0+)
|
||||
-- Load us up (if we are a priest in 7.0+)
|
||||
local _, unitClass = UnitClass("player")
|
||||
if (unitClass == "PRIEST" and IceHUD.WowVer >= 70000) then
|
||||
IceHUD.ShadowPriestMana = ShadowPriestMana:new()
|
||||
|
Reference in New Issue
Block a user