feat: 새로운 제약 조건 추가 및 기존 제약 조건 개선
This commit is contained in:
@@ -92,6 +92,11 @@ export const disallowDiplomacyBetweenStatus = (disallowList: Record<number, stri
|
||||
},
|
||||
});
|
||||
|
||||
export const disallowDiplomacyStatus = (disallowList: Record<number, string>): Constraint => ({
|
||||
...disallowDiplomacyBetweenStatus(disallowList),
|
||||
name: 'disallowDiplomacyStatus',
|
||||
});
|
||||
|
||||
export const allowDiplomacyBetweenStatus = (allowList: number[], reason: string): Constraint => ({
|
||||
name: 'allowDiplomacyBetweenStatus',
|
||||
requires: (ctx) => {
|
||||
|
||||
Reference in New Issue
Block a user