Skip to content

Commit

Permalink
feat(Affliction): Add UA to Precombat
Browse files Browse the repository at this point in the history
  • Loading branch information
Cilraaz committed Sep 5, 2024
1 parent 3a84844 commit 3b3fc33
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion HeroRotation_Warlock/Affliction.lua
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,11 @@ local function Precombat()
-- NYI precombat multi target
-- haunt
if S.Haunt:IsReady() then
if Cast(S.Haunt, nil, nil, not Target:IsSpellInRange(S.Haunt)) then return "haunt precombat 6"; end
if Cast(S.Haunt, nil, nil, not Target:IsSpellInRange(S.Haunt)) then return "haunt precombat 4"; end
end
-- Manually added: unstable_affliction
if S.UnstableAffliction:IsReady() then
if Cast(S.UnstableAffliction, nil, nil, not Target:IsSpellInRange(S.UnstableAffliction)) then return "unstable_affliction precombat 6"; end
end
end

Expand Down

0 comments on commit 3b3fc33

Please sign in to comment.