랜덤 임관에서 이전 소속국을 제외하고 후보 소진 시 다시 순환한다

This commit is contained in:
Hide_D committed 2026-11-19 10:57:32 +09:00
1 parent 6a4f170fd9
commit 0ae14d5ee0
10 files changed
+221 -8

No files matched your search

@@ -39,6 +39,7 @@ import {
type TurnCommandProfile,
} from '@sammo-ts/logic';
import { resolveLegacyCompatibleUniqueConfig } from '@sammo-ts/logic/rewards/legacyUniqueItemPool.js';
import { appendJoinedNationIds } from '@sammo-ts/logic/actions/turn/general/joinedNations.js';
import { round as roundLegacyInteger, simpleSerialize } from '@sammo-ts/logic/war/utils.js';
import {
cloneItemInventory,
@@ -2034,6 +2035,7 @@ async function handleKick(
const targetMeta = target.meta;
const nextMeta: TurnGeneral['meta'] = {
...targetMeta,
joinedNations: appendJoinedNationIds(targetMeta, target.nationId),
officerCity: 0,
officer_city: 0,
belong: 0,