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

[Vanilla Bug] AI does not repair structures (re)built via base nodes #1046

Open
3 tasks done
Crimsonum opened this issue Dec 13, 2023 · 0 comments
Open
3 tasks done
Labels
vanilla-bug Something isn't working in the original game

Comments

@Crimsonum
Copy link

First Check

  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • 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

  1. Make a map where the AI will (re)build a structure via base node.
  2. 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

@Crimsonum Crimsonum added the vanilla-bug Something isn't working in the original game label Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vanilla-bug Something isn't working in the original game
Projects
None yet
Development

No branches or pull requests

1 participant