From 321ac4a8c23ba5e006239fceb89eb8409135bed4 Mon Sep 17 00:00:00 2001 From: Saqra1 <161769195+Saqra1@users.noreply.github.com> Date: Wed, 11 Sep 2024 10:37:56 -0500 Subject: [PATCH] fix(Core/Spell): Summoning Portal position (#19705) * fix(Core/Spell): Summoning Portal position Summoning Portal is created in front of the caster but it is still too close to them. Move it away a bit. * Cleanup unused SpellInfo correction Spell 61994 was stopped being used for summons in favor of 23598 on: https://github.com/azerothcore/azerothcore-wotlk/commit/67010623a0670b507cbfd2ffc7e9cea7bcfca1a2 --- src/server/game/Spells/SpellInfoCorrections.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/server/game/Spells/SpellInfoCorrections.cpp b/src/server/game/Spells/SpellInfoCorrections.cpp index 7195b7c97..f88dfbdc9 100644 --- a/src/server/game/Spells/SpellInfoCorrections.cpp +++ b/src/server/game/Spells/SpellInfoCorrections.cpp @@ -3954,12 +3954,6 @@ void SpellMgr::LoadSpellInfoCorrections() spellInfo->AttributesEx7 |= SPELL_ATTR7_CAN_CAUSE_INTERRUPT; }); - // Ritual of Summoning - ApplySpellFix({ 61994 }, [](SpellInfo* spellInfo) - { - spellInfo->ManaCostPercentage = 0; // Clicking on Warlock Summoning portal should not require mana - }); - // Shadowmeld ApplySpellFix({ 58984 }, [](SpellInfo* spellInfo) { @@ -4829,6 +4823,14 @@ void SpellMgr::LoadSpellInfoCorrections() spellInfo->Effects[EFFECT_0].RadiusEntry = sSpellRadiusStore.LookupEntry(EFFECT_RADIUS_5_YARDS); }); + ApplySpellFix({ + 698, // Ritual of Summoning (portal for clicking) + 61993 // Ritual of Summoning (summons the closet) + }, [](SpellInfo* spellInfo) + { + spellInfo->Effects[EFFECT_0].RadiusEntry = sSpellRadiusStore.LookupEntry(EFFECT_RADIUS_3_YARDS); + }); + for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i) { SpellInfo* spellInfo = mSpellInfoMap[i];