Add Xiapi outer siege chapter

This commit is contained in:
2026-06-23 02:55:33 +09:00
parent 83b2bb6361
commit 450842bd28
11 changed files with 778 additions and 17 deletions

View File

@@ -11,6 +11,7 @@ import {
seventhBattleScenario,
sixthBattleScenario,
tenthBattleScenario,
twelfthBattleScenario,
thirdBattleScenario
} from '../data/battles';
import { hasCampaignSave, loadCampaignState, startNewCampaign } from '../state/campaignState';
@@ -321,7 +322,8 @@ export class TitleScene extends Phaser.Scene {
campaign.step === 'eighth-camp' ||
campaign.step === 'ninth-camp' ||
campaign.step === 'tenth-camp' ||
campaign.step === 'eleventh-camp'
campaign.step === 'eleventh-camp' ||
campaign.step === 'twelfth-camp'
) {
this.scene.start('CampScene');
return;
@@ -382,6 +384,11 @@ export class TitleScene extends Phaser.Scene {
return;
}
if (campaign.step === 'twelfth-battle') {
this.scene.start('BattleScene', { battleId: twelfthBattleScenario.id });
return;
}
if (campaign.step === 'first-victory-story') {
this.scene.start('StoryScene', { pages: firstBattleVictoryPages, nextScene: 'TitleScene' });
return;