mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-09 08:17:56 +00:00
fix(Core/Spell): Remove delay from Flare activation (#5933)
* fix(DB/spell): Remove delay from Flare activation The activation of the Flare (spell id: 1543) AoE aura was delayed until the projectile hit the ground, which takes 5 seconds. Apparently this is not blizzlike and the area should be activated instantly when casting the spell. Closes #5908 Closes https://github.com/chromiecraft/chromiecraft/issues/650 * Remove unnecessary delete * Move Flare spell fix to SpellMgr * Fix indentation
This commit is contained in:
@@ -7280,6 +7280,12 @@ void SpellMgr::LoadDbcDataCorrections()
|
|||||||
spellInfo->ManaCostPercentage = 0;
|
spellInfo->ManaCostPercentage = 0;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Flare activation speed
|
||||||
|
ApplySpellFix({ 1543 }, [](SpellEntry* spellInfo)
|
||||||
|
{
|
||||||
|
spellInfo->Speed = 0.0f;
|
||||||
|
});
|
||||||
|
|
||||||
for (uint32 i = 0; i < sSpellStore.GetNumRows(); ++i)
|
for (uint32 i = 0; i < sSpellStore.GetNumRows(); ++i)
|
||||||
{
|
{
|
||||||
SpellEntry* spellInfo = (SpellEntry*)sSpellStore.LookupEntry(i);
|
SpellEntry* spellInfo = (SpellEntry*)sSpellStore.LookupEntry(i);
|
||||||
|
|||||||
Reference in New Issue
Block a user