From def89832cb8c6d94bbef66ecf134cf10fba8221d Mon Sep 17 00:00:00 2001 From: nickofolas Date: Sat, 30 Apr 2022 00:28:00 -0500 Subject: [PATCH] Fix slash game Aug ending game early --- src/Infiltration/ui/SlashGame.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Infiltration/ui/SlashGame.tsx b/src/Infiltration/ui/SlashGame.tsx index f95ee7c37..16787eefc 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) * 0.8; + const timeUntilAttacking = phaseZeroTime + phaseOneTime; useEffect(() => { let id = window.setTimeout(() => { @@ -66,7 +66,7 @@ export function SlashGame(props: IMinigameProps): React.ReactElement { {hasAugment ? ( Guard will drop in... - + null} noPaper /> ) : ( <>