mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 08:37:42 +00:00
Fix: OCR_LEVEL in BattlePass
This commit is contained in:
parent
c8e54c220d
commit
10e4f49d90
Binary file not shown.
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 13 KiB |
@ -278,7 +278,7 @@ class AzurLaneConfig(ConfigUpdater, ManualConfig, GeneratedConfig, ConfigWatcher
|
||||
if isinstance(next_run, datetime) and next_run > limit:
|
||||
deep_set(self.data, keys=f"{task}.Scheduler.NextRun", value=now)
|
||||
|
||||
limit_next_run(['BattlePass'], limit=now + timedelta(days=31, seconds=-1))
|
||||
limit_next_run(['BattlePass'], limit=now + timedelta(days=40, seconds=-1))
|
||||
limit_next_run(self.args.keys(), limit=now + timedelta(hours=24, seconds=-1))
|
||||
|
||||
def override(self, **kwargs):
|
||||
|
@ -77,10 +77,10 @@ OCR_LEVEL = ButtonWrapper(
|
||||
name='OCR_LEVEL',
|
||||
share=Button(
|
||||
file='./assets/share/battle_pass/OCR_LEVEL.png',
|
||||
area=(183, 93, 240, 134),
|
||||
search=(163, 73, 260, 154),
|
||||
color=(90, 79, 60),
|
||||
button=(183, 93, 240, 134),
|
||||
area=(167, 103, 249, 143),
|
||||
search=(147, 83, 269, 163),
|
||||
color=(134, 119, 94),
|
||||
button=(167, 103, 249, 143),
|
||||
),
|
||||
)
|
||||
OCR_REMAINING_TIME = ButtonWrapper(
|
||||
|
@ -73,7 +73,7 @@ class BattlePassQuestOcr(Ocr):
|
||||
|
||||
|
||||
class BattlePassUI(UI):
|
||||
MAX_LEVEL = 50
|
||||
MAX_LEVEL = 70
|
||||
|
||||
def _battle_pass_wait_rewards_loaded(self, skip_first_screenshot=True):
|
||||
timeout = Timer(2, count=4).start()
|
||||
|
Loading…
Reference in New Issue
Block a user