Ver Fonte

!2 fix get life tree jam

pcacc há 4 meses atrás
pai
commit
2c96a5f059
4 ficheiros alterados com 7 adições e 2 exclusões
  1. 1 2
      app_dongri.py
  2. BIN
      dongri_img/check/life_jam.png
  3. 1 0
      dongri_pic.py
  4. 5 0
      dongri_task.py

+ 1 - 2
app_dongri.py

@@ -299,8 +299,7 @@ def add_auto_task(isMaxCollect, isJina, isSimple = False, isAddStrengh = False,
             task_queue.appendleft(task_checkHelp(False))
             if auto_participate:
                 task_queue.appendleft(task_checkConfilits())
-
-        task_queue.appendleft(task_gotoTree())
+            task_queue.appendleft(task_gotoTree())
 
         if always == False and g_times == 7:
             handle_end_game()

BIN
dongri_img/check/life_jam.png


+ 1 - 0
dongri_pic.py

@@ -142,6 +142,7 @@ class check_img:
     jina_pic = R'dongri_img\check\jina_pic.png'
     jina_pic2 = R'dongri_img\check\jina_pic2.png'
     life_tree = R'dongri_img\check\life_tree.png'
+    life_jam = R'dongri_img\check\life_jam.png'
 
 
 

+ 5 - 0
dongri_task.py

@@ -627,6 +627,11 @@ class task_gotoTree(dongri_task):
         myTimeSleep_big()
         if waitClickImg_noWait_withBool(check_img.life_tree, 2, 1) == False:
             return False
+        myTimeSleep_big()
+        pcacc_mouse.quickclick_current()
+        myTimeSleep_big()
+        waitClickImg_noWait_withBool(check_img.life_jam, 2, 1)
+        waitClickImg_noWait_withBool(check_img.life_jam, 2, 1)
         return True
     
 class task_checkStoreRoom(dongri_task):