From b2282757104a46d188aa511f94eb12dc2507b4fb Mon Sep 17 00:00:00 2001 From: Kayla Glick Date: Mon, 23 Dec 2024 16:41:56 -0500 Subject: [PATCH] remove unused overload variables --- sim/shaman/chain_heal.go | 4 ++-- sim/shaman/healing_wave.go | 4 ++-- sim/shaman/lightning_bolt.go | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sim/shaman/chain_heal.go b/sim/shaman/chain_heal.go index 6e79f92c6..394235fbc 100644 --- a/sim/shaman/chain_heal.go +++ b/sim/shaman/chain_heal.go @@ -20,7 +20,7 @@ func (shaman *Shaman) registerChainHealSpell() { shaman.ChainHeal = make([]*core.Spell, ChainHealRanks+1) for rank := 1; rank <= ChainHealRanks; rank++ { - config := shaman.newChainHealSpellConfig(rank, false) + config := shaman.newChainHealSpellConfig(rank) if config.RequiredLevel <= int(shaman.Level) { shaman.ChainHeal[rank] = shaman.RegisterSpell(config) @@ -28,7 +28,7 @@ func (shaman *Shaman) registerChainHealSpell() { } } -func (shaman *Shaman) newChainHealSpellConfig(rank int, isOverload bool) core.SpellConfig { +func (shaman *Shaman) newChainHealSpellConfig(rank int) core.SpellConfig { spellId := ChainHealSpellId[rank] baseHealingMultiplier := 1 + shaman.purificationHealingModifier() baseHealingLow := ChainHealBaseHealing[rank][0] * baseHealingMultiplier diff --git a/sim/shaman/healing_wave.go b/sim/shaman/healing_wave.go index 8ff3c751c..2a633bbb6 100644 --- a/sim/shaman/healing_wave.go +++ b/sim/shaman/healing_wave.go @@ -19,7 +19,7 @@ func (shaman *Shaman) registerHealingWaveSpell() { shaman.HealingWave = make([]*core.Spell, HealingWaveRanks+1) for rank := 1; rank <= HealingWaveRanks; rank++ { - config := shaman.newHealingWaveSpellConfig(rank, false) + config := shaman.newHealingWaveSpellConfig(rank) if config.RequiredLevel <= int(shaman.Level) { shaman.HealingWave[rank] = shaman.RegisterSpell(config) @@ -27,7 +27,7 @@ func (shaman *Shaman) registerHealingWaveSpell() { } } -func (shaman *Shaman) newHealingWaveSpellConfig(rank int, isOverload bool) core.SpellConfig { +func (shaman *Shaman) newHealingWaveSpellConfig(rank int) core.SpellConfig { spellId := HealingWaveSpellId[rank] baseHealingMultiplier := 1 + shaman.purificationHealingModifier() baseHealingLow := HealingWaveBaseHealing[rank][0] * baseHealingMultiplier diff --git a/sim/shaman/lightning_bolt.go b/sim/shaman/lightning_bolt.go index ae12014ef..f94708c16 100644 --- a/sim/shaman/lightning_bolt.go +++ b/sim/shaman/lightning_bolt.go @@ -19,7 +19,7 @@ func (shaman *Shaman) registerLightningBoltSpell() { shaman.LightningBolt = make([]*core.Spell, LightningBoltRanks+1) for rank := 1; rank <= LightningBoltRanks; rank++ { - config := shaman.newLightningBoltSpellConfig(rank, false) + config := shaman.newLightningBoltSpellConfig(rank) if config.RequiredLevel <= int(shaman.Level) { shaman.LightningBolt[rank] = shaman.RegisterSpell(config) @@ -27,7 +27,7 @@ func (shaman *Shaman) registerLightningBoltSpell() { } } -func (shaman *Shaman) newLightningBoltSpellConfig(rank int, isOverload bool) core.SpellConfig { +func (shaman *Shaman) newLightningBoltSpellConfig(rank int) core.SpellConfig { spellId := LightningBoltSpellId[rank] baseDamageLow := LightningBoltBaseDamage[rank][0] baseDamageHigh := LightningBoltBaseDamage[rank][1]