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

@@ -510,7 +510,7 @@ export const firstBattleScenario: BattleScenarioDefinition = {
id: 'village', id: 'village',
kind: 'secure-terrain', kind: 'secure-terrain',
label: '마을 확보', label: '마을 확보',
rewardGold: 150, rewardGold: 210,
terrain: 'village', terrain: 'village',
targetTile: { x: 15, y: 5, radius: 4 }, targetTile: { x: 15, y: 5, radius: 4 },
threatRadius: 1 threatRadius: 1
@@ -725,7 +725,7 @@ export const thirdBattleScenario: BattleScenarioDefinition = {
id: 'fort', id: 'fort',
kind: 'secure-terrain', kind: 'secure-terrain',
label: '강가 요새 확보', label: '강가 요새 확보',
rewardGold: 220, rewardGold: 300,
terrain: 'fort', terrain: 'fort',
targetTile: { x: 18, y: 1, radius: 3 }, targetTile: { x: 18, y: 1, radius: 3 },
threatRadius: 1 threatRadius: 1

View File

@@ -5841,7 +5841,7 @@ export const thirdBattleUnits: UnitData[] = [
accessory: { itemId: 'wind-quiver', level: 1, exp: 0 } accessory: { itemId: 'wind-quiver', level: 1, exp: 0 }
}, },
x: 18, x: 18,
y: 1 y: 2
}, },
{ {
id: 'guangzong-leader-ma-yuan', id: 'guangzong-leader-ma-yuan',

View File

@@ -2915,6 +2915,7 @@ const defaultEnemyAiByClass: Partial<Record<UnitClassKey, EnemyAiBehavior>> = {
rebelLeader: 'guard' rebelLeader: 'guard'
}; };
const earlyObjectiveAnchorLeaderIds = new Set(['rebel-leader', 'guangzong-leader-ma-yuan']);
const guardDetectionRange = 5; const guardDetectionRange = 5;
let leaderUnitId = battleScenario.leaderUnitId; let leaderUnitId = battleScenario.leaderUnitId;
let quickVictoryTurnLimit = battleScenario.quickVictoryTurnLimit; let quickVictoryTurnLimit = battleScenario.quickVictoryTurnLimit;
@@ -11794,6 +11795,9 @@ export class BattleScene extends Phaser.Scene {
} }
private enemyBehavior(enemy: UnitData): EnemyAiBehavior { private enemyBehavior(enemy: UnitData): EnemyAiBehavior {
if (earlyObjectiveAnchorLeaderIds.has(enemy.id)) {
return 'hold';
}
const lateNorthernPrefixes = [ const lateNorthernPrefixes = [
'northern-fourth', 'northern-fourth',
'northern-fifth', 'northern-fifth',