Let bot Deviators prioritize vehicles.

This commit is contained in:
Matthias Mailänder
2022-10-03 17:49:24 +02:00
committed by abcdefg30
parent 0b6f335c9f
commit ee35cbc0d0
2 changed files with 9 additions and 1 deletions

View File

@@ -153,6 +153,14 @@
AttackMoveCondition: attack-move
AssaultMoveCondition: assault-move
^AutoTargetVehicleAssaultMove:
Inherits: ^AutoTargetGroundAssaultMove
AutoTargetPriority@VEHICLES:
ValidTargets: Vehicle
InvalidTargets: Infantry, Structure, Defense
RequiresCondition: bot-owned
Priority: 10
^AutoTargetAll:
AutoTarget:
AttackAnythingCondition: stance-attackanything

View File

@@ -514,7 +514,7 @@ stealth_raider:
deviator:
Inherits: ^Tank
Inherits@GAINSEXPERIENCE: ^GainsExperience
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
Inherits@AUTOTARGET: ^AutoTargetVehicleAssaultMove
Valued:
Cost: 1000
Tooltip: