mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-17 16:10:49 +01:00
Core/Refer-a-Friend: Fix a glitch in the summoning system. Thanks gyullo.
This commit is contained in:
@@ -7084,5 +7084,5 @@ void Spell::EffectSummonRaFFriend(SpellEffIndex effIndex) {
|
||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
m_caster->CastSpell(m_caster, m_spellInfo->Effects[effIndex].TriggerSpell, true);
|
||||
m_caster->CastSpell(unitTarget, m_spellInfo->Effects[effIndex].TriggerSpell, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user