Skip to content

Commit

Permalink
Fixed HoW in Wrath
Browse files Browse the repository at this point in the history
  • Loading branch information
d87 committed May 19, 2023
1 parent a542e2e commit 7fff70e
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions ClassicSpellActivations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -831,18 +831,19 @@ ns.configs.PALADIN = function(self)
if ns.findHighestRank("Exorcism") then
self:RegisterEvent("PLAYER_TARGET_CHANGED")
self.PLAYER_TARGET_CHANGED = ns.PaladinExorcismCheck
end
end

if ns.findHighestRank("HammerOfWrath") then
self:RegisterUnitEvent("UNIT_HEALTH", "target")
self.PLAYER_TARGET_CHANGED = function(...)
if not hasArtOfWar then
ns.PaladinExorcismCheck(...)
end
ns.HOWCheck(...)
end
self.UNIT_HEALTH = ns.HOWCheck
if ns.findHighestRank("HammerOfWrath") then
self:RegisterUnitEvent("UNIT_HEALTH", "target")
self.PLAYER_TARGET_CHANGED = function(...)
if APILevel <= 2 then
-- if not hasArtOfWar then
ns.PaladinExorcismCheck(...)
end
ns.HOWCheck(...)
end
self.UNIT_HEALTH = ns.HOWCheck
end

if hasArtOfWar or hasInfusionOfLight then
Expand Down

0 comments on commit 7fff70e

Please sign in to comment.