From 7250c45be5f7f5842cec5e041b4a2ce281b904ac Mon Sep 17 00:00:00 2001 From: Aleksi Blinnikka Date: Tue, 25 Aug 2020 23:52:52 +0300 Subject: [PATCH] Holy Power for all paladin specs --- OmaPower/AltPower.lua | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/OmaPower/AltPower.lua b/OmaPower/AltPower.lua index 9ea3609..48a8036 100644 --- a/OmaPower/AltPower.lua +++ b/OmaPower/AltPower.lua @@ -19,14 +19,9 @@ local updatehp = { }; function f:PLAYER_SPECIALIZATION_CHANGED() if class == "PALADIN" then - if GetSpecialization() == 3 then -- ret - f:Show(); - f:RegisterUnitEvent("UNIT_POWER_UPDATE", "player"); - updatehp[UnitPower("player", ptype)](); - else - f:UnregisterEvent("UNIT_POWER_UPDATE"); - f:Hide(); - end + f:Show(); + f:RegisterUnitEvent("UNIT_POWER_UPDATE", "player"); + updatehp[UnitPower("player", ptype)](); elseif class == "WARLOCK" then f:Show(); f:RegisterUnitEvent("UNIT_POWER_UPDATE", "player"); -- 2.39.5