Browse Source

!2 participate in team drag more

pcacc 1 tháng trước cách đây
mục cha
commit
a6fcc593fa
1 tập tin đã thay đổi với 9 bổ sung7 xóa
  1. 9 7
      dongri_task.py

+ 9 - 7
dongri_task.py

@@ -1039,12 +1039,14 @@ class task_paticipateInTeam(dongri_task):
         yys_dragAuto(check_img.move_down)
         myTimeSleep_small()
         yys_dragAuto(check_img.move_down)
-        myTimeSleep_big()
-        if waitClickImg_noWait_withBool(monster_img.participate, 1, 1, True) == False:
-            yys_dragAuto(check_img.move_down)
-            myTimeSleep_big()
-            if waitClickImg_noWait_withBool(monster_img.participate, 1, 1, True) == False:
-                return False
+        myTimeSleep_small()
+        yys_dragAuto(check_img.move_down)
+        myTimeSleep_small()
+        set_isDown(True)
+        ret = waitClickImg_noWait_withBool(monster_img.participate, 1, 1, True)
+        set_isDown(False)
+        if ret == False:
+            return False
         
         waitClickImg_noWait_withBool(self.line, 0.1, 1)
         maxTryTimes = 3
@@ -1582,7 +1584,7 @@ class task_testFun(dongri_task):
 
 if __name__ == '__main__':
     #task_checkPower().run()
-    task_checkActivities().run()
+    #task_checkActivities().run()
     #print(get_todo_time("巨熊行动"))
     #task_check_Research().run()
     #save_game_screen()