mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2025-02-07 19:29:30 +00:00
Merge branch 'master' into dev
This commit is contained in:
commit
0af1805ddb
Binary file not shown.
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 93 KiB |
Binary file not shown.
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 93 KiB |
@ -105,9 +105,6 @@ class Assignment(AssignmentClaim, SynthesizeUI):
|
||||
for assignment in assignments:
|
||||
if assignment in self.dispatched:
|
||||
continue
|
||||
if remain <= 0:
|
||||
yield assignment
|
||||
continue
|
||||
logger.hr('Assignment inlist', level=2)
|
||||
logger.info(f'Check assignment inlist: {assignment}')
|
||||
self.goto_entry(assignment)
|
||||
@ -120,6 +117,9 @@ class Assignment(AssignmentClaim, SynthesizeUI):
|
||||
self._get_assignment_time()
|
||||
continue
|
||||
# General assignments must be dispatchable here
|
||||
if remain <= 0:
|
||||
yield assignment
|
||||
continue
|
||||
self.dispatch(assignment, duration)
|
||||
remain -= 1
|
||||
|
||||
|
@ -48,7 +48,7 @@ REGULAR_GACHA_CHECK = ButtonWrapper(
|
||||
share=Button(
|
||||
file='./assets/share/daily/trial/REGULAR_GACHA_CHECK.png',
|
||||
area=(69, 332, 124, 367),
|
||||
search=(15, 146, 150, 478),
|
||||
search=(0, 144, 150, 588),
|
||||
color=(100, 92, 82),
|
||||
button=(69, 332, 124, 367),
|
||||
),
|
||||
@ -58,7 +58,7 @@ REGULAR_GACHA_CLICK = ButtonWrapper(
|
||||
share=Button(
|
||||
file='./assets/share/daily/trial/REGULAR_GACHA_CLICK.png',
|
||||
area=(63, 324, 118, 349),
|
||||
search=(15, 146, 150, 478),
|
||||
search=(0, 144, 150, 588),
|
||||
color=(36, 34, 30),
|
||||
button=(63, 324, 118, 349),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user