Skip to content

Commit bb3b75a

Browse files
committed
DK Unholy/Brew BM
DK Unholy, don't try cast DnD if moving Monk BM: just more progression
1 parent 6188c56 commit bb3b75a

File tree

2 files changed

+456
-178
lines changed

2 files changed

+456
-178
lines changed

Rotations/Death Knight/Unholy/BrewUnholyDK.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ actionList.GargSetup = function()
485485
if cast.defile("target") then ui.debug("GARGSETUP.08: Defile") return true; end;
486486
end
487487
else
488-
if cast.able.deathAndDecay("target") and unit.distance("target") <= 10 and not unit.moving("target") (
488+
if cast.able.deathAndDecay("target") and unit.distance("target") <= 10 and not unit.moving() (
489489
not buff.deathAndDecay.exists("player") and debuff.festeringWound.stack("target") > 0
490490
) then
491491
if cast.deathAndDecay("target") then ui.debug("GARGSETUP.09: Death and Decay") return true; end;
@@ -517,7 +517,7 @@ actionList.St = function()
517517
end
518518

519519
--any_dnd,if=!death_and_decay.ticking&(active_enemies>=2|talent.unholy_ground&(pet.apoc_ghoul.active&pet.apoc_ghoul.remains>=13|pet.gargoyle.active&pet.gargoyle.remains>8|pet.army_ghoul.active&pet.army_ghoul.remains>8|!variable.pop_wounds&debuff.festering_wound.stack>=4)|talent.defile&(pet.gargoyle.active|pet.apoc_ghoul.active|pet.army_ghoul.active|buff.dark_transformation.up))&(death_knight.fwounded_targets=active_enemies|active_enemies=1)
520-
if cast.able.deathAndDecay("target") and not unit.moving("target") and (
520+
if cast.able.deathAndDecay("target") and not unit.moving() and (
521521
true--not buff.deathAndDecay.exists() and (#enemies.yards5 >= 2 or talent.unholyGround and (var.hasGargoyle or var.GargoyleTTL > 8 or cast.last.armyOfTheDead(30) or not var.pop_wounds==1 and debuff.festeringWound.stack("target")>=4) or talent.defile and (var.hasGargoyle or cast.last.armyOfTheDead(30) or buff.darkTransformation.exist()))
522522
) then
523523
if cast.deathAndDecay("target") then ui.debug("ST.03: Death and Decay") return true; end;
@@ -711,7 +711,7 @@ end
711711
actionList.AOESetup = function()
712712
--actions.aoe_setup=any_dnd,if=(!talent.bursting_sores|death_knight.fwounded_targets=active_enemies|death_knight.fwounded_targets>=8|raid_event.adds.exists&raid_event.adds.remains<=11&raid_event.adds.remains>5)
713713
--basically going to cast DnD regardless, just check and see if we are standing in it or not
714-
if not buff.deathAndDecay.exists() and cast.able.deathAndDecay("playerGround") then
714+
if not buff.deathAndDecay.exists() and cast.able.deathAndDecay("playerGround") and not unit.moving("player") then
715715
if cast.deathAndDecay("playerGround") then ui.debug("AOESetup: DnD") return true; end
716716
end
717717
--actions.aoe_setup+=/festering_strike,target_if=min:debuff.festering_wound.stack,if=death_knight.fwounded_targets<active_enemies&talent.bursting_sores

0 commit comments

Comments
 (0)