diff --git a/sim/hunter/wotlk_items.go b/sim/hunter/wotlk_items.go index 01e50dea07..be71d0d920 100644 --- a/sim/hunter/wotlk_items.go +++ b/sim/hunter/wotlk_items.go @@ -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" ) @@ -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