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:
67010623a0
This commit is contained in:
Saqra1
2024-09-11 10:37:56 -05:00
committed by GitHub
parent 4734582e58
commit 321ac4a8c2

View File

@@ -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];