|
@@ -838,7 +838,20 @@ class task_information(dongri_task):
|
|
|
if waitClickImg_noWait_withBool(information_img.information, 1, 1) == False:
|
|
|
return False
|
|
|
|
|
|
- if waitClickImg_noWait_withBool([information_img.hero0, information_img.hero1, information_img.hero2], 0.5, 0.5):
|
|
|
+ hero_arr = [information_img.hero0, information_img.hero1, information_img.hero2]
|
|
|
+ camp_arr = [information_img.camp1, information_img.camp2]
|
|
|
+ wolf_arr = [information_img.wolf0, information_img.wolf1, information_img.wolf2]
|
|
|
+ total_arr = []
|
|
|
+ total_arr.append(hero_arr)
|
|
|
+ total_arr.append(camp_arr)
|
|
|
+ total_arr.append(wolf_arr)
|
|
|
+
|
|
|
+ if waitFindImg_withBool(total_arr, 2, 1) == False:
|
|
|
+ return False
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ if waitClickImg_noWait_withBool(hero_arr, 0.5, 0.5):
|
|
|
if waitClickImg_noWait_withBool(information_img.gotosee, 1, 1) == False:
|
|
|
return False
|
|
|
if waitClickImg_noWait_withBool(information_img.explore, 1, 1) == False:
|
|
@@ -848,13 +861,13 @@ class task_information(dongri_task):
|
|
|
|
|
|
myTimeSleep_big()
|
|
|
return True
|
|
|
- elif waitClickImg_noWait_withBool([information_img.camp1, information_img.camp2], 0.5, 0.5):
|
|
|
+ elif waitClickImg_noWait_withBool(camp_arr, 0.5, 0.5):
|
|
|
if waitClickImg_noWait_withBool(information_img.gotosee, 1, 1) == False:
|
|
|
return False
|
|
|
if waitClickImg_noWait_withBool(information_img.survive, 1, 1) == False:
|
|
|
return False
|
|
|
return True
|
|
|
- elif waitClickImg_noWait_withBool([information_img.wolf0, information_img.wolf1, information_img.wolf2], 0.5, 0.5):
|
|
|
+ elif waitClickImg_noWait_withBool(wolf_arr, 0.5, 0.5):
|
|
|
if waitClickImg_noWait_withBool(information_img.gotosee, 1, 1) == False:
|
|
|
return False
|
|
|
if waitClickImg_noWait_withBool(information_img.fight, 1, 1) == False:
|
|
@@ -1146,7 +1159,7 @@ class task_fight_enemy(dongri_task):
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
#task_cure(True, 85).run()
|
|
|
- task_fight_enemy().run()
|
|
|
+ #task_fight_enemy().run()
|
|
|
#task_fight_ranshuang().run()
|
|
|
#task_gotoTree().run()
|
|
|
#task_fight_jina_only().run()
|
|
@@ -1160,7 +1173,7 @@ if __name__ == '__main__':
|
|
|
#task_fightMonster(False, False,False).run()
|
|
|
#task_checkHelp().run()
|
|
|
#task_checkStoreRoom().run()
|
|
|
- #task_activity_lianmeng().run()
|
|
|
+ task_activity_lianmeng().run()
|
|
|
#task_fight_yongbing(True).run()
|
|
|
#task_collect([4,3,2,1]).run()
|
|
|
#task_train("upgrade").run()
|