Skip to content

Commit

Permalink
Merge pull request #2843 from Horatio27/lava_laash_nil
Browse files Browse the repository at this point in the history
Fixed a issue with Frost band debuff when Lava Lash has not been talented
  • Loading branch information
Horatio27 authored Mar 31, 2023
2 parents 647ec36 + 6343592 commit 51d2949
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions sim/shaman/weapon_imbues.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,15 +310,19 @@ func (shaman *Shaman) FrostbrandDebuffAura(target *core.Unit) *core.Aura {
OnGain: func(aura *core.Aura, sim *core.Simulation) {
shaman.LightningBolt.DamageMultiplier *= multiplier
shaman.ChainLightning.DamageMultiplier *= multiplier
shaman.LavaLash.DamageMultiplier *= multiplier
if shaman.LavaLash != nil {
shaman.LavaLash.DamageMultiplier *= multiplier
}
shaman.EarthShock.DamageMultiplier *= multiplier
shaman.FlameShock.DamageMultiplier *= multiplier
shaman.FrostShock.DamageMultiplier *= multiplier
},
OnExpire: func(aura *core.Aura, sim *core.Simulation) {
shaman.LightningBolt.DamageMultiplier /= multiplier
shaman.ChainLightning.DamageMultiplier /= multiplier
shaman.LavaLash.DamageMultiplier /= multiplier
if shaman.LavaLash != nil {
shaman.LavaLash.DamageMultiplier /= multiplier
}
shaman.EarthShock.DamageMultiplier /= multiplier
shaman.FlameShock.DamageMultiplier /= multiplier
shaman.FrostShock.DamageMultiplier /= multiplier
Expand Down

0 comments on commit 51d2949

Please sign in to comment.