Skip to content

Commit

Permalink
Merge branch 'Live' of https://github.com/tukui-org/Tukui into Live
Browse files Browse the repository at this point in the history
  • Loading branch information
tukz committed Sep 25, 2024
2 parents 15589ee + d9dc1b9 commit d2020aa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Tukui/Libs/oUF_Atonement/oUF_Atonement.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ local GetAuraDataByIndex = _G.C_UnitAuras.GetAuraDataByIndex
local GetAuraDataByAuraInstanceID = _G.C_UnitAuras.GetAuraDataByAuraInstanceID
local NewTicker = _G.C_Timer.NewTicker
local GetTime = _G.GetTime
local playerClass = _G.UnitClassBase("player")

local AtonementID = 194384
local AtonementIDPvP = 214206
Expand Down Expand Up @@ -113,8 +114,8 @@ end
local function Enable(self)
local element = self.Atonement

if element then
self:RegisterEvent("UNIT_AURA", Update)
-- need for Atonement buff to transfer healing was only introduced after MoP
if element and oUF.isRetail and playerClass == "PRIEST" then
self:RegisterEvent("PLAYER_SPECIALIZATION_CHANGED", CheckSpec, true)
self:RegisterEvent("PLAYER_ENTERING_WORLD", CheckSpec, true)

Expand Down

0 comments on commit d2020aa

Please sign in to comment.