fix: 전투 시뮬레이터 결과 표시 안정화

This commit is contained in:
2026-08-17 10:22:13 +00:00
parent bc356c0c84
commit 3587befa2c
5 changed files with 59 additions and 16 deletions
@@ -481,6 +481,7 @@ export const processBattleSimJob = (
result: true,
reason: 'success',
datetime: payload.attackerGeneral.turntime,
repeatCnt,
lastWarLog: logBuckets,
avgWar,
phase: avgPhase,
@@ -121,6 +121,8 @@ export interface BattleSimResultPayload {
result: boolean;
reason: string;
datetime?: string;
/** Number of battles actually evaluated. A fixed seed intentionally collapses a repeated request to one run. */
repeatCnt?: number;
lastWarLog?: BattleSimLogBuckets;
avgWar?: number;
phase?: number;