Core/Threat: Fear no longer suppresses threat. All confuse effects now suppress threat, even ones that wouldn't break on damage.

Port From (https://github.com/TrinityCore/TrinityCore/commit/55cb4f9a6d614943ffe70b7e17ca74aeeafe3a18)
This commit is contained in:
hondacrx
2021-11-02 14:29:49 -04:00
parent 7a6670c61c
commit 3335ae937d
3 changed files with 16 additions and 10 deletions
+5 -1
View File
@@ -891,7 +891,11 @@ namespace Game.Combat
{
if (_victim.IsImmunedToDamage(_owner.GetMeleeDamageSchoolMask()))
return true;
if (_victim.HasBreakableByDamageCrowdControlAura())
if (_victim.HasAuraType(AuraType.ModConfuse))
return true;
if (_victim.HasBreakableByDamageAuraType(AuraType.ModStun))
return true;
return false;