Core/Spell: Reset threat to zero when the hunter use Feign Death

Port From (https://github.com/TrinityCore/TrinityCore/commit/a8e4add6cc7de723ea8951743b17c894aacd3b8b)
This commit is contained in:
hondacrx
2022-01-05 17:51:59 -05:00
parent b4784bd68a
commit c08ca2d0cd
+3
View File
@@ -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();