Core/Objects: Move personal summon handling from TemporarySummon/GameObject to WorldObject and check it using dedicated guid field
This commit is contained in:
1 parent
a40e18367a
commit
434bc017c2
8 files changed
+26
-43
No files matched your search
@@ -5565,7 +5565,7 @@ void Spell::EffectSummonPersonalGameObject(SpellEffIndex effIndex)
|
||||
|
||||
go->SetRespawnTime(duration > 0 ? duration / IN_MILLISECONDS : 0);
|
||||
go->SetSpellId(m_spellInfo->Id);
|
||||
go->SetVisibleByUnitOnly(m_caster->GetGUID());
|
||||
go->SetPrivateObjectOwner(m_caster->GetGUID());
|
||||
|
||||
ExecuteLogEffectSummonObject(effIndex, go);
|
||||
|
||||
|
||||
Reference in new issue
Block a user