Skip to content

Commit

Permalink
only use zods repeating longbow effect for hunters (#4225)
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Feb 27, 2024
1 parent e845e08 commit 587fad4
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 587fad4

Please sign in to comment.