|
|
@@ -80,7 +80,9 @@ class SoloExploration(BaseExploration):
|
|
|
# 向后拉,寻找怪
|
|
|
if search_fail_cnt >= 4:
|
|
|
search_fail_cnt = 0
|
|
|
- if (self._config.exploration_config.exploration_level == ExplorationLevel.EXPLORATION_28 and self.appear(self.I_SWIPE_END)) or self._match_end.stable(self.device.image):
|
|
|
+ if (self._config.exploration_config.exploration_level == ExplorationLevel.EXPLORATION_28\
|
|
|
+ and self.appear(self.I_SWIPE_END))\
|
|
|
+ or self._match_end.stable(self.device.image, refresh_when_stable=True):
|
|
|
self.quit_explore()
|
|
|
continue
|
|
|
if self.swipe(self.S_SWIPE_BACKGROUND_RIGHT, interval=3):
|
|
|
@@ -210,7 +212,9 @@ class SoloExploration(BaseExploration):
|
|
|
# 向后拉,寻找怪
|
|
|
if search_fail_cnt >= 4:
|
|
|
search_fail_cnt = 0
|
|
|
- if (self._config.exploration_config.exploration_level == ExplorationLevel.EXPLORATION_28 and self.appear(self.I_SWIPE_END)) or self._match_end.stable(self.device.image):
|
|
|
+ if (self._config.exploration_config.exploration_level == ExplorationLevel.EXPLORATION_28\
|
|
|
+ and self.appear(self.I_SWIPE_END))\
|
|
|
+ or self._match_end.stable(self.device.image, refresh_when_stable=True):
|
|
|
self.quit_explore()
|
|
|
continue
|
|
|
if self.swipe(self.S_SWIPE_BACKGROUND_RIGHT, interval=4.5):
|