From 4d3dbf169d9c776ce5ff3c9acba3e6dc23779e07 Mon Sep 17 00:00:00 2001 From: catloversg <152669316+catloversg@users.noreply.github.com> Date: Sat, 27 Apr 2024 16:13:16 +0700 Subject: [PATCH] INFILTRATION: Increase timePreparing in SlashGame if players have WKSharmonizer (#1232) --- src/Infiltration/ui/SlashGame.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Infiltration/ui/SlashGame.tsx b/src/Infiltration/ui/SlashGame.tsx index c5347b1cc..996b6fc77 100644 --- a/src/Infiltration/ui/SlashGame.tsx +++ b/src/Infiltration/ui/SlashGame.tsx @@ -34,7 +34,8 @@ export function SlashGame({ difficulty, onSuccess, onFailure }: IMinigameProps): // Determine timeframes for game phase changes const newDifficulty: Difficulty = { window: 0 }; interpolate(difficulties, difficulty, newDifficulty); - const timePreparing = newDifficulty.window; + const timePreparing = + newDifficulty.window * (Player.hasAugmentation(AugmentationName.WKSharmonizer, true) ? 1.3 : 1); const timeAttacking = 250; const timeGuarding = Math.random() * 3250 + 1500 - (timeAttacking + timePreparing); @@ -67,7 +68,7 @@ export function SlashGame({ difficulty, onSuccess, onFailure }: IMinigameProps): return ( <> - + Attack when his guard is down! {hasAugment && (