Add campaign battle rewards

This commit is contained in:
2026-07-03 23:21:30 +09:00
parent aafe210977
commit 0c4e358284
5 changed files with 265 additions and 13 deletions

View File

@@ -378,6 +378,16 @@ export type BattleSortieDefinition = {
note: string;
};
export type BattleCampaignRewardDefinition = {
supplies?: string[];
equipment?: string[];
reputation?: string[];
recruits?: string[];
unlockBattleId?: BattleScenarioId;
unlockLabel?: string;
note?: string;
};
export type BattleScenarioDefinition = {
id: BattleScenarioId;
title: string;
@@ -395,6 +405,7 @@ export type BattleScenarioDefinition = {
objectives: BattleObjectiveDefinition[];
defeatConditions: BattleDefeatConditionDefinition[];
itemRewards: string[];
campaignReward?: BattleCampaignRewardDefinition;
victoryPages: StoryPage[];
nextCampScene: string;
};
@@ -448,6 +459,15 @@ export const firstBattleScenario: BattleScenarioDefinition = {
],
defeatConditions: [{ kind: 'unit-defeated', unitId: 'liu-bei' }],
itemRewards: ['콩 1', '탁주 1', '의용군 명성 +1'],
campaignReward: {
supplies: ['콩 1', '탁주 1'],
equipment: ['연습검 1'],
reputation: ['의용군 명성 +1'],
recruits: ['guan-yu', 'zhang-fei'],
unlockBattleId: 'second-battle-yellow-turban-pursuit',
unlockLabel: '황건 잔당 추격 개방',
note: '도원 형제의 의용군이 정식으로 출전 가능한 부대로 정리됩니다.'
},
victoryPages: firstBattleVictoryPages,
nextCampScene: 'CampScene'
};
@@ -521,6 +541,14 @@ export const secondBattleScenario: BattleScenarioDefinition = {
],
defeatConditions: [{ kind: 'unit-defeated', unitId: 'liu-bei' }],
itemRewards: ['콩 2', '상처약 1', '탁주 1', '의용군 명성 +2'],
campaignReward: {
supplies: ['콩 2', '상처약 1', '탁주 1'],
equipment: ['황건 부적 1'],
reputation: ['의용군 명성 +2'],
unlockBattleId: 'third-battle-guangzong-road',
unlockLabel: '광종 구원로 개방',
note: '북쪽 마을 보급과 잔당 추격 기록이 다음 전투 준비에 반영됩니다.'
},
victoryPages: secondBattleVictoryPages,
nextCampScene: 'CampScene'
};
@@ -594,6 +622,14 @@ export const thirdBattleScenario: BattleScenarioDefinition = {
],
defeatConditions: [{ kind: 'unit-defeated', unitId: 'liu-bei' }],
itemRewards: ['콩 2', '상처약 1', '의용군 명성 +3'],
campaignReward: {
supplies: ['콩 2', '상처약 1'],
equipment: ['단궁 1'],
reputation: ['의용군 명성 +3'],
unlockBattleId: 'fourth-battle-guangzong-camp',
unlockLabel: '광종 본영전 개방',
note: '광종 구원로 확보로 본영 진입 정보가 열립니다.'
},
victoryPages: thirdBattleVictoryPages,
nextCampScene: 'CampScene'
};
@@ -667,6 +703,14 @@ export const fourthBattleScenario: BattleScenarioDefinition = {
],
defeatConditions: [{ kind: 'unit-defeated', unitId: 'liu-bei' }],
itemRewards: ['콩 2', '상처약 1', '탁주 1', '황건 토벌 공적 +1'],
campaignReward: {
supplies: ['콩 2', '상처약 1', '탁주 1'],
equipment: ['황건도 1'],
reputation: ['황건 토벌 공적 +1'],
unlockBattleId: 'fifth-battle-sishui-vanguard',
unlockLabel: '사수관 전초전 개방',
note: '황건 본영 토벌 공적이 반동탁 연합 합류 명분으로 이어집니다.'
},
victoryPages: fourthBattleVictoryPages,
nextCampScene: 'CampScene'
};
@@ -740,6 +784,14 @@ export const fifthBattleScenario: BattleScenarioDefinition = {
],
defeatConditions: [{ kind: 'unit-defeated', unitId: 'liu-bei' }],
itemRewards: ['콩 2', '상처약 1', '탁주 1', '반동탁 공적 +1'],
campaignReward: {
supplies: ['콩 2', '상처약 1', '탁주 1'],
equipment: ['찰갑 1'],
reputation: ['반동탁 공적 +1'],
unlockBattleId: 'sixth-battle-jieqiao-relief',
unlockLabel: '계교 원군로 개방',
note: '사수관 전초 진지의 전과가 공손찬 진영의 신뢰로 연결됩니다.'
},
victoryPages: fifthBattleVictoryPages,
nextCampScene: 'CampScene'
};