feat(ui): 아레나 결과 패널 및 애니메이션 카드 개선

This commit is contained in:
JiWoong Sul
2026-01-14 02:26:22 +09:00
parent eba0521ffe
commit 81eb2f8463
2 changed files with 133 additions and 5 deletions

View File

@@ -226,13 +226,11 @@ class _AsciiAnimationCardState extends State<AsciiAnimationCard> {
setState(() {
_showDeathAnimation = true;
});
return; // 사망 애니메이션 중에는 다른 업데이트 무시
// 분해 애니메이션은 오버레이로 표시되므로
// 백그라운드 상태 업데이트는 계속 진행 (20배속 대응)
}
}
// 사망 애니메이션 중에는 다른 업데이트 무시
if (_showDeathAnimation) return;
// 전투 이벤트 동기화 (Phase 5)
if (widget.latestCombatEvent != null &&
widget.latestCombatEvent!.timestamp != _lastEventTimestamp) {
@@ -253,7 +251,8 @@ class _AsciiAnimationCardState extends State<AsciiAnimationCard> {
oldWidget.weaponRarity != widget.weaponRarity ||
oldWidget.opponentRaceId != widget.opponentRaceId ||
oldWidget.opponentHasShield != widget.opponentHasShield ||
oldWidget.isInCombat != widget.isInCombat) {
oldWidget.isInCombat != widget.isInCombat ||
oldWidget.monsterDied != widget.monsterDied) {
_updateAnimation();
}
}