From 880f35c0d203dac9fe7c39136474f853b3bd9fef Mon Sep 17 00:00:00 2001 From: UltraNix <80540499+UltraNix@users.noreply.github.com> Date: Mon, 3 Jan 2022 20:37:21 +0100 Subject: [PATCH] =?UTF-8?q?fix(Core/Spells):=20Judgement=20spells=20should?= =?UTF-8?q?=20always=20set=20combat=20event=20spe=E2=80=A6=20(#9709)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(Core/Spells): Judgement spells should always set combat event spell missed the target. Fixes #5874 * typo --- src/server/game/Spells/SpellMgr.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index 475e19fe0..8d40b9962 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -7528,6 +7528,18 @@ void SpellMgr::LoadDbcDataCorrections() spellInfo->MaxAffectedTargets = 1; }); + // Judgement of Light + // Judgement of Command + // Judgement of Blood + // Judgement of Justice + // Judgement of Wisdom + // Judgement of the Martyr + // Judgement of Light + ApplySpellFix({ 20271, 20425, 32220, 53407, 53408, 53725, 57774 }, [](SpellEntry* spellInfo) + { + spellInfo->AttributesEx3 &= ~SPELL_ATTR3_SUPRESS_TARGET_PROCS; + }); + for (uint32 i = 0; i < sSpellStore.GetNumRows(); ++i) { SpellEntry* spellInfo = (SpellEntry*)sSpellStore.LookupEntry(i);