Core/Threat: Further tweak to assist threat, all CC now prevents assist threat splitting (not just damage-breakable CC)

Port From (https://github.com/TrinityCore/TrinityCore/commit/7a503ff597bf07c12202c510de8245b76755b668)
This commit is contained in:
hondacrx
2021-11-01 12:10:04 -04:00
parent 1e4fa35ac2
commit 9edca0bd50
+1 -1
View File
@@ -565,7 +565,7 @@ namespace Game.Combat
foreach (var pair in _threatenedByMe)
{
Creature owner = pair.Value.GetOwner();
if (!owner.HasBreakableByDamageCrowdControlAura())
if (!owner.HasUnitState(UnitState.Controlled))
canBeThreatened.Add(owner);
else
cannotBeThreatened.Add(owner);