Core/Conversations: Replace _participants with generic personal object implementation

Port From (https://github.com/TrinityCore/TrinityCore/commit/3fe9b0a2961b60509d11dd38a90e7b7657b68084)
This commit is contained in:
hondacrx
2021-10-10 09:55:16 -04:00
parent c73060fde0
commit a1459617e6
4 changed files with 8 additions and 22 deletions
+2 -2
View File
@@ -5333,7 +5333,7 @@ namespace Game.Spells
if (unitCaster == null || !m_targets.HasDst())
return;
Conversation.CreateConversation((uint)effectInfo.MiscValue, unitCaster, destTarget.GetPosition(), new List<ObjectGuid>() { GetCaster().GetGUID() }, GetSpellInfo());
Conversation.CreateConversation((uint)effectInfo.MiscValue, unitCaster, destTarget.GetPosition(), ObjectGuid.Empty, GetSpellInfo());
}
[SpellEffectHandler(SpellEffectName.AddGarrisonFollower)]
@@ -5681,7 +5681,7 @@ namespace Game.Spells
if (unitCaster == null || unitTarget == null || !unitTarget.IsPlayer())
return;
Conversation.CreateConversation((uint)effectInfo.MiscValue, unitCaster, unitTarget.GetPosition(), new List<ObjectGuid>() { unitTarget.GetGUID() }, GetSpellInfo());
Conversation.CreateConversation((uint)effectInfo.MiscValue, unitCaster, unitTarget.GetPosition(), unitTarget.GetGUID(), GetSpellInfo());
}
[SpellEffectHandler(SpellEffectName.SendChatMessage)]