FAForever / FAForever/fa

[Bug]: Restorer does not consistently fire its AA missiles while its laser is firing

Open
#7,046 0 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
Lua
Stars
264
Forks
260
Avg merge
3d 2h
Merged PRs (30d)
21

Description

### Describe the Bug

It is missing `NotExclusive` on the three weapons so they have a chance of conflicting.
Additionally, `AutoInitiateAttackCommand` on one of the missiles prevents it from firing while a ground target attack order is assigned.
I did not test if `PrefersPrimaryWeaponTarget` interferes as well, but it likely does.

### Reproduce the bug

Disable damage, then spawn an enemy structure, an enemy czar, and a restorer. Watch how when it is only in range of the czar it fires 2 missiles, but when it is on a groundfire order it only fires one.

### Screenshots

Image

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.