- 积分
- 4
- 阅读权限
- 10
- 鲜花
- 0
- 猫粮
- 5
- 在线时间
- 0 小时
- 精华
- 0
- 注册时间
- 2019-5-29
- 性别
- 保密
- 最后登录
- 2019-5-29
学前班
- 鲜花
- 0
- 猫粮
- 5
|
楼主 |
发表于 2019-5-29 12:42:00
|
显示全部楼层
要怎麼辦?
我腳本是︰
Do
FindPic 0, 0, 1920, 1080, "Attachment:\Battle.bmp", 0.9, intXB, intYB
Delay 800
//If in battle
If intXB > 0 and intYB > 0 Then
//mon1 Attack
FindPic 0, 0, 800, 600, "Attachment:\monstercircle5.bmp", 0.9, intXF, intYF
Delay 50
If intXF > 0 and intYF > 0 Then
Delay 50
KeyPress "F8", 1
Delay 50
MoveTo intXF, intYF - 5
Delay 50
LeftClick 1
End If
//mon2 Attack
FindPic 820,50,1630,680, "Attachment:\monstercircle5.bmp", 0.9, intXFI, intYFI
Delay 50
If intXFI > 0 and intYFI > 0 Then
Delay 50
KeyPress "F8", 1
Delay 50
MoveTo intXFI, intYFI - 5
Delay 50
LeftClick 1
End If
Loop
但有時會停下來不運行…有時會找到螢幕1的A運行完我要的動作,腳本就停了找不D了… |
|