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

!2 add jina call function

pcacc 4 сар өмнө
parent
commit
af5e6a3711

+ 2 - 0
app_dongri.py

@@ -259,6 +259,8 @@ def add_auto_task(isMaxCollect, isJina, isSimple = False, isAddStrengh = False,
                 task_queue.appendleft(task_fightMonster(isAddStrengh, False, isSimple))
             elif isJina == 'big_monster':
                 task_queue.appendleft(task_fightMonster(isAddStrengh, True, isSimple))
+            elif isJina == 'jina_call':
+                task_queue.appendleft(task_call_jina())
         task_queue.appendleft(task_collect(collectArr, isSimple, isAddStrengh))
         task_queue.appendleft(task_train(train_type))
         task_queue.appendleft(task_checkActivities())

BIN
dongri_img/check/invite_free.png


BIN
dongri_img/check/share.png


BIN
dongri_img/check/share_btn.png


BIN
dongri_img/check/to_pcacc.png


+ 3 - 0
dongri_pic.py

@@ -131,6 +131,9 @@ class check_img:
     activity_open = R'dongri_img\check\activity_open.png'
     todoList = R'dongri_img\check\todoList.png'
     todo_region = (87, 289, 511, 694)
+    share = R'dongri_img\check\share.png'
+    to_pcacc = R'dongri_img\check\to_pcacc.png'
+    share_btn = R'dongri_img\check\share_btn.png'
 
 
 class information_img:

+ 28 - 1
dongri_task.py

@@ -274,7 +274,33 @@ class task_fight_yongbing(dongri_task):
 
         return True
 
+
+class task_call_jina(dongri_task):
+    def __init__(self):
+        super().__init__("召唤吉娜")
+    
+    def run(self):
+        basic_operate.go_outside()
+
+        if waitClickImg_noWait_withBool(check_img.pack, 2, 1) == False:
+            return False
+        
+        if waitClickImg_noWait_withBool((check_img.other, check_img.other2), 2, 1) == False:
+            return False
         
+        if waitClickImg_noWait_withBool(check_img.jina_jiao, 2, 1) == False:
+            return False
+        
+        if waitClickImg_noWait_withBool(check_img.use, 2, 1) == False:
+            return False
+        
+        if waitClickImg_noWait_withBool(check_img.share, 2, 1) == False:
+            return False
+        if waitClickImg_noWait_withBool(check_img.to_pcacc, 2, 1) == False:
+            return False
+        if waitClickImg_noWait_withBool(check_img.share_btn, 2, 1) == False:
+            return False
+        return True
 
 
 class task_fight_jina(dongri_task):
@@ -907,6 +933,7 @@ class task_checkActivities(dongri_task):
 
 
 if __name__ == '__main__':
+    task_call_jina().run()
     #task_checkConfilits().run()
     #task_checkActivities().run()
     #task_checkMaster().run()
@@ -916,7 +943,7 @@ if __name__ == '__main__':
     #basic_operate.add_strength()
     #task_fightMonster(False, False,False).run()
     #task_checkHelp().run()
-    task_checkStoreRoom().run()
+    #task_checkStoreRoom().run()
     #task_activity_lianmeng().run()
     #task_fight_yongbing(True).run()
     #task_collect([4,3,2,1]).run()