Add Qishan renewed offensive chapter

This commit is contained in:
2026-06-24 15:00:24 +09:00
parent 305ead1777
commit 44c017ab6c
16 changed files with 892 additions and 98 deletions

View File

@@ -6458,6 +6458,26 @@ export class BattleScene extends Phaser.Scene {
}
private enemyBehavior(enemy: UnitData): EnemyAiBehavior {
const lateNorthernPrefixes = [
'northern-fourth',
'northern-fifth',
'northern-sixth',
'northern-seventh',
'northern-eighth'
];
if (lateNorthernPrefixes.some((prefix) => enemy.id.startsWith(prefix))) {
if (
enemy.id.includes('-scout') ||
enemy.id.includes('-cavalry') ||
enemy.id === 'northern-eighth-officer-zhang-he'
) {
return 'aggressive';
}
if (enemy.id.includes('-archer') || enemy.id.includes('-strategist') || enemy.id.includes('-leader-')) {
return 'hold';
}
return 'guard';
}
if (
enemy.id.startsWith('northern-first-scout') ||
enemy.id.startsWith('northern-second-scout') ||