Expose reserve bond partner counts
This commit is contained in:
@@ -9597,6 +9597,7 @@ function assertSortieTacticalRoster(state, requiredUnitIds) {
|
||||
!unit.reserveTrainingFocusId ||
|
||||
!unit.reserveTrainingFocusLabel ||
|
||||
typeof unit.reserveTrainingBondPreviewLine !== 'string' ||
|
||||
typeof unit.reserveTrainingBondPartnerCount !== 'number' ||
|
||||
typeof unit.reserveTrainingPlanLine !== 'string'
|
||||
);
|
||||
});
|
||||
@@ -9651,6 +9652,7 @@ function assertSortieTacticalRoster(state, requiredUnitIds) {
|
||||
!state.sortieFocusedUnit.reserveTrainingFocusId ||
|
||||
!state.sortieFocusedUnit.reserveTrainingFocusLabel ||
|
||||
typeof state.sortieFocusedUnit.reserveTrainingBondPreviewLine !== 'string' ||
|
||||
typeof state.sortieFocusedUnit.reserveTrainingBondPartnerCount !== 'number' ||
|
||||
typeof state.sortieFocusedUnit.reserveTrainingPlanLine !== 'string' ||
|
||||
typeof state.sortieFocusedUnit.terrainScore !== 'number' ||
|
||||
!state.sortieFocusedUnit.terrainGrade ||
|
||||
|
||||
@@ -211,6 +211,7 @@ type SortieFocusedUnitSummary = SortieUnitTacticalSummary & {
|
||||
reserveTrainingFocusId: CampaignReserveTrainingFocusId;
|
||||
reserveTrainingFocusLabel: string;
|
||||
reserveTrainingBondPreviewLine: string;
|
||||
reserveTrainingBondPartnerCount: number;
|
||||
reserveTrainingPlanLine: string;
|
||||
terrainScore: number;
|
||||
terrainGrade: string;
|
||||
@@ -13206,6 +13207,7 @@ export class CampScene extends Phaser.Scene {
|
||||
reserveTrainingFocusId: reserveTrainingFocus.id,
|
||||
reserveTrainingFocusLabel: reserveTrainingFocus.label,
|
||||
reserveTrainingBondPreviewLine: this.reserveTrainingBondPreviewLine(unit),
|
||||
reserveTrainingBondPartnerCount: this.reserveTrainingBondPartnerNames(unit).length,
|
||||
reserveTrainingPlanLine: this.reserveTrainingPlanLine(unit),
|
||||
terrainScore,
|
||||
terrainGrade: this.sortieTerrainGrade(terrainScore),
|
||||
@@ -15807,6 +15809,7 @@ export class CampScene extends Phaser.Scene {
|
||||
reserveTrainingFocusId: reserveTrainingFocus.id,
|
||||
reserveTrainingFocusLabel: reserveTrainingFocus.label,
|
||||
reserveTrainingBondPreviewLine: this.reserveTrainingBondPreviewLine(unit),
|
||||
reserveTrainingBondPartnerCount: this.reserveTrainingBondPartnerNames(unit).length,
|
||||
reserveTrainingPlanLine: this.reserveTrainingPlanLine(unit),
|
||||
recommended: Boolean(this.sortieRecommendation(unit.id)),
|
||||
recommendationReason: this.sortieRecommendation(unit.id)?.reason ?? null,
|
||||
|
||||
Reference in New Issue
Block a user