From 587fad484d360bce8b5848948cd019abdf216802 Mon Sep 17 00:00:00 2001 From: Kayla Glick <12898988+kayla-glick@users.noreply.github.com> Date: Tue, 27 Feb 2024 15:37:36 -0500 Subject: [PATCH] only use zods repeating longbow effect for hunters (#4225) --- sim/hunter/wotlk_items.go | 5 +++++ 1 file changed, 5 insertions(+) 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