|
@@ -613,6 +613,22 @@ class task_checkHelp(dongri_task):
|
|
waitClickImg_noWait_withBool(place_img.help, 2, 1)
|
|
waitClickImg_noWait_withBool(place_img.help, 2, 1)
|
|
return True
|
|
return True
|
|
|
|
|
|
|
|
+class task_gotoTree(dongri_task):
|
|
|
|
+ def __init__(self):
|
|
|
|
+ super().__init__(f"查看生命之树")
|
|
|
|
+ def run(self):
|
|
|
|
+ basic_operate.go_town()
|
|
|
|
+ if waitClickImg_noWait_withBool(train_img.quick_panel, 2, 1) == False:
|
|
|
|
+ return False
|
|
|
|
+
|
|
|
|
+ myTimeSleep_big()
|
|
|
|
+ yys_dragAuto(check_img.move_down)
|
|
|
|
+ yys_dragAuto(check_img.move_down)
|
|
|
|
+ myTimeSleep_big()
|
|
|
|
+ if waitClickImg_noWait_withBool(check_img.life_tree, 2, 1) == False:
|
|
|
|
+ return False
|
|
|
|
+ return True
|
|
|
|
+
|
|
class task_checkStoreRoom(dongri_task):
|
|
class task_checkStoreRoom(dongri_task):
|
|
def __init__(self):
|
|
def __init__(self):
|
|
super().__init__(f"检查仓库或招募")
|
|
super().__init__(f"检查仓库或招募")
|
|
@@ -653,8 +669,6 @@ class task_checkStoreRoom(dongri_task):
|
|
waitClickImg_noWait_withBool(check_img.pet_gotreature, 2, 1)
|
|
waitClickImg_noWait_withBool(check_img.pet_gotreature, 2, 1)
|
|
waitClickImg_noWait_withBool(check_img.pet_begintreature, 2, 1)
|
|
waitClickImg_noWait_withBool(check_img.pet_begintreature, 2, 1)
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
return True
|
|
return True
|
|
|
|
|
|
class task_checkConfilits(dongri_task):
|
|
class task_checkConfilits(dongri_task):
|
|
@@ -1008,6 +1022,7 @@ class task_checkActivities(dongri_task):
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
if __name__ == '__main__':
|
|
|
|
+ task_gotoTree().run()
|
|
#task_fight_jina_only().run()
|
|
#task_fight_jina_only().run()
|
|
#task_checkConfilits().run()
|
|
#task_checkConfilits().run()
|
|
#task_checkActivities().run()
|
|
#task_checkActivities().run()
|
|
@@ -1018,7 +1033,7 @@ if __name__ == '__main__':
|
|
#basic_operate.add_strength()
|
|
#basic_operate.add_strength()
|
|
#task_fightMonster(False, False,False).run()
|
|
#task_fightMonster(False, False,False).run()
|
|
#task_checkHelp().run()
|
|
#task_checkHelp().run()
|
|
- task_checkStoreRoom().run()
|
|
|
|
|
|
+ #task_checkStoreRoom().run()
|
|
#task_activity_lianmeng().run()
|
|
#task_activity_lianmeng().run()
|
|
#task_fight_yongbing(True).run()
|
|
#task_fight_yongbing(True).run()
|
|
#task_collect([4,3,2,1]).run()
|
|
#task_collect([4,3,2,1]).run()
|