Fix: Remove redundant animation wrapper for enemy

This commit is contained in:
2025-12-07 19:45:16 +09:00
parent 3030c09d55
commit cb7e75064f
2 changed files with 22 additions and 9 deletions
+7 -9
View File
@@ -509,15 +509,13 @@ class _BattleScreenState extends State<BattleScreen> {
Positioned(
top: 0,
right: 0,
child: BattleAnimationWidget(
key: _enemyAnimKey,
child: CharacterStatusCard(
character: battleProvider.enemy,
isPlayer: false,
isTurn: !battleProvider.isPlayerTurn,
key: _enemyKey,
hideStats: _isEnemyAttacking,
),
child: CharacterStatusCard(
character: battleProvider.enemy,
isPlayer: false,
isTurn: !battleProvider.isPlayerTurn,
key: _enemyKey,
animationKey: _enemyAnimKey, // Direct Pass
hideStats: _isEnemyAttacking,
),
),
// Player (Bottom Left)