From 254df2f9c02366602607d966dd14ec901d33288f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Hillerstr=C3=B6m?= Date: Tue, 20 Jan 2026 16:00:25 +0100 Subject: [PATCH] [Item] Disable legendary item procs in CMs --- sim/common/mop/cloaks_phase_4_54.go | 12 ++++++++++++ sim/common/mop/metagems.go | 14 ++++++++++++++ sim/hunter/item_sets.go | 5 +++-- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/sim/common/mop/cloaks_phase_4_54.go b/sim/common/mop/cloaks_phase_4_54.go index 61524aded6..9bbc965dc9 100644 --- a/sim/common/mop/cloaks_phase_4_54.go +++ b/sim/common/mop/cloaks_phase_4_54.go @@ -19,6 +19,10 @@ func init() { character := agent.GetCharacter() label := "Xing-Ho, Breath of Yu'lon" + if character.Back().ChallengeMode { + return + } + parentAura := core.MakePermanent(character.RegisterAura(core.Aura{ Label: "Essence of Yu'lon - Dummy Aura", Duration: core.NeverExpires, @@ -85,6 +89,10 @@ func init() { core.NewItemEffect(itemID, func(agent core.Agent, state proto.ItemLevelState) { character := agent.GetCharacter() + if character.Back().ChallengeMode { + return + } + flurrySpell := character.RegisterSpell(core.SpellConfig{ ActionID: core.ActionID{SpellID: 147891}, SpellSchool: core.SpellSchoolPhysical, @@ -180,6 +188,10 @@ func init() { core.NewItemEffect(itemID, func(agent core.Agent, state proto.ItemLevelState) { character := agent.GetCharacter() + if character.Back().ChallengeMode { + return + } + dummyAura := core.MakePermanent(character.RegisterAura(core.Aura{ Label: label, Duration: core.NeverExpires, diff --git a/sim/common/mop/metagems.go b/sim/common/mop/metagems.go index cb7ef6893c..9a545f22bb 100644 --- a/sim/common/mop/metagems.go +++ b/sim/common/mop/metagems.go @@ -31,6 +31,11 @@ func init() { // (Approximately [19.27 + Haste] procs per minute) core.NewItemEffect(95346, func(agent core.Agent, _ proto.ItemLevelState) { character := agent.GetCharacter() + + if character.Head().ChallengeMode { + return + } + var target *core.Unit isHunter := character.Class == proto.Class_ClassHunter @@ -116,6 +121,11 @@ func init() { // (Approximately 1.35 procs per minute) core.NewItemEffect(95347, func(agent core.Agent, _ proto.ItemLevelState) { character := agent.GetCharacter() + + if character.Head().ChallengeMode { + return + } + hasteMulti := 1.3 aura := character.GetOrRegisterAura(core.Aura{ @@ -160,6 +170,10 @@ func init() { core.NewItemEffect(95344, func(agent core.Agent, _ proto.ItemLevelState) { character := agent.GetCharacter() + if character.Head().ChallengeMode { + return + } + aura := character.GetOrRegisterAura(core.Aura{ Label: "Fortitude", ActionID: core.ActionID{SpellID: 137593}, diff --git a/sim/hunter/item_sets.go b/sim/hunter/item_sets.go index 3d07e88a9f..f18e4bede7 100644 --- a/sim/hunter/item_sets.go +++ b/sim/hunter/item_sets.go @@ -132,8 +132,9 @@ var SaurokStalker = core.NewItemSet(core.ItemSet{ }) var BattlegearOfTheUnblinkingVigil = core.NewItemSet(core.ItemSet{ - ID: 1195, - Name: "Battlegear of the Unblinking Vigil", + ID: 1195, + Name: "Battlegear of the Unblinking Vigil", + DisabledInChallengeMode: true, Bonuses: map[int32]core.ApplySetBonus{ 2: func(agent core.Agent, setBonusAura *core.Aura) { // Aimed Shot, Arcane Shot and Multi-shot reduce the cooldown of Rapid Fire by [Bestial Wrath: 4] [Aimed Shot: 4 / 8] seconds per cast.