1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-16 08:07:23 +08:00
This commit is contained in:
LmeSzinc
2026-03-13 22:29:25 +08:00
committed by GitHub
2 changed files with 5 additions and 4 deletions

View File

@@ -196,6 +196,10 @@ class Minigame(UI):
if self.ui_page_appear(page_academy, interval=5):
self.device.click(ACADEMY_GOTO_GAME_ROOM)
continue
# You've reached your monthly limit of Game Tickets, and will not be able to earn any more.
# Continue playing the minigame?
if self.handle_popup_confirm('MINIGAME_ENTER'):
continue
# game room and choose game have same header, go to game room first
self.go_to_main_page()

View File

@@ -47,10 +47,7 @@ class MetaDigitCounter(DigitCounter):
class Meta(UI, MapEventHandler):
def digit_ocr_point_and_check(self, button: Button, check_number: int):
if server.server != 'jp':
point_ocr = MetaDigitCounter(button, letter=(235, 235, 235), threshold=160, name='POINT_OCR')
else:
point_ocr = MetaDigitCounter(button, letter=(192, 192, 192), threshold=160, name='POINT_OCR')
point_ocr = MetaDigitCounter(button, letter=(235, 235, 235), threshold=160, name='POINT_OCR')
point, _, _ = point_ocr.ocr(self.device.image)
if point >= check_number:
return True