Expose sortie formation coverage

This commit is contained in:
2026-07-09 14:16:41 +09:00
parent a7397c2e0b
commit ec72c96635
2 changed files with 3 additions and 0 deletions

View File

@@ -9614,6 +9614,7 @@ function assertSortieTacticalRoster(state, requiredUnitIds) {
if (
!state.sortiePlan ||
!state.sortiePlan.deploymentLine?.includes('전열') ||
typeof state.sortiePlan.formationCoverageComplete !== 'boolean' ||
!state.sortiePlan.objectiveLine ||
!state.sortiePlan.reserveTrainingLine?.includes('대기 훈련') ||
!state.sortiePlan.reserveTrainingPreviewLine ||

View File

@@ -282,6 +282,7 @@ type SortiePlanSummary = {
recommendedClassMissingLabels: string[];
recommendationCoverageComplete: boolean;
deploymentLine: string;
formationCoverageComplete: boolean;
recommendationLine: string;
recruitedLine: string;
reserveLine: string;
@@ -13431,6 +13432,7 @@ export class CampScene extends Phaser.Scene {
recommendedClassMissingLabels: missingClassRecommendations.map((entry) => entry.label),
recommendationCoverageComplete: missingRecommended.length === 0 && missingClassRecommendations.length === 0,
deploymentLine: roleLine,
formationCoverageComplete: roleCounts.front > 0 && roleCounts.flank > 0 && roleCounts.support > 0,
recommendationLine: recommended.length > 0
? `추천 무장 ${recommendedSelectedCount}/${recommended.length} · 병종 ${recommendedClassCoverageLine}`
: `추천 병종 ${recommendedClassCoverageLine}`,