From 7ffe2ee2992b4d0593f176e66113079600d87817 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Sun, 8 Aug 2021 14:57:54 -0400 Subject: [PATCH] Core/Spells: Use caster as chat source in Spell::EffectSendChatMessage Port From (https://github.com/TrinityCore/TrinityCore/commit/fcead0b4eae298c1a46c42fea56a3b3b9ae2bf8f) --- Source/Game/Spells/SpellEffects.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Spells/SpellEffects.cs b/Source/Game/Spells/SpellEffects.cs index b9a94711b..f1b2b65cb 100644 --- a/Source/Game/Spells/SpellEffects.cs +++ b/Source/Game/Spells/SpellEffects.cs @@ -5701,7 +5701,7 @@ namespace Game.Spells return; ChatMsg chatType = (ChatMsg)effectInfo.MiscValueB; - unitTarget.Talk(broadcastTextId, chatType, Global.CreatureTextMgr.GetRangeForChatType(chatType), unitTarget); + m_caster.Talk(broadcastTextId, chatType, Global.CreatureTextMgr.GetRangeForChatType(chatType), unitTarget); } }