Expose missing recommended classes

This commit is contained in:
2026-07-09 14:14:04 +09:00
parent e3a09496be
commit d87bf51c0c
2 changed files with 3 additions and 0 deletions

View File

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

View File

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