diff --git a/project/SPT.Custom/Patches/AllScavsHostileHostileToPlayerScavPatch.cs b/project/SPT.Custom/Patches/AllScavsHostileHostileToPlayerScavPatch.cs index 80a828e..cdf0291 100644 --- a/project/SPT.Custom/Patches/AllScavsHostileHostileToPlayerScavPatch.cs +++ b/project/SPT.Custom/Patches/AllScavsHostileHostileToPlayerScavPatch.cs @@ -45,11 +45,14 @@ namespace SPT.Custom.Patches bool differentSide = aggressor.Side != group.Side; bool sameSide = aggressor.Side == target.Side; - if (!group.Enemies.ContainsKey(aggressor) + if (!group.HaveFollowTarget(aggressor) + && !group.Enemies.ContainsKey(aggressor) && (differentSide || !sameSide) && !group.HaveMemberWithRole(WildSpawnType.gifter) - && group.ShallRevengeFor(target) - ) + && !group.HaveMemberWithRole(WildSpawnType.sectantWarrior) + && !group.HaveMemberWithRole(WildSpawnType.sectantPriest) + && !group.InitialFileSettings.Boss.NOT_ADD_TO_ENEMY_ON_KILLS + && group.ShallRevengeFor(target)) { group.AddEnemy(aggressor, EBotEnemyCause.AddEnemyToAllGroupsInBotZone); }