merge: 최신 main 변경을 NPC 삭턴 사망 복구에 통합
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user