From 433e05bcf8d2e3dff01c82ce8ff5813ebffa5084 Mon Sep 17 00:00:00 2001 From: nickofolas Date: Sun, 24 Apr 2022 18:02:49 -0500 Subject: [PATCH] Improve slash game aug timer accuracy --- src/Infiltration/ui/SlashGame.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infiltration/ui/SlashGame.tsx b/src/Infiltration/ui/SlashGame.tsx index 1c4a89810..9fa69ad04 100644 --- a/src/Infiltration/ui/SlashGame.tsx +++ b/src/Infiltration/ui/SlashGame.tsx @@ -42,7 +42,7 @@ export function SlashGame(props: IMinigameProps): React.ReactElement { const hasAugment = Player.hasAugmentation(AugmentationNames.MightOfAres, true); const phaseZeroTime = Math.random() * 3250 + 1500 - (250 + difficulty.window); const phaseOneTime = 250; - const timeUntilAttacking = phaseZeroTime + phaseOneTime; + const timeUntilAttacking = (phaseZeroTime + phaseOneTime) * 0.8; useEffect(() => { let id = window.setTimeout(() => {