|
@@ -78,7 +78,7 @@ class basic_operate:
|
|
|
return
|
|
|
ret, pos = waitFindImg(place_img.title, 1, 0)
|
|
|
if ret:
|
|
|
- pcacc_mouse.click(pos[0] + 80, pos[1] + 80)
|
|
|
+ pcacc_mouse.click(pos[0] + 20, pos[1] + 80)
|
|
|
|
|
|
|
|
|
def backToGame(preTime = 0):
|
|
@@ -698,8 +698,18 @@ class task_information(dongri_task):
|
|
|
return False
|
|
|
if waitClickImg_noWait_withBool(monster_img.line1, 1, 1) == False:
|
|
|
return False
|
|
|
- if waitClickImg_withBool([monster_img.fight, monster_img.fight2], 1, 1) == False:
|
|
|
+
|
|
|
+ if waitClickImg_noWait_withBool(monster_img.all_select, 2, 1) == False:
|
|
|
return False
|
|
|
+ waitClickImg_noWait_withBool(monster_img.all_select, 0.1, 1)
|
|
|
+
|
|
|
+ maxTryTimes = 3
|
|
|
+ while maxTryTimes > 0:
|
|
|
+ maxTryTimes -= 1
|
|
|
+ waitClickImg_withBool([monster_img.fight, monster_img.fight2], 1, 1)
|
|
|
+ if False == waitClickImg_noWait_withBool(monster_img.all_select, 1, 1):
|
|
|
+ break
|
|
|
+
|
|
|
waitClickImg_noWait(information_img.add_strength, 1, 1)
|
|
|
waitClickImg_noWait(information_img.add_strength, 1, 1)
|
|
|
waitClickImg_noWait(information_img.add_strength, 1, 1)
|