Tiny cleanup

This commit is contained in:
Parnic
2016-05-26 01:25:59 -05:00
parent 975fd3fbf4
commit e219dac245
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ function HolyPower.prototype:init()
self.unitPower = SPELL_POWER_HOLY_POWER self.unitPower = SPELL_POWER_HOLY_POWER
self.minLevel = PALADINPOWERBAR_SHOW_LEVEL self.minLevel = PALADINPOWERBAR_SHOW_LEVEL
if IceHUD.WowVer >= 70000 then if IceHUD.WowVer >= 70000 then
self.requiredSpec = 3 self.requiredSpec = SPEC_PALADIN_RETRIBUTION
end end
self.bTreatEmptyAsFull = true self.bTreatEmptyAsFull = true
self.unit = "player" self.unit = "player"

View File

@ -62,7 +62,7 @@ function ShadowPriestMana.prototype:Update()
self:UpdateBar(self.shadowPriestManaMax ~= 0 and self.shadowPriestMana / self.shadowPriestManaMax or 0, "ShadowPriestMana") self:UpdateBar(self.shadowPriestManaMax ~= 0 and self.shadowPriestMana / self.shadowPriestManaMax or 0, "ShadowPriestMana")
end 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") local _, unitClass = UnitClass("player")
if (unitClass == "PRIEST" and IceHUD.WowVer >= 70000) then if (unitClass == "PRIEST" and IceHUD.WowVer >= 70000) then
IceHUD.ShadowPriestMana = ShadowPriestMana:new() IceHUD.ShadowPriestMana = ShadowPriestMana:new()