Fix: Add buffer delay to Enemy Turn for animation sync
This commit is contained in:
@@ -495,7 +495,8 @@ class BattleProvider with ChangeNotifier {
|
||||
if (intent.risk == RiskLevel.safe) delay = GameConfig.animDelaySafe;
|
||||
if (intent.risk == RiskLevel.risky) delay = GameConfig.animDelayRisky;
|
||||
|
||||
await Future.delayed(Duration(milliseconds: delay));
|
||||
// Add small buffer to ensure visual impact happens before text (300ms)
|
||||
await Future.delayed(Duration(milliseconds: delay + 300));
|
||||
|
||||
int incomingDamage = intent.finalValue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user