Merge pull request #106 from fishyboteso/feature/shorten_human_like_delay

This commit is contained in:
Adam Saudagar 2022-02-25 04:53:44 +05:30 committed by GitHub
commit fe4eab3076
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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