Pārlūkot izejas kodu

!2 speedup cure

pcacc 2 mēneši atpakaļ
vecāks
revīzija
7c6a9d8b87
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      dongri_task.py

+ 2 - 2
dongri_task.py

@@ -1104,9 +1104,9 @@ class task_cure(dongri_task):
             if waitClickImg_noWait_withBool(check_img.help4, 2, 1) == False:
                 return False
         else:
-            maxCureSoilder = 30000
+            maxCureSoilder = 50000
             maxTryTimes = int(maxCureSoilder) // int(self.cureNum) * 2
-            while waitClickImg_noWait_withBool((check_img.cure, check_img.help4, check_img.help5), 30, 0.2) and maxTryTimes >= 0:
+            while waitClickImg_noWait_withBool((check_img.cure, check_img.help4, check_img.help5), 10, 0.2) and maxTryTimes >= 0:
                 maxTryTimes -= 1
                 continue