Expose sortie formation role counts

This commit is contained in:
2026-07-09 14:17:33 +09:00
parent ec72c96635
commit 18133dc538
2 changed files with 3 additions and 0 deletions

View File

@@ -283,6 +283,7 @@ type SortiePlanSummary = {
recommendationCoverageComplete: boolean;
deploymentLine: string;
formationCoverageComplete: boolean;
formationRoleCounts: Record<SortieFormationRole, number>;
recommendationLine: string;
recruitedLine: string;
reserveLine: string;
@@ -13433,6 +13434,7 @@ export class CampScene extends Phaser.Scene {
recommendationCoverageComplete: missingRecommended.length === 0 && missingClassRecommendations.length === 0,
deploymentLine: roleLine,
formationCoverageComplete: roleCounts.front > 0 && roleCounts.flank > 0 && roleCounts.support > 0,
formationRoleCounts: roleCounts,
recommendationLine: recommended.length > 0
? `추천 무장 ${recommendedSelectedCount}/${recommended.length} · 병종 ${recommendedClassCoverageLine}`
: `추천 병종 ${recommendedClassCoverageLine}`,