Add Xiaopei supply road battle
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
import {
|
||||
firstBattleBonds,
|
||||
eighthBattleBonds,
|
||||
eighthBattleMap,
|
||||
eighthBattleUnits,
|
||||
eighthBattleVictoryPages,
|
||||
firstBattleMap,
|
||||
firstBattleUnits,
|
||||
firstBattleVictoryPages,
|
||||
@@ -40,7 +44,8 @@ export type BattleScenarioId =
|
||||
| 'fourth-battle-guangzong-camp'
|
||||
| 'fifth-battle-sishui-vanguard'
|
||||
| 'sixth-battle-jieqiao-relief'
|
||||
| 'seventh-battle-xuzhou-rescue';
|
||||
| 'seventh-battle-xuzhou-rescue'
|
||||
| 'eighth-battle-xiaopei-supply-road';
|
||||
|
||||
export type BattleObjectiveKind = 'defeat-leader' | 'keep-unit-alive' | 'secure-terrain' | 'quick-victory';
|
||||
|
||||
@@ -450,6 +455,59 @@ export const seventhBattleScenario: BattleScenarioDefinition = {
|
||||
nextCampScene: 'CampScene'
|
||||
};
|
||||
|
||||
export const eighthBattleScenario: BattleScenarioDefinition = {
|
||||
id: 'eighth-battle-xiaopei-supply-road',
|
||||
title: '소패 보급로 방위전',
|
||||
victoryConditionLabel: '고순 격파',
|
||||
defeatConditionLabel: '유비 퇴각',
|
||||
openingObjectiveLines: [
|
||||
'여포군의 척후와 습격병이 소패 보급로를 흔들고 있습니다. 고순을 격파하면 서주의 첫 방위선을 지킬 수 있습니다.',
|
||||
'기병은 길을 타고 빠르게 파고들고, 궁병은 강 건너와 언덕에서 사거리를 잡습니다. 마을과 창고 지형을 이용해 버티십시오.',
|
||||
'18턴 이내 승리하면 서주 보급망과 새 합류 무장의 명성이 크게 오릅니다.'
|
||||
],
|
||||
map: eighthBattleMap,
|
||||
units: eighthBattleUnits,
|
||||
bonds: eighthBattleBonds,
|
||||
mapTextureKey: 'battle-map-eighth',
|
||||
leaderUnitId: 'xiaopei-leader-gao-shun',
|
||||
quickVictoryTurnLimit: 18,
|
||||
baseVictoryGold: 1080,
|
||||
objectives: [
|
||||
{
|
||||
id: 'leader',
|
||||
kind: 'defeat-leader',
|
||||
label: '고순 격파',
|
||||
rewardGold: 640,
|
||||
unitId: 'xiaopei-leader-gao-shun'
|
||||
},
|
||||
{
|
||||
id: 'liu-bei',
|
||||
kind: 'keep-unit-alive',
|
||||
label: '유비 생존',
|
||||
rewardGold: 250,
|
||||
unitId: 'liu-bei'
|
||||
},
|
||||
{
|
||||
id: 'village',
|
||||
kind: 'secure-terrain',
|
||||
label: '소패 보급촌 확보',
|
||||
rewardGold: 360,
|
||||
terrain: 'village'
|
||||
},
|
||||
{
|
||||
id: 'quick',
|
||||
kind: 'quick-victory',
|
||||
label: '18턴 이내 승리',
|
||||
rewardGold: 300,
|
||||
maxTurn: 18
|
||||
}
|
||||
],
|
||||
defeatConditions: [{ kind: 'unit-defeated', unitId: 'liu-bei' }],
|
||||
itemRewards: ['콩 3', '상처약 2', '탁주 1', '서주 보급망 +1'],
|
||||
victoryPages: eighthBattleVictoryPages,
|
||||
nextCampScene: 'CampScene'
|
||||
};
|
||||
|
||||
export const defaultBattleScenarioId: BattleScenarioId = firstBattleScenario.id;
|
||||
|
||||
export const battleScenarios: Record<BattleScenarioId, BattleScenarioDefinition> = {
|
||||
@@ -459,7 +517,8 @@ export const battleScenarios: Record<BattleScenarioId, BattleScenarioDefinition>
|
||||
'fourth-battle-guangzong-camp': fourthBattleScenario,
|
||||
'fifth-battle-sishui-vanguard': fifthBattleScenario,
|
||||
'sixth-battle-jieqiao-relief': sixthBattleScenario,
|
||||
'seventh-battle-xuzhou-rescue': seventhBattleScenario
|
||||
'seventh-battle-xuzhou-rescue': seventhBattleScenario,
|
||||
'eighth-battle-xiaopei-supply-road': eighthBattleScenario
|
||||
};
|
||||
|
||||
export const defaultBattleScenario = battleScenarios[defaultBattleScenarioId];
|
||||
|
||||
Reference in New Issue
Block a user