mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Threat: Further tweak to assist threat, all CC now prevents assist threat splitting (not just damage-breakable CC)
(cherry picked from commit 408ce48732)
This commit is contained in:
@@ -635,7 +635,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);
|
||||
|
||||
Reference in New Issue
Block a user