Skip to content

Commit

Permalink
Unholy target cycling (?)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili committed Nov 17, 2024
1 parent a9da199 commit 7e2333a
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions TheWarWithin/DeathKnightUnholy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1472,9 +1472,10 @@ me:RegisterAbilities( {
talent = "clawing_shadows",
startsCombat = true,

aura = "festering_wound",
texture = function() return ( buff.vampiric_strike.up or buff.gift_of_the_sanlayn.up ) and 5927645 or 615099 end,
cycle_to = true,

--[[ cycle = "festering_wound",
cycle_to = true, ]]

handler = function ()
if debuff.festering_wound.up then
Expand Down Expand Up @@ -1871,9 +1872,7 @@ me:RegisterAbilities( {
talent = "festering_strike",
startsCombat = true,

aura = "festering_wound",
cycle = "festering_wound",

cycle = function() if debuff.festering_wound.stack_pct > 60 then return "festering_wound" end end,
min_ttd = function () return min( cooldown.death_and_decay.remains + 3, 8 ) end, -- don't try to cycle onto targets that will die too fast to get consumed.

handler = function ()
Expand Down Expand Up @@ -2091,7 +2090,12 @@ me:RegisterAbilities( {
if buff.vampiric_strike.up or buff.gift_of_the_sanlayn.up then return end
return "clawing_shadows"
end,
aura = "festering_wound",

cycle = function()
if debuff.festering_wound.down and active_dot.festering_wound > 0 then return "festering_wound" end
if debuff.chains_of_ice_trollbane_slow.down and active_dot.chains_of_ice_trollbane_slow > 0 then return "chains_of_ice_trollbane_slow" end
end,
min_ttd = function () return min( cooldown.death_and_decay.remains + 3, 8 ) end, -- don't try to cycle onto targets that will die too fast to get consumed.
cycle_to = true,

handler = function ()
Expand Down

0 comments on commit 7e2333a

Please sign in to comment.