From dcb75ea5d2a37ce800ea49123af8afc8307a8de9 Mon Sep 17 00:00:00 2001 From: Josh DM Date: Sat, 1 Jul 2023 16:54:04 -0400 Subject: [PATCH] fix crash when no gargoyle talent --- sim/deathknight/dps/rotation_unholy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/deathknight/dps/rotation_unholy.go b/sim/deathknight/dps/rotation_unholy.go index 6300e621c9..c25a8f079a 100644 --- a/sim/deathknight/dps/rotation_unholy.go +++ b/sim/deathknight/dps/rotation_unholy.go @@ -135,7 +135,7 @@ func (dk *DpsDeathknight) RotationActionCallback_UnholyDndRotation(sim *core.Sim cast := false if dk.uhDiseaseCheck(sim, target, dk.DeathAndDecay, true, 1) { - if dk.uhVirulenceRotationCheck(sim, true) { + if dk.uhVirulenceRotationCheck(sim, dk.Talents.SummonGargoyle) { if dk.uhGargoyleCheck(sim, target, core.GCDDefault*2+50*time.Millisecond) { dk.uhAfterGargoyleSequence(sim) return sim.CurrentTime