- 在 base.py 中将 I_UI_BACK_RED 替换为 I_UI_BACK_YELLOW 的图像识别 - 在 solo.py 中将 ui_click_until_disappear 改为 ui_click 配合 stop 参数 - 适配游戏界面返回按钮的视觉变化
@@ -383,7 +383,7 @@ class BaseExploration(GameUi, GeneralBattle, GeneralRoom, GeneralInvite, Replace
self.screenshot()
# 探索章节标题界面
- if self.appear(self.I_UI_BACK_RED) and self.appear(self.I_E_EXPLORATION_CLICK):
+ if self.appear(self.I_UI_BACK_YELLOW) and self.appear(self.I_E_EXPLORATION_CLICK):
break
# 探索大世界界面
if self.appear(self.I_CHECK_EXPLORATION) and not self.appear(self.I_E_SETTINGS_BUTTON):
@@ -260,7 +260,7 @@ class SoloExploration(BaseExploration):
continue
#
elif scene == Scene.ENTRANCE:
- self.ui_click_until_disappear(self.I_UI_BACK_RED)
+ self.ui_click(self.I_UI_BACK_YELLOW,stop=self.I_CHECK_EXPLORATION)
elif scene == Scene.TEAM: