Vinifera
Vinifera copied to clipboard
[Vanilla Bug] AI does not repair structures (re)built via base nodes
First Check
- [X] I added a very descriptive title to this issue.
- [X] I used the GitHub search to find a similar issue and didn't find it.
- [X] I have attached as much information as possible (screenshots, debug and exception logs, etc).
Description
Preplaced structures have a parameter that specifies whether or not the owner AI can repair them. Skirmish AI also automatically repairs any damaged buildings. However, buildings deployed or rebuilt via base nodes have no such parameter, ergo the AI will never repair them.
This has been fixed in Phobos for Yuri's Revenge with a global setting.
Required Code (optional)
No response
Steps To Reproduce
- Make a map where the AI will (re)build a structure via base node.
- Damage the structure.
Expected Behaviour
The AI repairs the structure, if able.
Actual Behaviour
Regardless of the original structure's parameters or AI settings, the AI can never repair structures deployed via base nodes.
Additional Context
No response