Browse Source

!2 yongbing judge line num too

pcacc 4 months ago
parent
commit
1de9a768cf
1 changed files with 5 additions and 1 deletions
  1. 5 1
      dongri_task.py

+ 5 - 1
dongri_task.py

@@ -251,7 +251,11 @@ class task_fight_yongbing(dongri_task):
             else:
             else:
                 print("没有足够的体力了")
                 print("没有足够的体力了")
                 return False
                 return False
-            
+        
+
+        if basic_operate.get_line_num() >= 6:
+            return False
+
         if waitClickImg_noWait_withBool(check_img.yongbing, 2, 1) == False:
         if waitClickImg_noWait_withBool(check_img.yongbing, 2, 1) == False:
             return False
             return False