From 2ce35762d6d8d4f69654c612253b5ab427dc6f2b Mon Sep 17 00:00:00 2001 From: Josh Date: Mon, 23 Oct 2023 15:05:19 -0400 Subject: [PATCH] fix lock APL crash (#3943) --- sim/warlock/apl_values.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sim/warlock/apl_values.go b/sim/warlock/apl_values.go index eaaba45046..7dfe8f0c36 100644 --- a/sim/warlock/apl_values.go +++ b/sim/warlock/apl_values.go @@ -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) -