mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +00:00
Upd: Map interact assets
This commit is contained in:
parent
8a1520871b
commit
6e26817e5d
BIN
assets/share/combat/interact/DUNGEON_COMBAT_INTERACT.2.png
Normal file
BIN
assets/share/combat/interact/DUNGEON_COMBAT_INTERACT.2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
@ -59,6 +59,11 @@ class Daemon(RouteBase, DaemonBase, AimDetectorMixin):
|
||||
else:
|
||||
logger.warning(f'Maatouch contact on {builder.contact}, may cause interruptions')
|
||||
|
||||
STORY_OPTION.set_search_offset((-5, -5, 32, 5))
|
||||
INTERACT_COLLECT.set_search_offset((-5, -5, 32, 5))
|
||||
INTERACT_INVESTIGATE.set_search_offset((-5, -5, 32, 5))
|
||||
INTERACT_TREASURE.set_search_offset((-5, -5, 32, 5))
|
||||
|
||||
teleport_confirm = Timer(1, count=5)
|
||||
while 1:
|
||||
self.device.screenshot()
|
||||
|
@ -5,13 +5,22 @@ from module.base.button import Button, ButtonWrapper
|
||||
|
||||
DUNGEON_COMBAT_INTERACT = ButtonWrapper(
|
||||
name='DUNGEON_COMBAT_INTERACT',
|
||||
share=Button(
|
||||
share=[
|
||||
Button(
|
||||
file='./assets/share/combat/interact/DUNGEON_COMBAT_INTERACT.png',
|
||||
area=(753, 419, 781, 441),
|
||||
search=(733, 399, 801, 461),
|
||||
color=(199, 197, 198),
|
||||
button=(750, 411, 997, 448),
|
||||
),
|
||||
Button(
|
||||
file='./assets/share/combat/interact/DUNGEON_COMBAT_INTERACT.2.png',
|
||||
area=(780, 419, 808, 441),
|
||||
search=(760, 399, 828, 461),
|
||||
color=(199, 197, 198),
|
||||
button=(750, 411, 997, 448),
|
||||
),
|
||||
],
|
||||
)
|
||||
DUNGEON_COMBAT_INTERACT_TEXT = ButtonWrapper(
|
||||
name='DUNGEON_COMBAT_INTERACT_TEXT',
|
||||
|
Loading…
Reference in New Issue
Block a user