多台控制
This commit is contained in:
14
main.py
14
main.py
@@ -252,7 +252,7 @@ while True:
|
||||
time.sleep(0.8)
|
||||
mouse_gui.send_data_absolute(left + 706, top + 454, may=1)
|
||||
continue
|
||||
elif panduan: # 图内情况
|
||||
elif panduan: # 图内情况
|
||||
print("在图内")
|
||||
if shizi.shuzi(im_opencv[0]):
|
||||
boss_pd = True
|
||||
@@ -260,15 +260,9 @@ while True:
|
||||
if shizi.fuhuo(im_opencv[0]):
|
||||
print('点击复活')
|
||||
mouse_gui.send_data_absolute(left + 536, top + 627, may=1)
|
||||
mouse_gui.send_data_absolute(rw[0], rw[1], may=0)
|
||||
continue
|
||||
if detections['zhaozi'] is not None:
|
||||
move_to(rw, detections['zhaozi'])
|
||||
continue
|
||||
if len(detections['daojv']) != 0:
|
||||
move_to(rw, process_points(detections['daojv']))
|
||||
for i in range(3 + len(detections['daojv'])):
|
||||
keyboard.send_data("AA")
|
||||
|
||||
|
||||
|
||||
time.sleep(0.15)
|
||||
keyboard.release()
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user