fix: 전투 시뮬레이터 기본 특기 계약 복원
Ref와 같이 시나리오 defaultSpecialDomestic을 공격자와 수비자 payload에 적용한다. 기본 5병종 5x5 고정 seed Ref 차등 회귀와 API·Chromium 회귀를 추가한다.
This commit is contained in:
@@ -52,6 +52,7 @@ export type BattleSimOptions = {
|
||||
config: WarEngineConfig;
|
||||
unitSet: UnitSetDefinition;
|
||||
scenarioEffect: string | null;
|
||||
defaultSpecialDomestic: string;
|
||||
nationTypes: Array<{ key: string; name: string; info: string }>;
|
||||
eventDomesticTraits: Array<{ key: string; name: string; info: string }>;
|
||||
warTraits: Array<{ key: string; name: string; info: string }>;
|
||||
|
||||
@@ -461,7 +461,7 @@ const buildGeneralPayload = (
|
||||
personal: general.personal,
|
||||
// Ref does not expose the domestic speciality in this form. Battle requests
|
||||
// always use the scenario's default domestic speciality instead.
|
||||
special: options.value?.eventDomesticTraits[0]?.key ?? general.special,
|
||||
special: options.value?.defaultSpecialDomestic ?? 'None',
|
||||
special2: general.special2,
|
||||
crew: general.crew,
|
||||
crewtype: general.crewtype,
|
||||
|
||||
Reference in New Issue
Block a user