Skip to content

Commit

Permalink
Merge pull request #3618 from Horatio27/frostbandimbue_fix
Browse files Browse the repository at this point in the history
Reverted Frostband impue change moved from NewEnhancementShaman back to the initialize method, due to Frostbrand register relying on adding aura to enenmy.
  • Loading branch information
Horatio27 authored Sep 5, 2023
2 parents dec5945 + 14a3061 commit 1445e6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sim/shaman/enhancement/enhancement.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ func NewEnhancementShaman(character core.Character, options *proto.Player) *Enha
enh.RegisterFlametongueImbue(enh.getImbueProcMask(proto.ShamanImbue_FlametongueWeapon), false)
enh.RegisterFlametongueImbue(enh.getImbueProcMask(proto.ShamanImbue_FlametongueWeaponDownrank), true)
enh.RegisterWindfuryImbue(enh.getImbueProcMask(proto.ShamanImbue_WindfuryWeapon))
enh.RegisterFrostbrandImbue(enh.getImbueProcMask(proto.ShamanImbue_FrostbrandWeapon))

enh.SpiritWolves = &shaman.SpiritWolves{
SpiritWolf1: enh.NewSpiritWolf(1),
Expand Down Expand Up @@ -120,6 +119,8 @@ func (enh *EnhancementShaman) GetShaman() *shaman.Shaman {

func (enh *EnhancementShaman) Initialize() {
enh.Shaman.Initialize()
// In the Initialize due to frost brand adding the aura to the enemy
enh.RegisterFrostbrandImbue(enh.getImbueProcMask(proto.ShamanImbue_FrostbrandWeapon))

if enh.ItemSwap.IsEnabled() {
mh := enh.ItemSwap.GetItem(proto.ItemSlot_ItemSlotMainHand)
Expand Down

0 comments on commit 1445e6c

Please sign in to comment.