NPC와 알림 메시지의 장수 아이콘 경로를 공통 처리

This commit is contained in:
2026-09-07 15:28:24 +00:00
parent d57fd3e553
commit d8c9a63915
11 changed files with 116 additions and 13 deletions
@@ -1,3 +1,4 @@
import { resolveMessageTargetIcon } from '@sammo-ts/logic';
import { createHash } from 'node:crypto';
import { asNumber, asRecord, JosaUtil } from '@sammo-ts/common';
@@ -156,7 +157,7 @@ export const createUnificationHandler = (options: {
nationId: winner.id,
nationName: winner.name,
color: winner.color,
icon: recipient.picture ?? '',
icon: resolveMessageTargetIcon(recipient),
},
text: `이벤트 게임으로 이민족[${invader.difficulty}]을 소환`,
time: context.turnTime,