Browse Source

!2 add store auto get strength

pcacc 5 months ago
parent
commit
0ab7f995a1
4 changed files with 5 additions and 2 deletions
  1. 2 2
      app_dongri.py
  2. BIN
      dongri_img/check/store_strength.png
  3. 1 0
      dongri_pic.py
  4. 2 0
      dongri_task.py

+ 2 - 2
app_dongri.py

@@ -179,8 +179,8 @@ def add_auto_task(isMaxCollect, isJina, isSimple = False, isAddStrengh = False):
     print("collectArr", collectArr)
     times = 0
     while not event.is_set():
-        if not isSimple:
-            task_queue.appendleft(task_information())
+
+        task_queue.appendleft(task_information())
         task_queue.appendleft(task_checkHelp(False))
         #if not isSimple:
         #    task_queue.appendleft(task_paticipateInTeam())

BIN
dongri_img/check/store_strength.png


+ 1 - 0
dongri_pic.py

@@ -100,6 +100,7 @@ class check_img:
     cure = R'dongri_img\check\cure.png'
     add_strength = R'dongri_img\check\add_strength.png'
     no_strength = R'dongri_img\check\no_strength.png'
+    store_strength = R'dongri_img\check\store_strength.png'
     annimal_skill = R'dongri_img\check\anninal_skill.png'
     wolf_skill = R'dongri_img\check\wolf_skill.png'
     use = R'dongri_img\check\use.png'

+ 2 - 0
dongri_task.py

@@ -430,6 +430,8 @@ class task_checkStoreRoom(dongri_task):
         pcacc_mouse.quickclick_current()
         if waitClickImg_noWait_withBool((check_img.storeroom, check_img.invite_free), 2, 1) == False:
             return False
+        
+        waitClickImg_noWait_withBool(check_img.store_strength, 2, 1)
         return True
     
 class task_checkConfilits(dongri_task):