added sodoku to ui

This commit is contained in:
2023-04-30 21:04:40 +02:00
parent 7af6f0c7ed
commit b64dad8e5b
3 changed files with 23 additions and 8 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)