Skip to content

Commit

Permalink
Merge pull request #3807 from wowsims/apl
Browse files Browse the repository at this point in the history
Add APL check right before MH auto swings
  • Loading branch information
jimmyt857 authored Oct 4, 2023
2 parents a3184fc + 2d6562c commit 520f420
Show file tree
Hide file tree
Showing 9 changed files with 2,526 additions and 2,521 deletions.
5 changes: 5 additions & 0 deletions sim/core/attack.go
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,11 @@ func (aa *AutoAttacks) TrySwingMH(sim *Simulation, target *Unit) {
return
}

if aa.unit.IsUsingAPL {
// Need to check APL here to allow last-moment HS queue casts.
aa.unit.Rotation.DoNextAction(sim)
}

attackSpell := aa.MaybeReplaceMHSwing(sim, aa.MHAuto)

attackSpell.Cast(sim, target)
Expand Down
Loading

0 comments on commit 520f420

Please sign in to comment.