From 7ff440970d92f098da3b28298a5f2825833e6c6c Mon Sep 17 00:00:00 2001 From: Josh DM Date: Wed, 18 Oct 2023 12:22:39 -0400 Subject: [PATCH] fix fire ele crash, still use for APL --- sim/shaman/fire_elemental_totem.go | 1 - sim/shaman/shaman.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sim/shaman/fire_elemental_totem.go b/sim/shaman/fire_elemental_totem.go index 144ac674f7..272149a1b4 100644 --- a/sim/shaman/fire_elemental_totem.go +++ b/sim/shaman/fire_elemental_totem.go @@ -74,7 +74,6 @@ func (shaman *Shaman) registerFireElementalTotem() { Spell: shaman.FireElementalTotem, Type: core.CooldownTypeUnknown, ShouldActivate: func(sim *core.Simulation, character *core.Character) bool { - success := false if enhTier10Aura != nil && shaman.Totems.EnhTierTenBonus { if enhTier10Aura.IsActive() { diff --git a/sim/shaman/shaman.go b/sim/shaman/shaman.go index 54fc38d315..25ee1f5ea6 100644 --- a/sim/shaman/shaman.go +++ b/sim/shaman/shaman.go @@ -257,7 +257,7 @@ func (shaman *Shaman) Initialize() { shaman.registerBloodlustCD() - if shaman.Totems.UseFireElemental && enableSnapshot && !shaman.IsUsingAPL { + if shaman.Totems.UseFireElemental && enableSnapshot { shaman.fireElementalSnapShot = core.NewSnapshotManager(shaman.GetCharacter()) shaman.setupProcTrackers() }