1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 00:28:20 +08:00

minigame bugfix after content expansion (#4069)

Co-authored-by: LmeSzinc <lmeszincsales@gmail.com>
This commit is contained in:
Tipsy Fisher
2024-08-09 17:06:46 +08:00
committed by GitHub
parent dc85fd605c
commit 6943bda9bf

View File

@@ -50,12 +50,12 @@ class NewYearChallenge(MinigameRun):
if self.appear_then_click(GOTO_CHOOSE_GAME, offset=(5, 5), interval=3):
continue
# choose game
if self.appear(NEW_YEAR_CHALLENGE_ENTRANCE, offset=(5, 5), interval=3):
if self.appear(NEW_YEAR_CHALLENGE_ENTRANCE, offset=(5, 50), interval=3):
self.device.click(NEW_YEAR_CHALLENGE_ENTRANCE)
continue
# swipe down
if self.ui_page_appear(page_game_room) and MINIGAME_SCROLL.appear(main=self) \
and not MINIGAME_SCROLL.at_bottom(main=self):
and not MINIGAME_SCROLL.set(main=self, position=0.25, distance_check=False):
MINIGAME_SCROLL.set_bottom(main=self)
continue