Skip to content

Commit

Permalink
fix lock APL crash
Browse files Browse the repository at this point in the history
  • Loading branch information
lime-green committed Oct 23, 2023
1 parent d68a1d0 commit 71f0e85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sim/warlock/apl_values.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ func (value *APLValueWarlockShouldRecastDrainSoul) GetBool(sim *core.Simulation)
curseRefresh := max(
warlock.CurseOfAgony.CurDot().RemainingDuration(sim),
warlock.CurseOfDoom.CurDot().RemainingDuration(sim),
warlock.CurseOfElements.CurDot().RemainingDuration(sim),
warlock.CurseOfTongues.CurDot().RemainingDuration(sim),
warlock.CurseOfWeakness.CurDot().RemainingDuration(sim),
warlock.CurseOfElementsAuras.Get(warlock.CurrentTarget).RemainingDuration(sim),
warlock.CurseOfTonguesAuras.Get(warlock.CurrentTarget).RemainingDuration(sim),
warlock.CurseOfWeaknessAuras.Get(warlock.CurrentTarget).RemainingDuration(sim),
) - warlock.CurseOfAgony.CastTime()

hauntRefresh := warlock.HauntDebuffAuras.Get(warlock.CurrentTarget).RemainingDuration(sim) -
Expand Down

0 comments on commit 71f0e85

Please sign in to comment.