Эх сурвалжийг харах

!2 try to multi participate in team

pcacc 4 сар өмнө
parent
commit
c692d6125f
1 өөрчлөгдсөн 7 нэмэгдсэн , 4 устгасан
  1. 7 4
      dongri_task.py

+ 7 - 4
dongri_task.py

@@ -910,8 +910,11 @@ class task_paticipateInTeam(dongri_task):
         basic_operate.go_outside()
         if waitClickImg_noWait_withBool(check_img.conflits, 2, 1) == False:
             return False
-        if waitClickImg_noWait_withBool(monster_img.participate, 1, 1) == False:
-            return False
+        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
         
         while True:
             if waitClickImg_noWait_withBool(monster_img.line1, 0.1, 1) == False:
@@ -1173,7 +1176,7 @@ if __name__ == '__main__':
     #task_fightMonster(False, False,False).run()
     #task_checkHelp().run()
     #task_checkStoreRoom().run()
-    task_activity_lianmeng().run()
+    #task_activity_lianmeng().run()
     #task_fight_yongbing(True).run()
     #task_collect([4,3,2,1]).run()
     #task_train("upgrade").run()
@@ -1185,5 +1188,5 @@ if __name__ == '__main__':
     #task_collect(3).run()
     #task_collect(4).run()
     #task_returnAllLine().run()
-    #task_paticipateInTeam().run()
+    task_paticipateInTeam().run()
     #task_fight_jina(True).run()