Skip to content

Commit

Permalink
fix(Core/GameObject): Use correct spell at meeting stone (azerothcore…
Browse files Browse the repository at this point in the history
…#19311)

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

* cleanup
  • Loading branch information
Kitzunu authored Jul 9, 2024
1 parent 7a90d31 commit 793f87f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/server/game/Entities/GameObject/GameObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/server/game/Spells/SpellEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion src/server/game/Spells/SpellInfoCorrections.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit 793f87f

Please sign in to comment.