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

Port From (https://github.com/TrinityCore/TrinityCore/commit/bd2deb57d2eeb102de70e5ee3e216c9baf900ed5)
This commit is contained in:
hondacrx
2023-01-30 10:16:14 -05:00
parent 6e91edc0a1
commit c556c2a875
+12
View File
@@ -4329,6 +4329,18 @@ namespace Game.Entities
});
});
// Fire Cannon
ApplySpellFix(new[] { 181593 }, spellInfo =>
{
ApplySpellEffectFix(spellInfo, 0, 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(new []{ 269748 }, spellInfo =>
{