Skip to content

Commit

Permalink
feat(ProtWar): Add OffGCD option for Demolish
Browse files Browse the repository at this point in the history
  • Loading branch information
Cilraaz committed Sep 23, 2024
1 parent 49aadd1 commit 5453ddc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion HeroRotation_Warrior/Protection.lua
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ local function APL()
end
-- demolish,if=buff.colossal_might.stack>=3
if S.Demolish:IsCastable() and (Player:BuffStack(S.ColossalMightBuff) >= 3) then
if Cast(S.Demolish, nil, nil, not TargetInMeleeRange) then return "demolish main "; end
if Cast(S.Demolish, Settings.Protection.GCDasOffGCD.Demolish, nil, not Target:IsInMeleeRange(12)) then return "demolish main 32"; end
end
-- thunderous_roar
if CDsON() and S.ThunderousRoar:IsCastable() then
Expand Down
1 change: 1 addition & 0 deletions HeroRotation_Warrior/Settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ HR.GUISettings.APL.Warrior = {
},
GCDasOffGCD = {
Avatar = false,
Demolish = false,
DemoralizingShout = false,
Shockwave = true,
ThunderousRoar = false,
Expand Down

0 comments on commit 5453ddc

Please sign in to comment.