Răsfoiți Sursa

!2 fix chenxi_get and life_jam

pcacc 3 luni în urmă
părinte
comite
b994c32424
4 a modificat fișierele cu 5 adăugiri și 3 ștergeri
  1. BIN
      dongri_img/check/chenxi_get2.png
  2. BIN
      dongri_img/check/life_jam2.png
  3. 2 0
      dongri_pic.py
  4. 3 3
      dongri_task.py

BIN
dongri_img/check/chenxi_get2.png


BIN
dongri_img/check/life_jam2.png


+ 2 - 0
dongri_pic.py

@@ -163,6 +163,8 @@ class check_img:
     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'
+    life_jam2 = R'dongri_img\check\life_jam2.png'
+    chenxi_get2 = R'dongri_img\check\chenxi_get2.png'
     visit_island_small = R'dongri_img\check\visit_island_small.png'
     visit_island_big = R'dongri_img\check\visit_island_big.png'
     visit_enter = R'dongri_img\check\visit_enter.png'

+ 3 - 3
dongri_task.py

@@ -691,8 +691,8 @@ class task_gotoTree(dongri_task):
         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)
+        waitClickImg_noWait_withBool((check_img.life_jam, check_img.life_jam2), 2, 1)
+        waitClickImg_noWait_withBool((check_img.life_jam, check_img.life_jam2), 2, 1)
         return True
     
 class task_getStrength(dongri_task):
@@ -733,7 +733,7 @@ class task_checkStoreRoom(dongri_task):
         myTimeSleep_big()
 
         if waitFindImg_withBool(check_img.pet_findtreature, 2, 1) == False:# storeroom
-            waitClickImg_noWait_withBool(check_img.bigGet, 2, 1)
+            waitClickImg_noWait_withBool((check_img.bigGet, check_img.chenxi_get2), 2, 1)
             pcacc_mouse.quickclick_current()
             myTimeSleep_big()
             if waitClickImg_noWait_withBool((check_img.detail,check_img.detail2), 2, 1):