Skip to content

Commit

Permalink
fix crash when no gargoyle talent (#3231)
Browse files Browse the repository at this point in the history
  • Loading branch information
lime-green authored Jul 1, 2023
1 parent 3df85a6 commit 9a37640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim/deathknight/dps/rotation_unholy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a37640

Please sign in to comment.