diff --git a/src/game/scenes/CampScene.ts b/src/game/scenes/CampScene.ts index 7e25fd8..d32dc0a 100644 --- a/src/game/scenes/CampScene.ts +++ b/src/game/scenes/CampScene.ts @@ -12810,7 +12810,7 @@ export class CampScene extends Phaser.Scene { ? hasBattle ? `${roleLabel} · 역할은 중앙 버튼으로 변경` : `${roleLabel} · 의정 역할은 중앙 버튼으로 변경` - : `${this.campaign?.reserveTrainingAssignments[unit.id] ? '개별' : '기본'} ${this.reserveTrainingFocusDefinitionForUnit(unit.id).label} 예정`; + : this.reserveTrainingBondPreviewLine(unit) || `${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); } @@ -13704,6 +13704,20 @@ export class CampScene extends Phaser.Scene { return `${previewNames}${remaining} · ${gainLine}`; } + private reserveTrainingBondPreviewLine(unit: UnitData) { + const focus = this.reserveTrainingFocusDefinitionForUnit(unit.id); + if (focus.bondExpGained <= 0) { + return ''; + } + const partnerNames = this.currentBonds() + .filter((bond) => bond.unitIds.includes(unit.id)) + .map((bond) => this.unitName(bond.unitIds.find((unitId) => unitId !== unit.id) ?? bond.unitIds[0])) + .slice(0, 2); + return partnerNames.length > 0 + ? `공명 ${partnerNames.join(', ')} +${focus.bondExpGained}` + : '공명 대상 없음'; + } + private nextSortieBriefing() { const flow = this.currentSortieFlow(); return {