Skip to content

Commit

Permalink
only use zods repeating longbow effect for hunters
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Feb 27, 2024
1 parent aa19e1c commit ad8d90b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sim/hunter/wotlk_items.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (

"github.com/wowsims/wotlk/sim/common/wotlk"
"github.com/wowsims/wotlk/sim/core"
"github.com/wowsims/wotlk/sim/core/proto"
"github.com/wowsims/wotlk/sim/core/stats"
)

Expand Down Expand Up @@ -216,6 +217,10 @@ func init() {
}

core.NewItemEffect(itemID, func(agent core.Agent) {
if agent.GetCharacter().Class != proto.Class_ClassHunter {
return
}

hunter := agent.(HunterAgent).GetHunter()

var rangedSpell *core.Spell
Expand Down

0 comments on commit ad8d90b

Please sign in to comment.