Tune early objective route balance

This commit is contained in:
2026-07-04 13:38:01 +09:00
parent bf1ecbe8fb
commit e4516bf335
3 changed files with 7 additions and 3 deletions

View File

@@ -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',