From 7aa1d7aa7ace8ac48751513b2e7aae6fd454f65c Mon Sep 17 00:00:00 2001 From: hondacrx Date: Thu, 26 May 2022 16:32:13 -0400 Subject: [PATCH] Core/Spells: players shouldn't force their orientation (serverside) on each periodictick when channeling Port From (https://github.com/TrinityCore/TrinityCore/commit/0d51e52aa608c85517035fb378500be01b0e578e) --- Source/Game/Spells/Auras/AuraEffect.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Game/Spells/Auras/AuraEffect.cs b/Source/Game/Spells/Auras/AuraEffect.cs index 2f9ef1916..f33c587cc 100644 --- a/Source/Game/Spells/Auras/AuraEffect.cs +++ b/Source/Game/Spells/Auras/AuraEffect.cs @@ -514,7 +514,8 @@ namespace Game.Spells Unit target = aurApp.GetTarget(); // Update serverside orientation of tracking channeled auras on periodic update ticks - if (caster != null && m_spellInfo.IsChanneled() && m_spellInfo.HasAttribute(SpellAttr1.ChannelTrackTarget) && !caster.m_unitData.ChannelObjects.Empty()) + // exclude players because can turn during channeling and shouldn't desync orientation client/server + if (caster != null && !caster.IsPlayer() && m_spellInfo.IsChanneled() && m_spellInfo.HasAttribute(SpellAttr1.ChannelTrackTarget) && caster.m_unitData.ChannelObjects.Size()) { ObjectGuid channelGuid = caster.m_unitData.ChannelObjects[0]; if (channelGuid != caster.GetGUID())