Use camp-specific default sortie guidance
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user