fix: NPC 유저 수뇌 자동 임명을 이관
Ref의 분기월 자동 임명 조건과 NPC 군주 소속도 기준, 활동 및 페널티, 유저 수뇌 상한을 반영한다. 비군주 NPC의 레거시 후보 우선순위와 권한 및 chief_set 저장 경로를 회귀 테스트로 고정한다.
This commit is contained in:
@@ -1690,7 +1690,13 @@ export const createReservedTurnHandler = async (options: {
|
||||
const patch = {
|
||||
officerLevel: entry.officerLevel,
|
||||
...(promotedGeneral
|
||||
? { meta: { ...promotedGeneral.meta, officer_city: entry.officerCity } }
|
||||
? {
|
||||
meta: {
|
||||
...promotedGeneral.meta,
|
||||
officer_city: entry.officerCity,
|
||||
...(entry.permission ? { permission: entry.permission } : {}),
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
};
|
||||
patches.generals.push({ id: entry.generalId, patch });
|
||||
|
||||
Reference in New Issue
Block a user