File tree 1 file changed +16
-1
lines changed
Rotations/Death Knight/Blood
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -441,7 +441,19 @@ actionList.PreCombat = function()
441
441
if ui .checked (" Pre-Pull Timer" ) and ui .pullTimer () <= ui .value (" Pre-Pull Timer" ) then
442
442
-- Logic based on pull timers (IE: DBM/BigWigs)
443
443
end -- End Pre-Pull
444
+ if unit .valid (" target" ) then
445
+ if unit .distance (" target" ) > 5 and cast .able .deathGrip (" target" ) and ui .mode .AutoPull == 1 and br .getLineOfSight (" target" ," player" ) then
446
+ if cast .deathGrip (" target" ) then debugMessage (" PreCombat: Pull Death Grip" ) return true end ;
447
+ end
448
+ if unit .distance (" target" ) <= 5 and cast .able .runeStrike (" target" ) then
449
+ if cast .runeStrike (" target" ) then debugMessage (" PreCombat: Rune Strike" ) return true ; end
450
+ end
451
+ if unit .distance (" target" ) <= 5 and cast .able .autoAttack (" target" ) then
452
+ if cast .autoAttack (" target" ) then debugMessage (" PreCombat: autoAttack" ) return true ; end
453
+ end
454
+ end
444
455
end -- End No Combat
456
+
445
457
end -- End Action List - PreCombat
446
458
447
459
actionList .DRWActive = function ()
@@ -851,10 +863,13 @@ local function runRotation()
851
863
) then
852
864
if cast .heartStrike (" target" ) then debugMessage (" Z: Heart Strike" ) return true ; end
853
865
end
866
+ if cast .able .runeStrike (" target" ) then
867
+ if cast .runeStrike (" target" ) then debugMessage (" EOR: Rune Strike" ) return true ; end
868
+ end
854
869
if cast .able .autoAttack (" target" ) then
855
870
if cast .autoAttack (" target" ) then debugMessage (" 8: Auto Attack" ) return true end
856
871
end
857
- checkTiming (" EOR" )
872
+ -- checkTiming("EOR")
858
873
-- if var.lastCast -ui.time() >= 2 then
859
874
-- debugMessage(colors.red "No viable Action, Waiting")
860
875
-- end
You can’t perform that action at this time.
0 commit comments