|
@@ -519,7 +519,19 @@ class task_collect(dongri_task):
|
|
|
if False == basic_operate.click_outside_search():
|
|
|
return False
|
|
|
|
|
|
- if self.isAddStrenghth and basic_operate.get_line_num() >= 5:
|
|
|
+ maxLineNum = 6
|
|
|
+ if self.isSimple:
|
|
|
+ if self.isAddStrenghth:
|
|
|
+ maxLineNum = 3
|
|
|
+ else:
|
|
|
+ maxLineNum = 4
|
|
|
+ else:
|
|
|
+ if self.isAddStrenghth:
|
|
|
+ maxLineNum = 5
|
|
|
+ else:
|
|
|
+ maxLineNum = 6
|
|
|
+
|
|
|
+ if basic_operate.get_line_num() >= maxLineNum:
|
|
|
return False
|
|
|
|
|
|
|