From e4516bf335efa74d8a23fdfd77c8f159a4db51e6 Mon Sep 17 00:00:00 2001 From: Wickedness Date: Sat, 4 Jul 2026 13:38:01 +0900 Subject: [PATCH] Tune early objective route balance --- src/game/data/battles.ts | 4 ++-- src/game/data/scenario.ts | 2 +- src/game/scenes/BattleScene.ts | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/game/data/battles.ts b/src/game/data/battles.ts index e15eda5..2a927c5 100644 --- a/src/game/data/battles.ts +++ b/src/game/data/battles.ts @@ -510,7 +510,7 @@ export const firstBattleScenario: BattleScenarioDefinition = { id: 'village', kind: 'secure-terrain', label: '마을 확보', - rewardGold: 150, + rewardGold: 210, terrain: 'village', targetTile: { x: 15, y: 5, radius: 4 }, threatRadius: 1 @@ -725,7 +725,7 @@ export const thirdBattleScenario: BattleScenarioDefinition = { id: 'fort', kind: 'secure-terrain', label: '강가 요새 확보', - rewardGold: 220, + rewardGold: 300, terrain: 'fort', targetTile: { x: 18, y: 1, radius: 3 }, threatRadius: 1 diff --git a/src/game/data/scenario.ts b/src/game/data/scenario.ts index d0892c4..1f18994 100644 --- a/src/game/data/scenario.ts +++ b/src/game/data/scenario.ts @@ -5841,7 +5841,7 @@ export const thirdBattleUnits: UnitData[] = [ accessory: { itemId: 'wind-quiver', level: 1, exp: 0 } }, x: 18, - y: 1 + y: 2 }, { id: 'guangzong-leader-ma-yuan', diff --git a/src/game/scenes/BattleScene.ts b/src/game/scenes/BattleScene.ts index b939d9e..2b23501 100644 --- a/src/game/scenes/BattleScene.ts +++ b/src/game/scenes/BattleScene.ts @@ -2915,6 +2915,7 @@ const defaultEnemyAiByClass: Partial> = { 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',