pcacc 4 miesięcy temu
rodzic
commit
a8e9c037a1

BIN
dongri_img/special_activity/shili_860_3.png


+ 1 - 0
dongri_pic.py

@@ -187,6 +187,7 @@ class special_activity_img:
     shili_120 = R'dongri_img\special_activity\shili_120.png'
     shili_860 = R'dongri_img\special_activity\shili_860.png'
     shili_860_2 = R'dongri_img\special_activity\shili_860_2.png'
+    shili_860_3 = R'dongri_img\special_activity\shili_860_3.png'
 
     bigMonster = R'dongri_img\special_activity\bigMonster.png'
     owning = R'dongri_img\special_activity\owning.png'

+ 3 - 3
dongri_task.py

@@ -992,13 +992,13 @@ class task_activity_lianmeng(dongri_task):
         waitClickImg_noWait_withBool(special_activity_img.task_done, 2, 1)
         
         if waitFindImg_withBool(special_activity_img.doing_task, 2, 1) == False:
-            if waitClickImg_noWait_withBool((special_activity_img.shili_120, special_activity_img.shili_860_2, special_activity_img.bigMonster), 2, 1) == True:
+            if waitClickImg_noWait_withBool((special_activity_img.shili_120, special_activity_img.shili_860_3, special_activity_img.bigMonster), 2, 1) == True:
                 if waitClickImg_noWait_withBool(special_activity_img.accept_task, 2, 1) == False:
                     return False
         
-        if waitFindImg_withBool((special_activity_img.shili_120, special_activity_img.shili_860_2), 2, 1) == False:
+        if waitFindImg_withBool((special_activity_img.shili_120, special_activity_img.shili_860_3), 2, 1) == False:
             maxTryTimes = 2
-            while waitClickImg_noWait_withBool((special_activity_img.owning, special_activity_img.owning_120), 2, 1) == True:
+            while waitClickImg_noWait_withBool((special_activity_img.owning), 2, 1) == True:
                 waitClickImg_noWait_withBool(special_activity_img.refresh_task, 2, 1)
                 waitClickImg_noWait_withBool(special_activity_img.refresh, 2, 1)
                 maxTryTimes -= 1

+ 1 - 0
templates/index_dongri.html

@@ -281,6 +281,7 @@
         }
 
         function isWorkingHours() {
+            return false;
             const now = new Date();
             const day = now.getDay(); // 0是周日,1是周一,...,6是周六
             const hours = now.getHours();