From 249e81344458d9a8b3ffb51e75fb0991f6043d03 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 8 Oct 2017 14:05:57 +0100 Subject: [PATCH] Fix submarine autotarget behaviour. --- mods/ra/rules/ships.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mods/ra/rules/ships.yaml b/mods/ra/rules/ships.yaml index f468a93c3c..eea80ad476 100644 --- a/mods/ra/rules/ships.yaml +++ b/mods/ra/rules/ships.yaml @@ -1,5 +1,6 @@ SS: Inherits: ^Ship + Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove Buildable: Queue: Ship BuildAtProductionType: Submarine @@ -51,7 +52,9 @@ SS: InitialStance: HoldFire InitialStanceAI: ReturnFire AutoTargetPriority@DEFAULT: - Types: Water + ValidTargets: Water + AutoTargetPriority@ATTACKANYTHING: + ValidTargets: Water DetectCloaked: CloakTypes: Underwater Range: 4c0