mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Upd: Click DUNGEON_NEXT in daemon
This commit is contained in:
parent
c3766cc90e
commit
1031bf3fae
BIN
assets/share/base/daemon/DUNGEON_NEXT.png
Normal file
BIN
assets/share/base/daemon/DUNGEON_NEXT.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.0 KiB |
@ -33,6 +33,16 @@ DUNGEON_EXIT = ButtonWrapper(
|
|||||||
button=(582, 598, 606, 622),
|
button=(582, 598, 606, 622),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
DUNGEON_NEXT = ButtonWrapper(
|
||||||
|
name='DUNGEON_NEXT',
|
||||||
|
share=Button(
|
||||||
|
file='./assets/share/base/daemon/DUNGEON_NEXT.png',
|
||||||
|
area=(775, 598, 799, 622),
|
||||||
|
search=(755, 578, 819, 642),
|
||||||
|
color=(104, 97, 88),
|
||||||
|
button=(775, 598, 799, 622),
|
||||||
|
),
|
||||||
|
)
|
||||||
INTERACT_COLLECT = ButtonWrapper(
|
INTERACT_COLLECT = ButtonWrapper(
|
||||||
name='INTERACT_COLLECT',
|
name='INTERACT_COLLECT',
|
||||||
share=Button(
|
share=Button(
|
||||||
|
@ -109,6 +109,8 @@ class Daemon(RouteBase, DaemonBase, AimDetectorMixin):
|
|||||||
continue
|
continue
|
||||||
if self.appear_then_click(DUNGEON_EXIT, interval=1.5):
|
if self.appear_then_click(DUNGEON_EXIT, interval=1.5):
|
||||||
continue
|
continue
|
||||||
|
if self.appear_then_click(DUNGEON_NEXT, interval=1.5):
|
||||||
|
continue
|
||||||
# Tutorial popup
|
# Tutorial popup
|
||||||
if self.appear(TUTORIAL_CHECK, interval=0.2):
|
if self.appear(TUTORIAL_CHECK, interval=0.2):
|
||||||
if self.image_color_count(TUTORIAL_CLOSE, color=(255, 255, 255), threshold=180, count=400):
|
if self.image_color_count(TUTORIAL_CLOSE, color=(255, 255, 255), threshold=180, count=400):
|
||||||
|
Loading…
Reference in New Issue
Block a user