Explorar el Código

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

runhey hace 3 años
padre
commit
b16696f8d8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()
             self.screenshot()
             if self.appear(self.I_CLOUD):
             if self.appear(self.I_CLOUD):
                 break
                 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
                 continue
 
 
         check_image = self.I_AWAKE
         check_image = self.I_AWAKE