mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Fix: page_item may be detected as LEVEL_CONFIRM
This commit is contained in:
parent
7a1325c94e
commit
30dc58f646
@ -7,7 +7,7 @@ from module.logger import logger
|
|||||||
from module.ocr.ocr import Ocr
|
from module.ocr.ocr import Ocr
|
||||||
from tasks.base.assets.assets_base_main_page import ROGUE_LEAVE_FOR_NOW
|
from tasks.base.assets.assets_base_main_page import ROGUE_LEAVE_FOR_NOW
|
||||||
from tasks.base.assets.assets_base_page import MAP_EXIT
|
from tasks.base.assets.assets_base_page import MAP_EXIT
|
||||||
from tasks.base.page import page_guide, page_main, page_rogue
|
from tasks.base.page import page_guide, page_item, page_main, page_rogue
|
||||||
from tasks.dungeon.keywords import DungeonList
|
from tasks.dungeon.keywords import DungeonList
|
||||||
from tasks.dungeon.keywords.dungeon import Simulated_Universe_World_1
|
from tasks.dungeon.keywords.dungeon import Simulated_Universe_World_1
|
||||||
from tasks.dungeon.state import OcrSimUniPoint
|
from tasks.dungeon.state import OcrSimUniPoint
|
||||||
@ -314,7 +314,7 @@ class RogueEntry(RouteBase, RogueRewardHandler, RoguePathHandler, DungeonUI):
|
|||||||
if self.is_page_rogue_main():
|
if self.is_page_rogue_main():
|
||||||
logger.info('At is_page_rogue_main()')
|
logger.info('At is_page_rogue_main()')
|
||||||
return True
|
return True
|
||||||
if self.appear(LEVEL_CONFIRM):
|
if not self.ui_page_appear(page_item) and self.appear(LEVEL_CONFIRM):
|
||||||
logger.info('At LEVEL_CONFIRM')
|
logger.info('At LEVEL_CONFIRM')
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user