Expose sortie recommendation completion

This commit is contained in:
2026-07-09 14:15:47 +09:00
parent 807749b1aa
commit a7397c2e0b
2 changed files with 3 additions and 0 deletions

View File

@@ -9629,6 +9629,7 @@ function assertSortieTacticalRoster(state, requiredUnitIds) {
typeof state.sortiePlan.recommendedClassSelectedCount !== 'number' ||
typeof state.sortiePlan.recommendedClassTotal !== 'number' ||
!Array.isArray(state.sortiePlan.recommendedClassMissingLabels) ||
typeof state.sortiePlan.recommendationCoverageComplete !== 'boolean' ||
typeof state.sortiePlan.reserveTrainingExpPreview !== 'number' ||
typeof state.sortiePlan.reserveTrainingEquipmentPreview !== 'number' ||
typeof state.sortiePlan.reserveTrainingBondPreview !== 'number' ||

View File

@@ -280,6 +280,7 @@ type SortiePlanSummary = {
recommendedClassSelectedCount: number;
recommendedClassTotal: number;
recommendedClassMissingLabels: string[];
recommendationCoverageComplete: boolean;
deploymentLine: string;
recommendationLine: string;
recruitedLine: string;
@@ -13428,6 +13429,7 @@ export class CampScene extends Phaser.Scene {
recommendedClassSelectedCount,
recommendedClassTotal: recommendedClasses.length,
recommendedClassMissingLabels: missingClassRecommendations.map((entry) => entry.label),
recommendationCoverageComplete: missingRecommended.length === 0 && missingClassRecommendations.length === 0,
deploymentLine: roleLine,
recommendationLine: recommended.length > 0
? `추천 무장 ${recommendedSelectedCount}/${recommended.length} · 병종 ${recommendedClassCoverageLine}`