mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Del: Replace EXIT_DUNGEON with MAP_EXIT
This commit is contained in:
parent
d3239ac3e5
commit
478f187295
Binary file not shown.
Before Width: | Height: | Size: 7.0 KiB |
@ -53,16 +53,6 @@ EXIT_CONFIRM = ButtonWrapper(
|
||||
button=(776, 458, 800, 482),
|
||||
),
|
||||
)
|
||||
EXIT_DUNGEON = ButtonWrapper(
|
||||
name='EXIT_DUNGEON',
|
||||
share=Button(
|
||||
file='./assets/share/forgotten_hall/EXIT_DUNGEON.png',
|
||||
area=(15, 45, 45, 75),
|
||||
search=(0, 25, 65, 95),
|
||||
color=(113, 117, 124),
|
||||
button=(15, 45, 45, 75),
|
||||
),
|
||||
)
|
||||
FIRST_CHARACTER = ButtonWrapper(
|
||||
name='FIRST_CHARACTER',
|
||||
share=Button(
|
||||
|
@ -9,7 +9,7 @@ from module.logger.logger import logger
|
||||
from module.ocr.keyword import Keyword
|
||||
from module.ocr.ocr import Ocr, OcrResultButton
|
||||
from module.ui.draggable_list import DraggableList
|
||||
from tasks.base.assets.assets_base_page import FORGOTTEN_HALL_CHECK
|
||||
from tasks.base.assets.assets_base_page import FORGOTTEN_HALL_CHECK, MAP_EXIT
|
||||
from tasks.dungeon.keywords import DungeonList, KEYWORDS_DUNGEON_TAB
|
||||
from tasks.dungeon.ui import DungeonUI
|
||||
from tasks.forgotten_hall.assets.assets_forgotten_hall import *
|
||||
@ -135,7 +135,7 @@ class ForgottenHallUI(DungeonUI):
|
||||
logger.info("Forgotten hall dungeon exited")
|
||||
break
|
||||
|
||||
if self.appear_then_click(EXIT_DUNGEON):
|
||||
if self.appear_then_click(MAP_EXIT):
|
||||
continue
|
||||
if self.appear_then_click(EXIT_CONFIRM):
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user