fix(Core/Event): improve "Let the fires come" event (#8199)

This commit is contained in:
UltraNix
2021-10-16 16:24:48 +02:00
committed by GitHub
parent 827d49a48f
commit ba719f0feb
3 changed files with 234 additions and 76 deletions

View File

@@ -3491,6 +3491,12 @@ void SpellMgr::LoadDbcDataCorrections()
spellInfo->RangeIndex = 6; // 100 yards
});
// Headless Horseman - Start Fire
ApplySpellFix({ 42132 }, [](SpellEntry* spellInfo)
{
spellInfo->RangeIndex = 6; // 100 yards
});
//They Must Burn Bomb Aura (self)
ApplySpellFix({ 36350 }, [](SpellEntry* spellInfo)
{
@@ -7386,6 +7392,12 @@ void SpellMgr::LoadDbcDataCorrections()
spellInfo->AuraInterruptFlags |= AURA_INTERRUPT_FLAG_HITBYSPELL | AURA_INTERRUPT_FLAG_TAKE_DAMAGE;
});
// Conflagration, Horseman's Cleave
ApplySpellFix({ 42380, 42587 }, [](SpellEntry* spellInfo)
{
spellInfo->AttributesEx3 |= SPELL_ATTR3_ALWAYS_HIT;
});
for (uint32 i = 0; i < sSpellStore.GetNumRows(); ++i)
{
SpellEntry* spellInfo = (SpellEntry*)sSpellStore.LookupEntry(i);