Skip to content

Commit 18b0e68

Browse files
committed
Update BrewBloodKnightSC.lua
+ return of Auto-Pull + Added RuneStrike support for lower level characters + Tweak Line of sight for Death Grip
1 parent 53b40a8 commit 18b0e68

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

Rotations/Death Knight/Blood/BrewBloodKnightSC.lua

+16-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,19 @@ actionList.PreCombat = function()
441441
if ui.checked("Pre-Pull Timer") and ui.pullTimer() <= ui.value("Pre-Pull Timer") then
442442
-- Logic based on pull timers (IE: DBM/BigWigs)
443443
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
444455
end -- End No Combat
456+
445457
end -- End Action List - PreCombat
446458

447459
actionList.DRWActive = function()
@@ -851,10 +863,13 @@ local function runRotation()
851863
) then
852864
if cast.heartStrike("target") then debugMessage("Z: Heart Strike") return true; end
853865
end
866+
if cast.able.runeStrike("target") then
867+
if cast.runeStrike("target") then debugMessage("EOR: Rune Strike") return true; end
868+
end
854869
if cast.able.autoAttack("target") then
855870
if cast.autoAttack("target") then debugMessage("8: Auto Attack") return true end
856871
end
857-
checkTiming("EOR")
872+
--checkTiming("EOR")
858873
-- if var.lastCast -ui.time() >= 2 then
859874
-- debugMessage(colors.red "No viable Action, Waiting")
860875
-- end

0 commit comments

Comments
 (0)