Skip to content

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

Open
@Crimsonum

Description

@Crimsonum

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    vanilla-bugSomething isn't working in the original game

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions