From 81a20d69deeb5d72707788b4df21e3994be0cf44 Mon Sep 17 00:00:00 2001 From: Maria-sequel <20357406+Maria-sequel@users.noreply.github.com> Date: Sun, 6 Aug 2023 03:21:01 +0200 Subject: [PATCH] =?UTF-8?q?fix(Core/Spells):=20Silent=20Fang=20proc=20shou?= =?UTF-8?q?ld=20not=20work=20in=20=E2=80=A6=20(#16907)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(Spell/SpellInfoCorrections): Silent Fang proc should not work in arena --- src/server/game/Spells/SpellInfoCorrections.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/server/game/Spells/SpellInfoCorrections.cpp b/src/server/game/Spells/SpellInfoCorrections.cpp index f94e31d44..8fdc87932 100644 --- a/src/server/game/Spells/SpellInfoCorrections.cpp +++ b/src/server/game/Spells/SpellInfoCorrections.cpp @@ -4516,6 +4516,12 @@ void SpellMgr::LoadSpellInfoCorrections() spellInfo->AttributesEx3 |= SPELL_ATTR3_DOT_STACKING_RULE; }); + // Silence + ApplySpellFix({ 18278 }, [](SpellInfo* spellInfo) + { + spellInfo->AttributesEx4 |= SPELL_ATTR4_NOT_IN_ARENA_OR_RATED_BATTLEGROUND; + }); + // Absorb Life ApplySpellFix({ 34239 }, [](SpellInfo* spellInfo) {