Skip to content

Commit

Permalink
feat(FrostDK): Add Chilld Streak OffGCD setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Cilraaz committed Apr 2, 2024
1 parent d2a961d commit 13fba1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HeroRotation_DeathKnight/Frost.lua
Original file line number Diff line number Diff line change
Expand Up @@ -337,11 +337,11 @@ local function Cooldowns()
end
-- chill_streak,if=set_bonus.tier31_2pc&buff.chilling_rage.remains<3
if S.ChillStreak:IsReady() and (Player:HasTier(31, 2) and Player:BuffRemains(S.ChillingRageBuff) < 3) then
if Cast(S.ChillStreak, nil, nil, not Target:IsSpellInRange(S.ChillStreak)) then return "chill_streak cooldowns 16"; end
if Cast(S.ChillStreak, Settings.Frost.GCDasOffGCD.ChillStreak, nil, not Target:IsSpellInRange(S.ChillStreak)) then return "chill_streak cooldowns 16"; end
end
-- chill_streak,if=!set_bonus.tier31_2pc&active_enemies>=2&(!death_and_decay.ticking&talent.cleaving_strikes|!talent.cleaving_strikes|active_enemies<=5)
if S.ChillStreak:IsReady() and (not Player:HasTier(31, 2) and EnemiesMeleeCount >= 2 and (Player:BuffDown(S.DeathAndDecayBuff) and S.CleavingStrikes:IsAvailable() or not S.CleavingStrikes:IsAvailable() or EnemiesMeleeCount <= 5)) then
if Cast(S.ChillStreak, nil, nil, not Target:IsSpellInRange(S.ChillStreak)) then return "chill_streak cooldowns 18"; end
if Cast(S.ChillStreak, Settings.Frost.GCDasOffGCD.ChillStreak, nil, not Target:IsSpellInRange(S.ChillStreak)) then return "chill_streak cooldowns 18"; end
end
-- pillar_of_frost,if=talent.obliteration&(variable.adds_remain|variable.st_planning)&(buff.empower_rune_weapon.up|cooldown.empower_rune_weapon.remains)|fight_remains<12
if S.PillarofFrost:IsCastable() and (S.Obliteration:IsAvailable() and (VarAddsRemain or VarSTPlanning) and (Player:BuffUp(S.EmpowerRuneWeaponBuff) or S.EmpowerRuneWeapon:CooldownRemains() > 0) or FightRemains < 12) then
Expand Down
1 change: 1 addition & 0 deletions HeroRotation_DeathKnight/Settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ HR.GUISettings.APL.DeathKnight = {
GCDasOffGCD = {
-- Abilities
BreathOfSindragosa = true,
ChillStreak = false,
FrostStrike = false,
FrostwyrmsFury = true,
HornOfWinter = true,
Expand Down

0 comments on commit 13fba1e

Please sign in to comment.