From c556c2a875e80cc6bbf16aaead8076718edf05be Mon Sep 17 00:00:00 2001 From: hondacrx Date: Mon, 30 Jan 2023 10:16:14 -0500 Subject: [PATCH] Core/Spells: Remove a triggered spell (not in sniff) Port From (https://github.com/TrinityCore/TrinityCore/commit/bd2deb57d2eeb102de70e5ee3e216c9baf900ed5) --- Source/Game/Spells/SpellManager.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Source/Game/Spells/SpellManager.cs b/Source/Game/Spells/SpellManager.cs index da41439ae..725a171c4 100644 --- a/Source/Game/Spells/SpellManager.cs +++ b/Source/Game/Spells/SpellManager.cs @@ -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 => {