Expose reserve drill focus on roster debug rows
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user