fix: 불가침 제의 기한을 20년으로 제한

This commit is contained in:
2026-08-30 07:24:33 +00:00
parent d68209879b
commit 24e57ee94c
13 changed files with 174 additions and 14 deletions
+1
View File
@@ -149,3 +149,4 @@ export const processDiplomacyMonth = (
export * from './frontState.js';
export * from './instantResponse.js';
export * from './messageValidity.js';
export * from './treatyTerm.js';
@@ -0,0 +1,5 @@
export const NON_AGGRESSION_MIN_TERM_MONTHS = 6;
export const NON_AGGRESSION_MAX_END_YEAR_OFFSET = 20;
export const resolveNonAggressionMaxEndYear = (currentYear: number): number =>
currentYear + NON_AGGRESSION_MAX_END_YEAR_OFFSET;