Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

AI behavior with Ammo Deploy Unlock

Open Fryone opened this issue 9 months ago • 0 comments

Description

Ammo.DeployUnlockMinimumAmount and Ammo.DeployUnlockMaximumAmount are ignored by the AI player.

Phobos Version

latest

Conditions to reproduce

No response

INI code


Steps to reproduce

  1. Make Unit (MCV) with Ammo.DeployUnlockMinimumAmount / Ammo.DeployUnlockMaximumAmount;
  2. Make initial ammo that requires to recharge to deploy;
  3. Give it to AI. ...

Expected behaviour

The AI will wait until ammo amount of unit satisfied Ammo.DeployUnlockMinimumAmount / Ammo.DeployUnlockMaximumAmount to deploy it.

Actual behaviour

The AI will deploy it anyway, right on trigger.

Additional context

Also: TO DO in the future is to be able to make buildings respect this rule.

Checklist

  • [x] The issue happens on the latest official version of Phobos and wasn't fixed yet.
  • [x] I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
  • [x] I added a very descriptive title to this issue.
  • [x] I used the GitHub search and read the issue list to find a similar issue and didn't find it.
  • [x] I have attached as much information as possible (screenshots, gifs, videos, debug and exception logs, etc).

Fryone avatar Apr 16 '25 15:04 Fryone