From 2ac44927fa96f03bb4d0fff322e957a733e4375e Mon Sep 17 00:00:00 2001 From: ZYX Date: Fri, 28 Jun 2024 21:18:54 +0800 Subject: [PATCH] v7.0 release --- diver.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/diver.py b/diver.py index a2891e0..47d205c 100644 --- a/diver.py +++ b/diver.py @@ -742,12 +742,15 @@ def area(self): self.press('w', 0.5) self.portal_opening_days(static=1) elif area_now == '财富': - keyops.keyDown('w') + self.press('w', 3.2) + self.press('a',0.3) self.keys.fff = 1 - time.sleep(3) - self.press('a', 0.5) - time.sleep(0.65) - keyops.keyUp('w') + for key in ['a','d']: + keyops.keyDown(key) + for i in range(3): + self.press('w', 0.15) + time.sleep(0.15) + keyops.keyUp(key) self.keys.fff = 0 self.portal_opening_days(static=1) elif area_now == '位面':