Tune early objective route balance
This commit is contained in:
@@ -2915,6 +2915,7 @@ const defaultEnemyAiByClass: Partial<Record<UnitClassKey, EnemyAiBehavior>> = {
|
||||
rebelLeader: 'guard'
|
||||
};
|
||||
|
||||
const earlyObjectiveAnchorLeaderIds = new Set(['rebel-leader', 'guangzong-leader-ma-yuan']);
|
||||
const guardDetectionRange = 5;
|
||||
let leaderUnitId = battleScenario.leaderUnitId;
|
||||
let quickVictoryTurnLimit = battleScenario.quickVictoryTurnLimit;
|
||||
@@ -11794,6 +11795,9 @@ export class BattleScene extends Phaser.Scene {
|
||||
}
|
||||
|
||||
private enemyBehavior(enemy: UnitData): EnemyAiBehavior {
|
||||
if (earlyObjectiveAnchorLeaderIds.has(enemy.id)) {
|
||||
return 'hold';
|
||||
}
|
||||
const lateNorthernPrefixes = [
|
||||
'northern-fourth',
|
||||
'northern-fifth',
|
||||
|
||||
Reference in New Issue
Block a user