From 0c5aef161d35d35bc8bd0087e031797f434e0c92 Mon Sep 17 00:00:00 2001 From: Wickedness Date: Sun, 5 Jul 2026 16:54:07 +0900 Subject: [PATCH] Highlight required units on sortie minimap --- src/game/scenes/CampScene.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/game/scenes/CampScene.ts b/src/game/scenes/CampScene.ts index ca3cc8a..00f05f3 100644 --- a/src/game/scenes/CampScene.ts +++ b/src/game/scenes/CampScene.ts @@ -13247,9 +13247,10 @@ export class CampScene extends Phaser.Scene { deploymentPlan.forEach((entry) => { const dotX = originX + (entry.x + 0.5) * cell; const dotY = originY + (entry.y + 0.5) * cell; - const dot = this.trackSortie(this.add.circle(dotX, dotY, entry.unitId === 'liu-bei' ? 4.2 : 3.7, this.sortieRoleDotColor(entry.role), 0.96)); + const required = entry.unitId ? this.isRequiredSortieUnit(entry.unitId, scenario) : false; + const dot = this.trackSortie(this.add.circle(dotX, dotY, required ? 4.2 : 3.7, this.sortieRoleDotColor(entry.role), 0.96)); dot.setDepth(depth + 3); - dot.setStrokeStyle(1, 0x05070a, 0.82); + dot.setStrokeStyle(required ? 1.6 : 1, required ? palette.gold : 0x05070a, required ? 0.92 : 0.82); }); const legend = [