Sfoglia il codice sorgente

!2 modify get strength

pcacc 1 mese fa
parent
commit
4e25d2e9d6
1 ha cambiato i file con 9 aggiunte e 10 eliminazioni
  1. 9 10
      dongri_task.py

+ 9 - 10
dongri_task.py

@@ -707,14 +707,13 @@ class task_getStrength(dongri_task):
         if waitClickImg_noWait_withBool(train_img.quick_panel, 2, 1) == False:
             return False
         
-        myTimeSleep_big()
-        yys_dragAuto(check_img.move_down)
-        yys_dragAuto(check_img.move_down)
-        myTimeSleep_big()
-        if waitClickImg_noWait_withBool(check_img.pet_btn, 2, 1) == False:
+        if waitClickImg_noWait_withBool(check_img.pannel_research, 2, 1) == False:
             return False
+        
+        myTimeSleep_big()
+        yys_dragAuto(change_direction(special_activity_img.champion_move))
+
         myTimeSleep_big()
-        basic_operate.go_town()
         if waitClickImg_noWait_withBool(check_img.store_strength, 3, 1):
             waitClickImg_noWait_withBool((check_img.get,check_img.bigGet), 2, 1)
         return True
@@ -1604,8 +1603,8 @@ class task_testFun(dongri_task):
     def __init__(self):
         super().__init__(f"测试功能")
     def run(self):
-        task_checkDiamond().run()
-        #task_paticipateInTeam().run()
+        #task_checkDiamond().run()
+        task_paticipateInTeam().run()
         return True
 
 if __name__ == '__main__':
@@ -1624,8 +1623,8 @@ if __name__ == '__main__':
     #task_gotoTree().run()
     #task_fight_jina_only().run()
     #task_checkConfilits().run()
-    #task_getStrength().run()
-    task_checkActivities().run()
+    task_getStrength().run()
+    #task_checkActivities().run()
     #task_checkMaster().run()
     #basic_operate.get_line_num()
     #yys_ocrAuto(check_img.line_orc)