From 4b2364818c947a8319420c3515f3eb473582a520 Mon Sep 17 00:00:00 2001 From: Semjon Kerner Date: Sun, 20 Feb 2022 20:05:41 +0100 Subject: [PATCH] decrease max human like delay by 25% and 500ms --- fishy/engine/semifisher/fishing_event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fishy/engine/semifisher/fishing_event.py b/fishy/engine/semifisher/fishing_event.py index a66c75b..dfcc290 100644 --- a/fishy/engine/semifisher/fishing_event.py +++ b/fishy/engine/semifisher/fishing_event.py @@ -34,7 +34,7 @@ class FishEvent: sound = False -def _fishing_sleep(waittime, lower_limit_ms=16, upper_limit_ms=2500): +def _fishing_sleep(waittime, lower_limit_ms=16, upper_limit_ms=1375): reaction = 0.0 if FishEvent.jitter and upper_limit_ms > lower_limit_ms: reaction = float(random.randrange(lower_limit_ms, upper_limit_ms)) / 1000.0