From c08ca2d0cdbd0bd18c295d1dc6ae1408a57d17d8 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Wed, 5 Jan 2022 17:51:59 -0500 Subject: [PATCH] Core/Spell: Reset threat to zero when the hunter use Feign Death Port From (https://github.com/TrinityCore/TrinityCore/commit/a8e4add6cc7de723ea8951743b17c894aacd3b8b) --- Source/Game/Spells/Auras/AuraEffect.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Game/Spells/Auras/AuraEffect.cs b/Source/Game/Spells/Auras/AuraEffect.cs index e2f1aed84..92968f5c8 100644 --- a/Source/Game/Spells/Auras/AuraEffect.cs +++ b/Source/Game/Spells/Auras/AuraEffect.cs @@ -1652,6 +1652,9 @@ namespace Game.Spells } } + foreach (var pair in target.GetThreatManager().GetThreatenedByMeList()) + pair.Value.ScaleThreat(0.0f); + if (target.GetMap().IsDungeon()) // feign death does not remove combat in dungeons { target.AttackStop();