Skip to content

Commit

Permalink
fix(Unholy): Multiple misc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cilraaz committed Jul 24, 2024
1 parent 2016382 commit 032dbe5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions HeroRotation_DeathKnight/Events.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ HL:RegisterForCombatEvent(function(_, _, _, _, _, _, _, destGUID)
if destGUID == HL.GhoulTable.SummonedAbomination then
HL.GhoulTable.SummonedAbomination = nil
HL.GhoulTable.AbominationExpiration = 0
end
end, "UNIT_DESTROYED")

--- ===== Tracker Functions =====
Expand Down
4 changes: 2 additions & 2 deletions HeroRotation_DeathKnight/Unholy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ end

local function AoEBurst()
-- defile,if=!defile.ticking
if S.Defile:IsReady() and (Player:BuffDown(S.DefileBuff)) then
if S.Defile:IsReady() and (Player:BuffDown(S.DeathAndDecayBuff)) then
if Cast(S.Defile, Settings.CommonsOGCD.GCDasOffGCD.DeathAndDecay) then return "defile aoe_burst 2"; end
end
-- epidemic,if=!variable.pooling_runic_power&(active_enemies>=6&!talent.bursting_sores|talent.bursting_sores&death_knight.fwounded_targets!=active_enemies&death_knight.fwounded_targets<6|!talent.bursting_sores&runic_power.deficit<30|buff.sudden_doom.react)
Expand Down Expand Up @@ -548,7 +548,7 @@ local function ST()
if Cast(S.DeathCoil, nil, nil, not Target:IsSpellInRange(S.DeathCoil)) then return "death_coil st 10"; end
end
-- wound_spender,if=!variable.pop_wounds&debuff.festering_wound.stack>=4
if WoundSpender:IsReady() and (!VarPopWounds and FesterStacks >= 4) then
if WoundSpender:IsReady() and (not VarPopWounds and FesterStacks >= 4) then
if Cast(WoundSpender, nil, nil, not Target:IsSpellInRange(WoundSpender)) then return "wound_spender st 12"; end
end
end
Expand Down

0 comments on commit 032dbe5

Please sign in to comment.