(3241b8fe7) Adjust the priorities. The orders should now always have higher priority than other objectives (except find safety and combat).
This commit is contained in:
+1
-1
@@ -277,7 +277,7 @@ namespace Barotrauma
|
||||
Priority = MathHelper.Clamp(Priority, 0, 100);
|
||||
if (divingGearObjective != null && !divingGearObjective.IsCompleted() && divingGearObjective.CanBeCompleted)
|
||||
{
|
||||
Priority = Math.Max(Priority, AIObjectiveManager.OrderPriority + 10);
|
||||
Priority = Math.Max(Priority, Math.Min(AIObjectiveManager.OrderPriority + 10, 100));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user