Skip to content

Allow AI to use unit's target ability in CA#16

Open
dnqbob wants to merge 6 commits into
darkademic:devfrom
dnqbob:botissueorder
Open

Allow AI to use unit's target ability in CA#16
dnqbob wants to merge 6 commits into
darkademic:devfrom
dnqbob:botissueorder

Conversation

@dnqbob

@dnqbob dnqbob commented Jun 27, 2026

Copy link
Copy Markdown
  1. Allow bot to use TargetedAttackAbility, SpawnActorAbility

  2. Allow bot to use GrantTimedConditionOnDeploy (new modules also support ability needs no target)

  3. Allow bot to use PortableChronoCA (note: mainly for retreat from harm)

  4. Allow bot to use TargetedLeapOrderLeap (note: mainly for retreat from harm)

(update)
5. ExternalBotOrdersManager and IssueOrderToBot is actually the upgraded version of AutoDeployManager and AutoDeployer, so I also make the replacement. The old AutoDeployManager also has a bug that it cannot consume the entries when replaying or loading game.

Note: bot can also unload cargo by using this function.

@dnqbob dnqbob force-pushed the botissueorder branch 2 times, most recently from 86627ae to 3b1483d Compare June 28, 2026 04:29
@dnqbob dnqbob marked this pull request as draft June 28, 2026 09:01
@dnqbob dnqbob marked this pull request as ready for review June 28, 2026 09:11
@dnqbob dnqbob marked this pull request as draft June 28, 2026 09:23
@dnqbob dnqbob marked this pull request as ready for review June 28, 2026 09:32
@dnqbob dnqbob force-pushed the botissueorder branch 2 times, most recently from c08ec03 to 2771746 Compare June 29, 2026 02:58
@dnqbob

dnqbob commented Jun 29, 2026

Copy link
Copy Markdown
Author

Some gifs of this PR:

ai2 ai1_enlighted

@dnqbob dnqbob force-pushed the botissueorder branch 2 times, most recently from 6c7c493 to 19edcf1 Compare June 29, 2026 08:51
@dnqbob

dnqbob commented Jul 1, 2026

Copy link
Copy Markdown
Author
ai3 ai4

@dnqbob dnqbob force-pushed the botissueorder branch 2 times, most recently from 973ab53 to 9c1c647 Compare July 4, 2026 08:43
@dnqbob

dnqbob commented Jul 8, 2026

Copy link
Copy Markdown
Author

rebased

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant