fix(Core/Spells): Lowered Magmadar Panic's effect radius to 30 yards. (#9227)

Fixes #9115
This commit is contained in:
UltraNix
2021-11-19 09:44:43 +01:00
committed by GitHub
parent 02ae2ed3f9
commit 31de71bf3b

View File

@@ -7443,6 +7443,12 @@ void SpellMgr::LoadDbcDataCorrections()
spellInfo->AuraInterruptFlags |= (AURA_INTERRUPT_FLAG_MELEE_ATTACK | AURA_INTERRUPT_FLAG_CAST);
});
// Panic
ApplySpellFix({ 19408 }, [](SpellEntry* spellInfo)
{
spellInfo->EffectRadiusIndex[EFFECT_0] = EFFECT_RADIUS_30_YARDS;
});
for (uint32 i = 0; i < sSpellStore.GetNumRows(); ++i)
{
SpellEntry* spellInfo = (SpellEntry*)sSpellStore.LookupEntry(i);