From 2ad7cccb0a7b9a1aa15b77cc3a84fb6b56c881d2 Mon Sep 17 00:00:00 2001 From: Jelle Meeus Date: Fri, 9 May 2025 12:15:03 +0200 Subject: [PATCH] fix(Core/Spells): Heart of the Crusader (#22070) --- .../game/Spells/SpellInfoCorrections.cpp | 24 ++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/src/server/game/Spells/SpellInfoCorrections.cpp b/src/server/game/Spells/SpellInfoCorrections.cpp index 7f219af1e..b59d4e942 100644 --- a/src/server/game/Spells/SpellInfoCorrections.cpp +++ b/src/server/game/Spells/SpellInfoCorrections.cpp @@ -5014,9 +5014,27 @@ void SpellMgr::LoadSpellInfoCorrections() // Heart of the Crusader ApplySpellFix({ 20335, 20336, 20337 }, [](SpellInfo* spellInfo) { - spellInfo->Effects[EFFECT_2].Effect = SPELL_EFFECT_APPLY_AURA; - spellInfo->Effects[EFFECT_2].TargetA = SpellImplicitTargetInfo(TARGET_UNIT_TARGET_ENEMY); - spellInfo->Effects[EFFECT_2].ApplyAuraName = SPELL_AURA_DUMMY; + spellInfo->Effects[EFFECT_1].Effect = SPELL_EFFECT_APPLY_AURA; + spellInfo->Effects[EFFECT_1].TargetA = SpellImplicitTargetInfo(TARGET_UNIT_TARGET_ENEMY); + spellInfo->Effects[EFFECT_1].ApplyAuraName = SPELL_AURA_DUMMY; + }); + + // Heart of the Crusader (Rank 1) + ApplySpellFix({ 20335 }, [](SpellInfo* spellInfo) + { + spellInfo->Effects[EFFECT_1].TriggerSpell = 21183; // Heart of the Crusader (Rank 1) + }); + + // Heart of the Crusader (Rank 2) + ApplySpellFix({ 20336 }, [](SpellInfo* spellInfo) + { + spellInfo->Effects[EFFECT_1].TriggerSpell = 54498; // Heart of the Crusader (Rank 2) + }); + + // Heart of the Crusader (Rank 3) + ApplySpellFix({ 20337 }, [](SpellInfo* spellInfo) + { + spellInfo->Effects[EFFECT_1].TriggerSpell = 54499; // Heart of the Crusader (Rank 3) }); // Gordok Ogre Suit