fix: 빈 특기의 획득 예정 나이를 표시한다
메인 장수 read model에 내정·전투 특기 예정 나이를 투영하고, Ref와 같은 현재 나이 다음 해 하한을 적용한다. API 회귀와 Chromium 데스크톱·모바일 검증을 추가한다.
This commit is contained in:
@@ -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 ?? '',
|
||||
|
||||
Reference in New Issue
Block a user