Tighter timing.

This commit is contained in:
Filip Strajnar 2024-08-09 13:15:59 +02:00
parent bf5e0278ab
commit f9b121c96b

View file

@ -2,7 +2,7 @@ from super_bot import SuperBot
superheat: bool = True superheat: bool = True
amount_of_bars: int = 10_000 amount_of_bars: int = 10_000
milliseconds_per_bar = 1250 if superheat else 1850 milliseconds_per_bar = 1220 if superheat else 1820
bot = SuperBot() bot = SuperBot()
bars_done = 0 bars_done = 0
@ -15,4 +15,4 @@ while bars_done < amount_of_bars:
bot.super_random_sleep(1200, 1300) bot.super_random_sleep(1200, 1300)
bot.press_key(' ') bot.press_key(' ')
bot.super_random_sleep(wait_for_milliseconds, bot.super_random_sleep(wait_for_milliseconds,
wait_for_milliseconds + 2_000) wait_for_milliseconds + 1_000)