make repair ships standby with rest of fleet if there is no one to repair (instead of advancing towards the enemy stations)

This commit is contained in:
2026-06-18 21:43:55 +02:00
parent abab2bbb6e
commit c371b43a6d
14 changed files with 208 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
#pragma once
class EntityAdmin;
// Constant low-priority fallback for repair-capable ships: gives a fixed score
// just above Advance so a repair ship with nothing more urgent to do holds with
// its fleet (StandbyExecutor) instead of charging the enemy.
class StandbyEvaluator
{
public:
void evaluate(EntityAdmin& admin);
};