From c40eb0dddc23c7535fd91b13dbd6f1db0d6ac2c3 Mon Sep 17 00:00:00 2001 From: Wickedness Date: Thu, 9 Jul 2026 13:47:23 +0900 Subject: [PATCH] Show planned reserve drill in roster cards --- src/game/scenes/CampScene.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/scenes/CampScene.ts b/src/game/scenes/CampScene.ts index 2b9f3a5..4674d83 100644 --- a/src/game/scenes/CampScene.ts +++ b/src/game/scenes/CampScene.ts @@ -15118,12 +15118,16 @@ export class CampScene extends Phaser.Scene { const role = this.sortieFormationRole(unit); const roleLabel = this.sortieFormationRoleLabel(role); const recommendation = this.sortieRecommendation(unit.id); + const plannedReserveFocus = !this.isSortieSelected(unit.id) ? this.reserveTrainingFocusDefinitionForUnit(unit.id) : undefined; + const hasIndividualReserveFocus = Boolean(this.campaign?.reserveTrainingAssignments[unit.id]); const bg = this.track(this.add.rectangle(x, y, width, 22, 0x151f2a, 0.82)); bg.setOrigin(0); bg.setStrokeStyle(1, training ? palette.green : palette.blue, training ? 0.5 : 0.34); const planText = recommendation ? this.sortieRecommendationHint(recommendation, unit, 28) : `${roleLabel} 역할로 편성 가능`; const trainingText = training ? `최근 ${training.focusLabel ?? '대기 훈련'} 경험 +${training.expGained}, 장비 +${training.equipmentExpGained}${training.bondExpGained ? `, 공명 +${training.bondExpGained}` : ''}` + : plannedReserveFocus + ? `${hasIndividualReserveFocus ? '개별' : '기본'} ${plannedReserveFocus.label} 예정` : '대기 중에도 전투 후 선택한 훈련 방침의 성장이 반영됩니다.'; this.track(this.add.text(x + 12, y + 5, `${status.label} · ${roleLabel}`, this.textStyle(11, status.tone === 'reserve' ? '#9fb0bf' : '#f2e3bf', true))); this.track(this.add.text(x + 112, y + 5, this.compactText(planText, 48), this.textStyle(11, '#d4dce6')));