Expose missing recommended classes
This commit is contained in:
@@ -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' ||
|
||||||
|
|||||||
@@ -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}`
|
||||||
|
|||||||
Reference in New Issue
Block a user