Skip to content

2022-May-27 - Prerelease - 2.6.805

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 27 May 14:55
5926be4
Teach ProAI how to buy units that consume other units. (#10476)

Teach ProAI how to buy units that consume other units.

This is done by not treating these units as 'special' buy options that are ignored and instead to consider them normally, and instead:

  - Track units that will be consumed.
  - Don't move such units during move phases.
  - When doing combat simulation that include the placed units, omit the ones that will be consumed.