|
@@ -711,7 +711,7 @@ class task_useAnnimalSkill(dongri_task):
|
|
|
if waitClickImg_noWait_withBool(check_img.wolf_skill, 2, 1) == False:
|
|
|
return False
|
|
|
|
|
|
- if waitClickImg_noWait_withBool(check_img.use, 2, 1) == False:
|
|
|
+ if waitClickImg_noWait_withBool((check_img.use, check_img.use2), 2, 1) == False:
|
|
|
return False
|
|
|
|
|
|
class task_activity_lianmeng(dongri_task):
|
|
@@ -721,11 +721,16 @@ class task_activity_lianmeng(dongri_task):
|
|
|
basic_operate.go_town()
|
|
|
if waitClickImg_noWait_withBool(special_activity_img.normal, 2, 1) == False:
|
|
|
return False
|
|
|
- if waitClickImg_noWait_withBool(special_activity_img.lianmeng, 2, 1) == False:
|
|
|
+ if waitClickImg_noWait_withBool((special_activity_img.lianmeng,special_activity_img.lianmeng2), 2, 1) == False:
|
|
|
return False
|
|
|
- if waitClickImg_noWait_withBool(special_activity_img.shili, 2, 1) == True:
|
|
|
- if waitClickImg_noWait_withBool(special_activity_img.accept_task, 2, 1) == False:
|
|
|
- return False
|
|
|
+
|
|
|
+ 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, special_activity_img.shili2), 2, 1) == True:
|
|
|
+ if waitClickImg_noWait_withBool(special_activity_img.accept_task, 2, 1) == False:
|
|
|
+ return False
|
|
|
+
|
|
|
maxTryTimes = 2
|
|
|
while waitClickImg_noWait_withBool(special_activity_img.owning, 2, 1) == True:
|
|
|
maxTryTimes -= 1
|