Selaa lähdekoodia

fix(WantedQuests): streamline exploration version checks and wanted quest detection

ryland 6 kuukautta sitten
vanhempi
sitoutus
602eede664
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      tasks/WantedQuests/explore.py

+ 1 - 0
tasks/WantedQuests/explore.py

@@ -89,6 +89,7 @@ class WQExplore(BaseExploration, HighLight):
                     continue
                     continue
                 # 向后拉,寻找怪
                 # 向后拉,寻找怪
                 if search_fail_timer.reached():
                 if search_fail_timer.reached():
+                    search_fail_timer.reset()
                     if self._match_end.stable(self.device.image, refresh_after_stable=True):
                     if self._match_end.stable(self.device.image, refresh_after_stable=True):
                         _cnt_exploration += 1
                         _cnt_exploration += 1
                         self.quit_explore()
                         self.quit_explore()