|
@@ -1136,10 +1136,11 @@ class task_fight_enemy(dongri_task):
|
|
return False
|
|
return False
|
|
while waitFindImg_withBool(attackArr, 1, 0) == False and maxTryTimes > 0:
|
|
while waitFindImg_withBool(attackArr, 1, 0) == False and maxTryTimes > 0:
|
|
if waitClickImg_noWait_withBool(special_activity_img.outside_soilder, 1, 1) == True:
|
|
if waitClickImg_noWait_withBool(special_activity_img.outside_soilder, 1, 1) == True:
|
|
- if waitFindImg_withBool(special_activity_img.outside_pcacc, 1, 1) == True:
|
|
|
|
- break
|
|
|
|
- else:
|
|
|
|
- return False
|
|
|
|
|
|
+ break
|
|
|
|
+ #if waitFindImg_withBool(special_activity_img.outside_pcacc, 1, 1) == True:
|
|
|
|
+ # break
|
|
|
|
+ #else:
|
|
|
|
+ # return False
|
|
maxTryTimes -= 1
|
|
maxTryTimes -= 1
|
|
myTimeSleep_big()
|
|
myTimeSleep_big()
|
|
mid_enemy_pos = get_yys_random_point(special_activity_img.mid_enemy_region)
|
|
mid_enemy_pos = get_yys_random_point(special_activity_img.mid_enemy_region)
|