(4efa46ffe) Limit the base priority due to devotion to 10.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:10:42 +03:00
parent cdeb6d40b3
commit 781fd44a8c
13 changed files with 113 additions and 78 deletions
@@ -1088,6 +1088,8 @@ namespace Barotrauma
private bool IsProperlyLatchedOnSub => LatchOntoAI != null && LatchOntoAI.IsAttachedToSub && SelectedAiTarget?.Entity == wallTarget?.Structure;
private bool IsProperlyLatchedOnSub => LatchOntoAI != null && LatchOntoAI.IsAttachedToSub && SelectedAiTarget?.Entity == wallTarget?.Structure;
//goes through all the AItargets, evaluates how preferable it is to attack the target,
//whether the Character can see/hear the target and chooses the most preferable target within
//sight/hearing range