Przeglądaj źródła

fix(task): Click "Open Buff" too much

runhey 3 lat temu
rodzic
commit
b16696f8d8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      tasks/Component/GeneralBuff/general_buff.py

+ 1 - 1
tasks/Component/GeneralBuff/general_buff.py

@@ -25,7 +25,7 @@ class GeneralBuff(BaseTask, GeneralBuffAssets):
             self.screenshot()
             if self.appear(self.I_CLOUD):
                 break
-            if self.appear_then_click(self.I_BUFF_1, interval=2) or self.ocr_appear_click(self.O_GB_BUFF_2, interval=2):
+            if self.appear_then_click(self.I_BUFF_1, interval=2):
                 continue
 
         check_image = self.I_AWAKE