Phobos
Phobos copied to clipboard
AI behavior with Ammo Deploy Unlock
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
- Make Unit (MCV) with Ammo.DeployUnlockMinimumAmount / Ammo.DeployUnlockMaximumAmount;
- Make initial ammo that requires to recharge to deploy;
- 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).