fix(DB/Spells): Drums of War/Battle/Speed/Restorarion should apply Ti… (#13866)

...nnitus debuff.
This commit is contained in:
UltraNix
2022-11-21 23:08:28 +01:00
committed by GitHub
parent b57985bcd5
commit e6aef88aba
2 changed files with 16 additions and 3 deletions

View File

@@ -4430,9 +4430,15 @@ void SpellMgr::LoadSpellInfoCorrections()
// Digestive Acid (Temporary)
ApplySpellFix({ 26476 }, [](SpellInfo* spellInfo)
{
spellInfo->Attributes |= SPELL_ATTR0_NO_IMMUNITIES;
spellInfo->AttributesEx2 |= SPELL_ATTR2_IGNORE_LINE_OF_SIGHT;
spellInfo->AttributesEx3 |= SPELL_ATTR3_ALWAYS_HIT;
spellInfo->Attributes |= SPELL_ATTR0_NO_IMMUNITIES;
spellInfo->AttributesEx2 |= SPELL_ATTR2_IGNORE_LINE_OF_SIGHT;
spellInfo->AttributesEx3 |= SPELL_ATTR3_ALWAYS_HIT;
});
// Drums of War/Battle/Speed/Restoration
ApplySpellFix({ 35475, 35476, 35477, 35478 }, [](SpellInfo* spellInfo)
{
spellInfo->ExcludeTargetAuraSpell = 51120;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)