Core/Spells: Remove a triggered spell (not in sniff) (#28571)

This commit is contained in:
Aqua Deus
2023-01-29 00:48:37 +01:00
committed by GitHub
parent 4fadf37d0b
commit bd2deb57d2

View File

@@ -4650,6 +4650,18 @@ void SpellMgr::LoadSpellInfoCorrections()
});
});
// Fire Cannon
ApplySpellFix({ 181593 }, [](SpellInfo* spellInfo)
{
ApplySpellEffectFix(spellInfo, EFFECT_0, [](SpellEffectInfo* spellEffectInfo)
{
// This spell never triggers, theory is that it was supposed to be only triggered until target reaches some health percentage
// but was broken and always caused visuals to break, then target was changed to immediately spawn with desired health
// leaving old data in db2
spellEffectInfo->TriggerSpell = 0;
});
});
// Ray of Frost (Fingers of Frost charges)
ApplySpellFix({ 269748 }, [](SpellInfo* spellInfo)
{