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

This commit is contained in:
Treeston
2018-08-27 19:43:36 +02:00
parent 710488ea20
commit 408ce48732

View File

@@ -627,7 +627,7 @@ void ThreatManager::ForwardThreatForAssistingMe(Unit* assistant, float baseAmoun
for (auto const& pair : _threatenedByMe)
{
Creature* owner = pair.second->GetOwner();
if (!owner->HasBreakableByDamageCrowdControlAura())
if (!owner->HasUnitState(UNIT_STATE_CONTROLLED))
canBeThreatened.push_back(owner);
else
cannotBeThreatened.push_back(owner);