Skip to content

2022-June-05 - Prerelease - 2.6.857

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 05 Jun 03:20
2d192ac
ProAI: Move consumable infra units towards factories. (#10567)

ProAI: Move consumable infra units towards factories.

With this change, the Hard AI will move consumable infra units towards factories, either getting there in one turn or choosing a safe multi-turn path.

Additionally, this change makes the AI be able to handle maps where there is only a single move (combat) phase, doing all of its moves in that phase. (Maps with both phases work as before.)

Adds a smoke test covering this functionality.