From 332eeaece8e5da32633814e7b0889d99dcf8ab48 Mon Sep 17 00:00:00 2001 From: Wickedness Date: Thu, 9 Jul 2026 13:45:22 +0900 Subject: [PATCH] Clarify individualized reserve drill preview --- src/game/scenes/CampScene.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/game/scenes/CampScene.ts b/src/game/scenes/CampScene.ts index 1fd20a7..2b9f3a5 100644 --- a/src/game/scenes/CampScene.ts +++ b/src/game/scenes/CampScene.ts @@ -13328,6 +13328,7 @@ export class CampScene extends Phaser.Scene { const selectedRecruitedCount = recruitedUnits.filter((unit) => selectedIds.has(unit.id)).length; const reserveUnits = allAllies.filter((unit) => !selectedIds.has(unit.id)); const reserveNames = reserveUnits.map((unit) => unit.name).join(', '); + const individualReserveTrainingCount = reserveUnits.filter((unit) => this.campaign?.reserveTrainingAssignments[unit.id]).length; const terrainScores = selectedUnits.map((unit) => this.sortieTerrainScore(unit, scenario)); const terrainScore = terrainScores.length ? Math.round(terrainScores.reduce((sum, score) => sum + score, 0) / terrainScores.length) @@ -13412,7 +13413,7 @@ export class CampScene extends Phaser.Scene { reserveLine: reserveUnits.length > 0 ? `대기 무장: ${reserveNames}` : scenario ? '전원 출전 중입니다.' : '전원 동행 중입니다.', reserveTrainingLine: reserveUnits.length > 0 - ? `대기 훈련 ${reserveFocus.label}: 경험 +${reserveFocus.expGained}, 장비 +${reserveFocus.equipmentExpGained}${reserveFocus.bondExpGained ? `, 공명 +${reserveFocus.bondExpGained}` : ''}` + ? `대기 훈련 ${reserveFocus.label}${individualReserveTrainingCount > 0 ? ` · 개별 ${individualReserveTrainingCount}명` : ''}: 경험 +${reserveFocus.expGained}, 장비 +${reserveFocus.equipmentExpGained}${reserveFocus.bondExpGained ? `, 공명 +${reserveFocus.bondExpGained}` : ''}` : '대기 훈련 대상 없음', reserveTrainingPreviewLine: reserveUnits.length > 0 ? this.reserveTrainingPreviewLine(reserveUnits, reserveFocus) @@ -13691,7 +13692,10 @@ export class CampScene extends Phaser.Scene { private reserveTrainingPreviewLine(reserveUnits: UnitData[], focus: CampaignReserveTrainingFocusDefinition) { const previewNames = reserveUnits.slice(0, 2).map((unit) => unit.name).join(', '); const remaining = reserveUnits.length > 2 ? ` 외 ${reserveUnits.length - 2}명` : ''; - const gainLine = `경험 +${focus.expGained} · 장비 +${focus.equipmentExpGained}${focus.bondExpGained ? ` · 공명 +${focus.bondExpGained}` : ''}`; + const individualCount = reserveUnits.filter((unit) => this.campaign?.reserveTrainingAssignments[unit.id]).length; + const gainLine = individualCount > 0 + ? `개별 ${individualCount}명 · 기본 ${focus.label}` + : `경험 +${focus.expGained} · 장비 +${focus.equipmentExpGained}${focus.bondExpGained ? ` · 공명 +${focus.bondExpGained}` : ''}`; return `${previewNames}${remaining} · ${gainLine}`; }