diff --git a/scripts/verify-release-candidate.mjs b/scripts/verify-release-candidate.mjs index 29070df..79f9842 100644 --- a/scripts/verify-release-candidate.mjs +++ b/scripts/verify-release-candidate.mjs @@ -123,6 +123,10 @@ try { } }); assert(firstCampProbe.state?.campaign?.step === 'first-camp', `Expected victory to return to first camp: ${JSON.stringify(firstCampProbe.state)}`); + assert( + firstCampProbe.state?.nextSortieBattleId === 'second-battle-yellow-turban-pursuit', + `Expected first camp sortie flow to prepare unlocked second battle: ${JSON.stringify(firstCampProbe.state)}` + ); assert(firstCampProbe.summary?.includes('보유 군자금'), `Expected camp summary to show held gold: ${JSON.stringify(firstCampProbe)}`); assert(firstCampProbe.texts.some((text) => text.includes('전투 보상')), `Expected camp report to show battle reward: ${JSON.stringify(firstCampProbe.texts)}`); assert( diff --git a/src/game/scenes/CampScene.ts b/src/game/scenes/CampScene.ts index e03052f..1020ef3 100644 --- a/src/game/scenes/CampScene.ts +++ b/src/game/scenes/CampScene.ts @@ -15478,6 +15478,8 @@ export class CampScene extends Phaser.Scene { activeTab: this.activeTab, sortieVisible: this.sortieObjects.length > 0, sortieHasBattle: Boolean(sortieScenario), + nextSortieBattleId: sortieScenario?.id ?? null, + nextSortieBattleTitle: sortieScenario?.title ?? null, sortieRecommendationEnabled: this.canApplyRecommendedSortiePlan(sortieScenario), selectedUnitId: this.selectedUnitId, selectedDialogueId: this.selectedDialogueId,