mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-19 03:45:43 +00:00
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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user