Expose sortie formation coverage
This commit is contained in:
@@ -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 ||
|
||||
|
||||
@@ -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}`,
|
||||
|
||||
Reference in New Issue
Block a user