Add Xiapi outer siege chapter
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user