feat: raise monthly NPC nations

This commit is contained in:
2026-07-25 18:56:34 +00:00
parent d0df2cdd00
commit a0f7493f1a
7 changed files with 1080 additions and 6 deletions
@@ -572,6 +572,10 @@ export const createDatabaseTurnHooks = async (
chiefGeneralId: nation.chiefGeneralId,
gold: nation.gold,
rice: nation.rice,
tech:
typeof nation.meta.tech === 'number' && Number.isFinite(nation.meta.tech)
? Math.trunc(nation.meta.tech)
: 0,
level: nation.level,
typeCode: nation.typeCode,
meta: asJson(nation.meta),