fix(DB/SAI): Fixed spam chat made by Coilfang Slavemaster and Coilfan… (#13871)

fix(DB/SAI): Fixed spam chat made by Coilfang Slavemaster and Coilfang Slavehandler scripts.

Fixes #1888
This commit is contained in:
UltraNix
2022-12-06 13:41:45 +01:00
committed by GitHub
parent 95652e14d5
commit 975fd8782f
2 changed files with 35 additions and 0 deletions

View File

@@ -4441,6 +4441,13 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->ExcludeTargetAuraSpell = 51120;
});
// Slap!
ApplySpellFix({ 6754 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx |= SPELL_ATTR1_NO_THREAT;
spellInfo->AttributesEx3 |= SPELL_ATTR3_SUPRESS_TARGET_PROCS;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];