Browse Source

!2 yongbing judge line num too

pcacc 4 tháng trước cách đây
mục cha
commit
1de9a768cf
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      dongri_task.py

+ 5 - 1
dongri_task.py

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