From a877369f489aa8b03507b8ed952c9c607cb72085 Mon Sep 17 00:00:00 2001 From: Wickedness Date: Thu, 9 Jul 2026 13:52:26 +0900 Subject: [PATCH] Show reserve drill plan in focused officer panel --- src/game/scenes/CampScene.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/game/scenes/CampScene.ts b/src/game/scenes/CampScene.ts index 363fd73..bf0d843 100644 --- a/src/game/scenes/CampScene.ts +++ b/src/game/scenes/CampScene.ts @@ -12806,7 +12806,12 @@ export class CampScene extends Phaser.Scene { ? '출전 등록' : '동행 등록'; this.renderSortiePanelButton(actionLabel, x + 18, y + height - 28, 108, 22, availability.available, selected, () => this.toggleSortieUnit(unit.id), depth + 1); - this.trackSortie(this.add.text(x + 140, y + height - 24, hasBattle ? `${roleLabel} · 역할은 중앙 버튼으로 변경` : `${roleLabel} · 의정 역할은 중앙 버튼으로 변경`, this.textStyle(10, selected ? '#a8ffd0' : '#9fb0bf', true))).setDepth(depth + 1); + const footerText = selected + ? hasBattle + ? `${roleLabel} · 역할은 중앙 버튼으로 변경` + : `${roleLabel} · 의정 역할은 중앙 버튼으로 변경` + : `${this.campaign?.reserveTrainingAssignments[unit.id] ? '개별' : '기본'} ${this.reserveTrainingFocusDefinitionForUnit(unit.id).label} 예정`; + this.trackSortie(this.add.text(x + 140, y + height - 24, footerText, this.textStyle(10, selected ? '#a8ffd0' : '#9fb0bf', true))).setDepth(depth + 1); } private renderSortieBattleUiIcon(iconKey: BattleUiIconKey, x: number, y: number, size: number, depth: number, alpha = 1) {