Expose sortie plan readiness

This commit is contained in:
2026-07-09 14:19:17 +09:00
parent 01181a066a
commit 6c012b579e
2 changed files with 3 additions and 0 deletions

View File

@@ -9624,6 +9624,7 @@ function assertSortieTacticalRoster(state, requiredUnitIds) {
!Array.isArray(state.sortiePlan.formationSlots) ||
state.sortiePlan.formationSlots.length < 3 ||
typeof state.sortiePlan.warningCount !== 'number' ||
typeof state.sortiePlan.ready !== 'boolean' ||
typeof state.sortiePlan.activeBondCount !== 'number' ||
typeof state.sortiePlan.terrainScore !== 'number' ||
typeof state.sortiePlan.recommendedSelectedCount !== 'number' ||

View File

@@ -299,6 +299,7 @@ type SortiePlanSummary = {
formationSlots: SortieFormationSlot[];
warningLine: string;
warningCount: number;
ready: boolean;
warnings: string[];
};
@@ -13461,6 +13462,7 @@ export class CampScene extends Phaser.Scene {
formationSlots,
warningLine: warnings[0] ?? (hasBattle ? '배치 균형 양호' : '동행 균형 양호'),
warningCount: warnings.length,
ready: warnings.length === 0,
warnings
};
}