Add Qishan renewed offensive chapter
This commit is contained in:
@@ -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') ||
|
||||
|
||||
Reference in New Issue
Block a user