fix(Core/Spells): Increased Arcane Bolt effect radius to 40 yards. (#9217)

Fixes #8930
This commit is contained in:
UltraNix
2021-11-28 09:29:53 +01:00
committed by GitHub
parent 05a2d5baa8
commit d667906040
2 changed files with 9 additions and 0 deletions

View File

@@ -7476,6 +7476,12 @@ void SpellMgr::LoadDbcDataCorrections()
spellInfo->AuraInterruptFlags |= (AURA_INTERRUPT_FLAG_MELEE_ATTACK | AURA_INTERRUPT_FLAG_CAST);
});
// Arcane Bolt
ApplySpellFix({ 15979 }, [](SpellEntry* spellInfo)
{
spellInfo->RangeIndex = 3; // 20y
});
for (uint32 i = 0; i < sSpellStore.GetNumRows(); ++i)
{
SpellEntry* spellInfo = (SpellEntry*)sSpellStore.LookupEntry(i);