Upd: Click DUNGEON_NEXT in daemon

This commit is contained in:
LmeSzinc 2024-10-19 00:00:45 +08:00
parent c3766cc90e
commit 1031bf3fae
3 changed files with 12 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@ -33,6 +33,16 @@ DUNGEON_EXIT = ButtonWrapper(
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(
name='INTERACT_COLLECT',
share=Button(

View File

@ -109,6 +109,8 @@ class Daemon(RouteBase, DaemonBase, AimDetectorMixin):
continue
if self.appear_then_click(DUNGEON_EXIT, interval=1.5):
continue
if self.appear_then_click(DUNGEON_NEXT, interval=1.5):
continue
# Tutorial popup
if self.appear(TUTORIAL_CHECK, interval=0.2):
if self.image_color_count(TUTORIAL_CLOSE, color=(255, 255, 255), threshold=180, count=400):