From d7efa82f0df9b02a640d57289839ed0def04a6a3 Mon Sep 17 00:00:00 2001 From: Kayla Glick Date: Mon, 6 Oct 2025 19:16:20 -0400 Subject: [PATCH] make badge of the swarmguard show its trinket aura properly --- sim/common/item_effects.go | 2 +- sim/core/aura_helpers.go | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sim/common/item_effects.go b/sim/common/item_effects.go index aad98b77a..83edd4a0c 100644 --- a/sim/common/item_effects.go +++ b/sim/common/item_effects.go @@ -3584,7 +3584,7 @@ func init() { }) auraLabel := "Badge of the Swarmguard" - actionID := core.ActionID{SpellID: 26480} + actionID := core.ActionID{ItemID: BadgeOfTheSwarmguard} trinketAura := core.MakeProcTriggerAura(&character.Unit, core.ProcTrigger{ Name: auraLabel, ActionID: actionID, diff --git a/sim/core/aura_helpers.go b/sim/core/aura_helpers.go index 5d2d751b4..a79d77931 100644 --- a/sim/core/aura_helpers.go +++ b/sim/core/aura_helpers.go @@ -30,6 +30,7 @@ type ProcHandler func(sim *Simulation, spell *Spell, result *SpellResult) type ProcTrigger struct { Name string ActionID ActionID + ActionIDForProc ActionID Duration time.Duration Callback AuraCallback ProcMask ProcMask @@ -138,7 +139,8 @@ func ApplyProcTriggerCallback(unit *Unit, aura *Aura, config ProcTrigger) { func MakeProcTriggerAura(unit *Unit, config ProcTrigger) *Aura { aura := Aura{ Label: config.Name, - ActionIDForProc: config.ActionID, + ActionID: config.ActionID, + ActionIDForProc: config.ActionIDForProc, Duration: config.Duration, } if config.Duration == 0 {