Expose reserve drill focus on roster debug rows

This commit is contained in:
2026-07-09 13:48:57 +09:00
parent c40eb0dddc
commit 67eb5d01a2
2 changed files with 8 additions and 1 deletions

View File

@@ -15720,6 +15720,7 @@ export class CampScene extends Phaser.Scene {
sortieRosterView: this.sortieRosterViewState(this.sortieAllies().length),
sortieRoster: this.sortieAllies().map((unit) => {
const summary = this.sortieUnitTacticalSummary(unit);
const reserveTrainingFocus = this.reserveTrainingFocusDefinitionForUnit(unit.id);
return {
id: unit.id,
name: unit.name,
@@ -15729,6 +15730,9 @@ export class CampScene extends Phaser.Scene {
className: unit.className,
classRole: getUnitClass(unit.classKey).role,
formationRole: this.sortieFormationRole(unit),
reserveTrainingAssigned: Boolean(this.campaign?.reserveTrainingAssignments[unit.id]),
reserveTrainingFocusId: reserveTrainingFocus.id,
reserveTrainingFocusLabel: reserveTrainingFocus.label,
recommended: Boolean(this.sortieRecommendation(unit.id)),
recommendationReason: this.sortieRecommendation(unit.id)?.reason ?? null,
statLine: summary.statLine,