beyond-all-reason / beyond-all-reason/RecoilEngine

Builder fight/patrol looks at health only, not build %

Open
#1,048 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
679
Forks
290
Avg merge
3d 2h
Merged PRs (30d)
40

Description

![image](https://github.com/beyond-all-reason/spring/assets/2573076/e46b4b0e-99a4-44ab-8cbe-f12146311b82)

The builder is on a Patrol command (which is a Fight command under the hood) and will normally assist nearby construction. But not if the construction is at full health. It should not consider full health an obstacle to assist construction.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by tracing the Fight/Patrol command's builder-assist check and compare how it uses health with construction progress. Done means a builder on Patrol assists nearby construction even when the target is at full health but not fully built, with existing behavior preserved for completed structures.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.