summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSaqra1 <161769195+Saqra1@users.noreply.github.com>2024-09-11 10:37:56 -0500
committerGitHub <noreply@github.com>2024-09-11 12:37:56 -0300
commit321ac4a8c23ba5e006239fceb89eb8409135bed4 (patch)
tree3247ee7fd9cf3187ef990666d435ffdb24d640d3 /src
parent4734582e5853acbeeadeeed45f19337374f2b3f1 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/SpellInfoCorrections.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/server/game/Spells/SpellInfoCorrections.cpp b/src/server/game/Spells/SpellInfoCorrections.cpp
index 7195b7c974..f88dfbdc93 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];