From c4bc8c63629058f236b2503249985df56664801f Mon Sep 17 00:00:00 2001 From: hondacrx Date: Sun, 2 Jan 2022 12:40:12 -0500 Subject: [PATCH] Core/Spells: fixed root behaivior of creatures that are being rooted via movement template while getting a root aura removed Port From (https://github.com/TrinityCore/TrinityCore/commit/d01a22f58ea19ce9ec71ea7c26adfbdea183fbd2) --- Source/Game/Entities/Unit/Unit.Movement.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Entities/Unit/Unit.Movement.cs b/Source/Game/Entities/Unit/Unit.Movement.cs index 27b99c078..6a29790bf 100644 --- a/Source/Game/Entities/Unit/Unit.Movement.cs +++ b/Source/Game/Entities/Unit/Unit.Movement.cs @@ -1176,7 +1176,7 @@ namespace Game.Entities SetStunned(false); break; case UnitState.Root: - if (HasAuraType(AuraType.ModRoot) || HasAuraType(AuraType.ModRoot2) || GetVehicle() != null) + if (HasAuraType(AuraType.ModRoot) || HasAuraType(AuraType.ModRoot2) || GetVehicle() != null || (IsCreature() && ToCreature().GetMovementTemplate().IsRooted())) return; ClearUnitState(state);