Skip to content

Commit

Permalink
fix shaman resto T2 bonus error
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Nov 25, 2024
1 parent b58a630 commit 9378701
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion sim/shaman/item_sets_pve.go
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,9 @@ var ItemSetReliefOfTheTenStorms = core.NewItemSet(core.ItemSet{
// Your damaging and healing critical strikes now have a 100% chance to trigger your Water Shield, but do not consume a charge or trigger its cooldown.
2: func(agent core.Agent) {
shaman := agent.(ShamanAgent).GetShaman()
if !shaman.HasRune(proto.ShamanRune_RuneHandsWaterShield) {
return
}

core.MakePermanent(shaman.RegisterAura(core.Aura{
Label: "S03 - Item - T2 - Shaman - Restoration 2P Bonus",
Expand All @@ -549,7 +552,10 @@ var ItemSetReliefOfTheTenStorms = core.NewItemSet(core.ItemSet{
// Your Chain Lightning now also heals the target of your Earth Shield for 100% of the damage done.
4: func(agent core.Agent) {
// TODO: Implement Earth Shield
// shaman := agent.(ShamanAgent).GetShaman()
shaman := agent.(ShamanAgent).GetShaman()
if !shaman.HasRune(proto.ShamanRune_RuneLegsEarthShield) {
return
}

// core.MakePermanent(shaman.RegisterAura())
},
Expand Down

0 comments on commit 9378701

Please sign in to comment.