fix(Core/Spells): Use owner as summoner when assigning temp summon ally (#25393)
This commit is contained in:
@@ -2493,8 +2493,8 @@ void Spell::EffectSummonType(SpellEffIndex effIndex)
|
|||||||
|
|
||||||
if (properties->Category == SUMMON_CATEGORY_ALLY)
|
if (properties->Category == SUMMON_CATEGORY_ALLY)
|
||||||
{
|
{
|
||||||
summon->SetOwnerGUID(m_originalCaster->GetGUID());
|
summon->SetOwnerGUID(summoner->GetGUID());
|
||||||
summon->SetFaction(m_originalCaster->GetFaction());
|
summon->SetFaction(summoner->GetFaction());
|
||||||
}
|
}
|
||||||
|
|
||||||
ExecuteLogEffectSummonObject(effIndex, summon);
|
ExecuteLogEffectSummonObject(effIndex, summon);
|
||||||
|
|||||||
Reference in New Issue
Block a user