fix: 빈 특기의 획득 예정 나이를 표시한다

메인 장수 read model에 내정·전투 특기 예정 나이를 투영하고, Ref와 같은 현재 나이 다음 해 하한을 적용한다. API 회귀와 Chromium 데스크톱·모바일 검증을 추가한다.
This commit is contained in:
2026-08-22 05:03:25 +00:00
parent 0c75b96908
commit b8e9e6b513
4 changed files with 94 additions and 6 deletions
+4
View File
@@ -553,6 +553,10 @@ export const getGeneralContext = async (ctx: GameApiContext) => {
specialDomestic: resolveTraitDisplayName(general.specialCode, domesticNames),
specialWar: resolveTraitDisplayName(general.special2Code, warNames),
},
traitAges: {
specialDomestic: readNumber(metaRecord.specage, 0),
specialWar: readNumber(metaRecord.specage2, 0),
},
traitInfo: {
personal: personalityNames.get(general.personalCode)?.info ?? '',
specialDomestic: domesticNames.get(general.specialCode)?.info ?? '',