Skip to content

Commit

Permalink
add guard to totem of the elements
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Dec 8, 2024
1 parent f74cb2e commit fdc274e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sim/shaman/items.go
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,10 @@ func init() {

core.NewItemEffect(TotemOfTheElements, func(agent core.Agent) {
shaman := agent.(ShamanAgent).GetShaman()
if !shaman.Talents.ElementalFocus {
return
}

shaman.RegisterAura(core.Aura{
Label: "Totem of the Elements",
OnInit: func(aura *core.Aura, sim *core.Simulation) {
Expand Down

0 comments on commit fdc274e

Please sign in to comment.