timing changes

This commit is contained in:
Thaloria@web.de
2023-04-30 20:31:41 +02:00
parent 7af6f0c7ed
commit 56cf726d4f
2 changed files with 3 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ class Equipment(GameBase):
if emitter == EMITTER_MAIN:
loop_time = time()
while True:
if (time() - loop_time) >= 60:
if (time() - loop_time) >= 10:
break
screenshot = self.capture_window.get_screenshot()
c_rectangles = self.vision_stun.find(screenshot, self.c_needle, 0.95, 1, True, self.c_mask)
@@ -152,7 +152,7 @@ class Equipment(GameBase):
for rer in range(0, len(self.needles), 1):
loop_time = time()
while True:
if (time() - loop_time) >= 60:
if (time() - loop_time) >= 20:
break
screenshot = self.capture_window.get_screenshot_by_area(self.config.returnOKWindowPos())
rectangles = self.vision_stun.find(screenshot, self.dig_button, 0.5, 1)

View File

@@ -140,7 +140,7 @@ class Sodoku(GameBase):
return
def deploy_finding_to_game(self, e, i, color):
cv.waitKey(random.randint(4000, 6500))
cv.waitKey(random.randint(3500, 5500))
click_pt = self.get_click_point(self.data_coordinates[e, i])
self.dig_point(click_pt[0] + self.offset_left, click_pt[1] + self.offset_down, 500)