fix(Core/GameObject): Use correct spell at meeting stone (#19311)

* fix(Core/GameObject): Use correct spell at meeting stone

* cleanup
This commit is contained in:
Kitzunu
2024-07-10 00:39:58 +02:00
committed by GitHub
parent 7a90d31687
commit 793f87fd61
3 changed files with 4 additions and 3 deletions

View File

@@ -1921,7 +1921,7 @@ void GameObject::Use(Unit* user)
if (info->entry == 194097)
spellId = 61994; // Ritual of Summoning
else
spellId = 59782; // Summoning Stone Effect
spellId = 23598; // Meeting Stone Summon
break;
}

View File

@@ -1066,7 +1066,7 @@ void Spell::EffectTriggerRitualOfSummoning(SpellEffIndex effIndex)
finish();
m_caster->CastSpell((Unit*)nullptr, spellInfo, false);
m_caster->CastSpell((Unit*)nullptr, spellInfo, true);
}
void Spell::EffectJump(SpellEffIndex effIndex)

View File

@@ -1943,7 +1943,8 @@ void SpellMgr::LoadSpellInfoCorrections()
});
// Ulduar, Mimiron, Magnetic Core (summon)
ApplySpellFix({ 64444 }, [](SpellInfo* spellInfo)
// Meeting Stone Summon
ApplySpellFix({ 64444, 23598 }, [](SpellInfo* spellInfo)
{
spellInfo->Effects[EFFECT_0].TargetA = SpellImplicitTargetInfo(TARGET_DEST_CASTER);
});