Fix: Handle blessings after getting a curio

This commit is contained in:
LmeSzinc 2023-10-15 17:18:56 +08:00
parent f7b6763b8b
commit c625fba13c

View File

@ -59,8 +59,9 @@ class RogueCurioSelector(RogueSelector):
""" """
Case 1: back to main page Case 1: back to main page
Case 2: event page Case 2: event page
Case 3: BLESSING_ENHANCED Case 3: is_page_choose_blessing()
Case 4: BLESSING_OBTAINED Case 4: BLESSING_ENHANCED
Case 5: BLESSING_OBTAINED
""" """
if self.main.is_in_main(): if self.main.is_in_main():
logger.info("Main page checked") logger.info("Main page checked")
@ -68,6 +69,9 @@ class RogueCurioSelector(RogueSelector):
if self.main.is_page_event(): if self.main.is_page_event():
logger.info("Event page checked") logger.info("Event page checked")
return True return True
if self.main.is_page_choose_blessing():
logger.info("is_page_choose_blessing() checked")
return True
if self.main.appear(BLESSING_ENHANCED): if self.main.appear(BLESSING_ENHANCED):
logger.info("BLESSING_ENHANCED checked") logger.info("BLESSING_ENHANCED checked")
return True return True