fix(Core/Spells): Judgement spells should always set combat event spe… (#9709)

* fix(Core/Spells): Judgement spells should always set combat event spell missed the target.

Fixes #5874

* typo
This commit is contained in:
UltraNix
2022-01-03 20:37:21 +01:00
committed by GitHub
parent 573a39cfd4
commit 880f35c0d2

View File

@@ -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);