merge: 최신 main 변경을 NPC 삭턴 사망 복구에 통합

This commit is contained in:
Hide_D committed 2026-08-21 04:52:41 +00:00
commit 8b326d861d
18 files changed
+456 -32

No files matched your search

+1 -1
View File
@@ -257,7 +257,7 @@ const zPatchGeneral = z.object({
intelligence: zFiniteNumber.optional(),
})
.optional(),
specialWar: z.string().optional(),
specialWar: z.string().nullable().optional(),
}),
});
@@ -734,10 +734,10 @@ async function handlePatchGeneral(
...command.patch.stats,
};
}
if (typeof command.patch.specialWar === 'string') {
if (command.patch.specialWar !== undefined) {
patch.role = {
...general.role,
specialWar: command.patch.specialWar,
specialWar: command.patch.specialWar === 'None' ? null : command.patch.specialWar,
};
}