Use camp-specific default sortie guidance

This commit is contained in:
2026-07-05 06:39:05 +09:00
parent af32d4663d
commit ba8affb0d1

View File

@@ -602,6 +602,15 @@ const defaultSortieRule: SortieRuleDefinition = {
note: '유비 생존을 중심에 두고 전열, 돌파, 후원을 고르게 배치하십시오.'
};
const defaultCampSortieRule: SortieRuleDefinition = {
maxUnits: maxSortieUnits,
requiredUnitIds: defaultRequiredSortieUnitIds,
recommended: [
{ unitId: 'liu-bei', reason: '군영 의정의 중심이며 마지막 결정을 정리합니다.' }
],
note: '유비 참석을 중심에 두고 대표, 현장, 보좌 역할을 고르게 정리하십시오.'
};
const sortieRulesByBattleId: Partial<Record<BattleScenarioId, SortieRuleDefinition>> = {
'second-battle-yellow-turban-pursuit': {
maxUnits: 3,
@@ -13081,7 +13090,7 @@ export class CampScene extends Phaser.Scene {
}
const step = this.campaign?.step;
const flowStep = this.currentSortieFlow().campaignStep;
return (step && sortieRulesByCampaignStep[step]) || (flowStep && sortieRulesByCampaignStep[flowStep]) || defaultSortieRule;
return (step && sortieRulesByCampaignStep[step]) || (flowStep && sortieRulesByCampaignStep[flowStep]) || defaultCampSortieRule;
}
private sortieRuleFromScenario(scenario: BattleScenarioDefinition): SortieRuleDefinition | undefined {