Skip to content

Commit

Permalink
remove unused overload variables
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Dec 23, 2024
1 parent 4929ab3 commit b228275
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions sim/shaman/chain_heal.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ 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)
}
}
}

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
Expand Down
4 changes: 2 additions & 2 deletions sim/shaman/healing_wave.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ 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)
}
}
}

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
Expand Down
4 changes: 2 additions & 2 deletions sim/shaman/lightning_bolt.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ 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)
}
}
}

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]
Expand Down

0 comments on commit b228275

Please sign in to comment.