mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 14:46:24 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user