|
@@ -462,12 +462,13 @@ class check_buildOrResearch(dongri_task):
|
|
|
tryTimes -= 1
|
|
|
myTimeSleep_big()
|
|
|
pcacc_mouse.click(dst_x=dstPos[0], dst_y=dstPos[1])
|
|
|
- if waitClickImg_noWait_withBool(check_img.build_upgrade, 2, 1):
|
|
|
- dstType = 'build'
|
|
|
- break
|
|
|
- elif waitClickImg_noWait_withBool(check_img.research, 2, 1):
|
|
|
+
|
|
|
+ if waitClickImg_noWait_withBool(check_img.research, 2, 1):
|
|
|
dstType = 'research'
|
|
|
break
|
|
|
+ elif waitClickImg_noWait_withBool(check_img.build_upgrade, 2, 1):
|
|
|
+ dstType = 'build'
|
|
|
+ break
|
|
|
break
|
|
|
if dstType == 'none':
|
|
|
print('没有找到建筑或研究')
|