Expose sortie plan readiness
This commit is contained in:
@@ -9624,6 +9624,7 @@ function assertSortieTacticalRoster(state, requiredUnitIds) {
|
||||
!Array.isArray(state.sortiePlan.formationSlots) ||
|
||||
state.sortiePlan.formationSlots.length < 3 ||
|
||||
typeof state.sortiePlan.warningCount !== 'number' ||
|
||||
typeof state.sortiePlan.ready !== 'boolean' ||
|
||||
typeof state.sortiePlan.activeBondCount !== 'number' ||
|
||||
typeof state.sortiePlan.terrainScore !== 'number' ||
|
||||
typeof state.sortiePlan.recommendedSelectedCount !== 'number' ||
|
||||
|
||||
@@ -299,6 +299,7 @@ type SortiePlanSummary = {
|
||||
formationSlots: SortieFormationSlot[];
|
||||
warningLine: string;
|
||||
warningCount: number;
|
||||
ready: boolean;
|
||||
warnings: string[];
|
||||
};
|
||||
|
||||
@@ -13461,6 +13462,7 @@ export class CampScene extends Phaser.Scene {
|
||||
formationSlots,
|
||||
warningLine: warnings[0] ?? (hasBattle ? '배치 균형 양호' : '동행 균형 양호'),
|
||||
warningCount: warnings.length,
|
||||
ready: warnings.length === 0,
|
||||
warnings
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user