Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ai boost action capability #1862

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

DejaFu
Copy link
Contributor

@DejaFu DejaFu commented Apr 28, 2019

AI will now boost in certain circumstances.
Boost currently isn't set up to work optimally with Advanced Sensors or Supernatural Reflexes.

AI will be more likely to boost if:

  1. The boost leaves them with a shot on an enemy (or even higher if the shot is range 1)
  2. The boost leaves them with fewer enemies attacking them (or even higher if no enemies can attack them).
  3. The boost chance is increased a bit more if condition 1. and the second part of 2. are both met.

DejaFu added 2 commits April 25, 2019 20:15
Initial changes for AI taking various actions that reposition the ship.  Currently has code for boost, but hasn't been tested, as the AI needs to know what action it needs to take when the time comes to choose.
AI will now boost under certain circumstances.
Odds to boost improve with:
 - Fewer enemies being able to attack the ship.
 - Getting to range 1 against an enemy target that is in their firing arc.
 - Having at least one enemy they can shoot.
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