|
@@ -1095,16 +1095,16 @@ class task_fight_ranshuang(dongri_task):
|
|
|
basic_operate.backToGame()
|
|
|
|
|
|
while True:
|
|
|
- if waitClickImg_noWait_withBool(check_img.ranshuang_search, 0.5, 0.5) == False:
|
|
|
+ if waitClickImg_noWait_withBool(monster_img.ranshuang_search, 0.5, 0.5) == False:
|
|
|
return False
|
|
|
- if waitClickImg_noWait_withBool(check_img.ranshuang_attack, 0.5, 0.5) == False:
|
|
|
- break
|
|
|
+ if waitClickImg_noWait_withBool(monster_img.ranshuang_attack, 0.5, 0.5) == False:
|
|
|
+ firstPos = get_yys_random_point(special_activity_img.mid_enemy_region)
|
|
|
+ pcacc_mouse.click(firstPos[0], firstPos[1])
|
|
|
+ myTimeSleep_big()
|
|
|
+ if waitClickImg_noWait_withBool(monster_img.ranshuang_attack, 1, 0.5) == False:
|
|
|
+ break
|
|
|
+ break
|
|
|
|
|
|
- firstPos = get_yys_random_point(special_activity_img.first_enemy_region)
|
|
|
- pcacc_mouse.click(firstPos[0], firstPos[1])
|
|
|
- myTimeSleep_small()
|
|
|
- if waitClickImg_noWait_withBool(check_img.ranshuang_attack, 0.5, 0.5) == False:
|
|
|
- break
|
|
|
|
|
|
|
|
|
if waitClickImg_noWait_withBool([monster_img.fight, monster_img.fight2], 1, 0.5) == False:
|