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

@@ -0,0 +1,3 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1637600477515479900');
UPDATE `smart_scripts` SET `event_param3`=4400, `event_param4`=5700, `action_param2`=0 WHERE `entryorguid`=10602 AND `source_type`=0 AND `id`=0;

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);