fix: 삭턴 소진 NPC 사망 처리를 복구

This commit is contained in:
2026-08-21 04:52:31 +00:00
parent c5622c6359
commit 9a45dbdeac
4 changed files with 122 additions and 6 deletions
@@ -1993,7 +1993,7 @@ export const createReservedTurnHandler = async (options: {
let deleteGeneral = false;
const deletedTroopIds = Array.from(commandDeletedTroopIds);
const lifecycleSnapshot = cloneTurnGeneral(currentGeneral);
if (currentGeneral.meta.killturn <= 0 && typeof currentGeneral.deadYear === 'number') {
if (currentGeneral.meta.killturn <= 0) {
if (
currentGeneral.npcState === 1 &&
typeof currentGeneral.deadYear === 'number' &&