[Lua] 纯文本查看 复制代码
// 三国志战略版 小米
Dim intX,intY
Delay 3000
Function 小米
FindPic 0,0,0,0,"Attachment:小米.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint "小米启动成功"
Delay 10000
End If
End Function
Function 启动游戏
Do
FindPic 0,0,0,0,"Attachment:点击进入游戏识别.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint "点击进入游戏"
Delay 3000
Exit Do
Else
Delay 1000
End If
Loop
Do
FindPic 0,0,0,0,"Attachment:前往征战.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint "前往征战"
Delay 1500
End If
Loop
End Function
Function 长期处于不活跃
FindPic 0,0,0,0,"Attachment:长期不活跃.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX-130,intY+80
TracePrint "不活跃确定"
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:进入征战.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint "进入征战"
Delay 1500
End If
Do
FindPic 0,0,0,0,"Attachment:河北.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
Do
FindPic 0,0,0,0,"Attachment:入住河北.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 3000
FindPic 0,0,0,0,"Attachment:本州饱满.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "本周爆满"
Else
Exit Do
End If
FindPic 0,0,0,0,"Attachment:起兵.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX-110,intY
TracePrint "起兵"
Delay 1500
End If
End If
FindPic 0,0,0,0,"Attachment:山东.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:入驻山东.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 3000
FindPic 0,0,0,0,"Attachment:本州饱满.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "本周爆满"
End If
FindPic 0,0,0,0,"Attachment:起兵.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX-110,intY
TracePrint "起兵"
Delay 1500
End If
End If
FindPic 0,0,0,0,"Attachment:第一章.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Exit Do
End If
Loop
Loop
End Function
Function 未注册
Do
FindPic 0,0,0,0,"Attachment:老头.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "找到老头"
Exit Do
End If
Loop
Do
FindPic 0,0,0,0,"Attachment:答题开始.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "开始答题"
Exit Do
Else
Delay 1000
Tap 483, 110
End If
Loop
Do
FindPic 0,0,0,0,"Attachment:贤主1.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主2.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主3.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主4.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主5.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主6.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主7.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主8.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主9.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主10.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主11.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主12.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主13.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主14.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主15.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主16.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主17.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主18.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主19.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主20.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主21.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:贤主.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "已成为贤主"
Tap intX,intY
Delay 1500
Exit Do
End If
Loop
Tap intX,intY
Delay 3000
FindPic 0,0,0,0,"Attachment:确认选择.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
Do
FindPic 0,0,0,0,"Attachment:随机.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:进入乱世.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint "进入乱世"
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:名字重复.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "名字重复"
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:择一良地起兵.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX, intY
Delay 3000
Exit Do
End If
Loop
Tap intX, intY
Delay 1500
Tap intX, intY
Delay 3000
Tap intX, intY
Delay 3000
Do
FindPic 0,0,0,0,"Attachment:河北.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
Do
FindPic 0,0,0,0,"Attachment:入住河北.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 3000
FindPic 0,0,0,0,"Attachment:本州饱满.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "本周爆满"
Else
Exit Do
End If
End If
FindPic 0,0,0,0,"Attachment:山东.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:入驻山东.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 3000
FindPic 0,0,0,0,"Attachment:本州饱满.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "本周爆满"
End If
End If
FindPic 0,0,0,0,"Attachment:第一章.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Exit Do
End If
Loop
Loop
End Function
// 同样的答案不同的组合居然会出现不同的结果所以抛弃掉
Function 新手任务
//新手任务
//下一步
FindPic 0,0,0,0,"Attachment:第一章.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap 97,103
Delay 3000
End If
Tap 191, 696
Delay 1500
Tap 191, 696
Delay 1500
Tap 191, 696
Delay 1500
Tap 191, 696
Delay 1500
Tap 191, 696
Delay 1500
Tap 191, 696
Delay 1500
// 招募
FindPic 0,0,0,0,"Attachment:任务完成点击识别.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "开始招募"
Tap intX + 50, intY + 500
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:名将.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "名将"
Tap intX - 300, intY
Delay 5000
End If
// 出招募将
Tap 145, 471
Delay 1500
Tap 145, 471
Delay 1500
Tap 145, 471
Delay 1500
Tap 145, 471
Delay 1500
FindPic 0,0,0,0,"Attachment:返回校对.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX, intY + 330
TracePrint "返回"
Delay 1500
Tap intX, intY + 330
TracePrint "返回"
Delay 1500
End If
// 加入队伍
Tap 223, 602
Delay 1500
// 点击主城
// 识别武将进行偏移
FindPic 0,0,0,0,"Attachment:任务完成点击识别.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "点击城池"
Tap intX + 400, intY + 200
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:任务完成点击识别.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "点击入城"
Tap intX + 370, intY + 200
Delay 1500
End If
// 编制部队识别--识别寻访
FindPic 0,0,0,0,"Attachment:寻访.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX-350,intY
TracePrint "寻访识别成功并点击编制部队"
Delay 1500
End If
// 编辑部队
FindPic 0,0,0,0,"Attachment:点将识别校队.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY-430
TracePrint "配置主将"
Delay 1500
End If
//上阵
FindPic 0,0,0,0,"Attachment:曹休识别.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX+5,intY+960
TracePrint "曹休上阵成功"
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:点将识别校队.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY-220
TracePrint "配置副将"
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:孙乾识别.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY+970
TracePrint "孙乾上阵成功"
Delay 1500
End If
//快速分兵
FindPic 0,0,0,0,"Attachment:快速分兵校队.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX-70,intY-1000
TracePrint "快速分兵"
Delay 1500
Tap intX, intY
TracePrint "确认分兵"
Delay 1500
End If
// 返回
FindPic 0,0,0,0,"Attachment:返回校队.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX+387,intY+80
TracePrint "返回"
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:返回校对2.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX+630,intY+190
TracePrint "返回"
Delay 1500
End If
//进攻空地
Tap 195, 588
Delay 1500
FindPic 0,0,0,0,"Attachment:任务完成点击识别.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "点击空地"
Tap intX + 380, intY + 210
Delay 1500
End If
//攻占
FindPic 0,0,0,0,"Attachment:任务完成点击识别.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "点击攻占"
Tap intX + 510, intY + 440
Delay 1500
End If
//选择出征部队
FindPic 0,0,0,0,"Attachment:出征返回校对.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX-600,intY-600
TracePrint "出征"
Delay 1500
End If
//点击攻占
FindPic 0,0,0,0,"Attachment:点击攻占.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX, intY + 800
TracePrint "点击攻占"
Delay 30000
End If
// 等待一段时间后自动进度到首战奖励
Do
FindPic 0,0,0,0,"Attachment:任务完成点击识别.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "判断是否有首战奖励"
Delay 1500
Tap intX + 350, intY + 200
Delay 1500
Exit Do
Else
Delay 10000
End If
Loop
Tap 204, 569
Delay 1500
Tap 204, 569
Delay 1500
Tap 204, 569
Delay 1500
//回城
FindPic 0,0,0,0,"Attachment:任务完成点击识别.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "点击回城"
Tap intX + 445, intY + 770
Delay 15000
End If
Do
FindPic 0,0,0,0,"Attachment:贼兵.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "贼兵"
Delay 1500
Exit Do
Else
Delay 1000
End If
Loop
Tap 224, 477
Delay 1500
Tap 224, 477
Delay 1500
Tap 224, 477
Delay 1500
Tap 224, 477
Delay 1500
Tap 224, 477
Delay 1500
Do
FindPic 0,0,0,0,"Attachment:战平状态.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "战平状态"
Delay 1500
Exit Do
Else
Delay 1000
End If
Loop
Tap 224, 477
Delay 1500
Tap 224, 477
Delay 1500
Tap 224, 477
Delay 1500
Tap 224, 477
Delay 1500
Tap 224, 477
Delay 1500
// 点击主城
// 识别武将进行偏移
FindPic 0,0,0,0,"Attachment:任务完成点击识别.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "点击城池"
Tap intX + 400, intY + 200
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:任务完成点击识别.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "点击入城"
Tap intX + 370, intY + 200
Delay 1500
End If
// 识别寻访
FindPic 0,0,0,0,"Attachment:寻访.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX-350,intY
TracePrint "寻访识别成功并点击部队"
Delay 1500
End If
// 切换兵种
FindPic 0,0,0,0,"Attachment:快速分兵校队.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX+200,intY+40
TracePrint "切换兵种"
Delay 1500
End If
//枪兵
FindPic 0,0,0,0,"Attachment:骑兵.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX-200,intY
TracePrint "切换枪兵"
Delay 1500
End If
//返回
FindPic 0,0,0,0,"Attachment:返回校队.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX+387,intY+80
TracePrint "返回"
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:返回校对2.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX+630,intY+190
TracePrint "返回"
Delay 1500
End If
//行军 不同方向可能!!!!
FindPic 0,0,0,0,"Attachment:支援义军识别关平.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX - 100, intY + 100
TracePrint "支援义军点击领地"
End If
//行军
FindPic 0,0,0,0,"Attachment:任务完成点击识别.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "点击行军"
Tap intX + 450, intY + 450
Delay 1500
End If
Tap 76, 629
Delay 1500
FindPic 0,0,0,0,"Attachment:点击攻占.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX, intY + 800
TracePrint "点击行军"
Delay 30000
End If
Do
FindPic 0,0,0,0,"Attachment:战平状态.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap 188, 586
Delay 1500
Tap 188,586
TracePrint "回城"
Delay 1500
Exit Do
Else
Delay 1000
End If
Loop
//回城
FindPic 0,0,0,0,"Attachment:任务完成点击识别.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "点击回城"
Tap intX + 445, intY + 770
Delay 15000
End If
//斥候
Tap 229, 502
Delay 1500
Tap 229, 502
Delay 1500
Tap 229, 502
Delay 1500
Tap 229, 502
Delay 1500
Tap 229, 502
Delay 1500
Tap 229, 502
Delay 1500
Tap 229, 502
Delay 1500
Tap 229, 502
Delay 1500
//入城换将
FindPic 0,0,0,0,"Attachment:任务完成点击识别.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "点击城池"
Tap intX + 400, intY + 200
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:任务完成点击识别.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "点击入城"
Tap intX + 370, intY + 200
Delay 1500
End If
// 识别寻访
FindPic 0,0,0,0,"Attachment:寻访.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX-350,intY
TracePrint "寻访识别成功并点击编制部队"
Delay 1500
End If
// 编辑部队
FindPic 0,0,0,0,"Attachment:点将识别校队.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY-430
TracePrint "配置主将"
Delay 1500
End If
// 编制部队识别--识别寻访
FindPic 0,0,0,0,"Attachment:寻访.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX-350,intY
TracePrint "寻访识别成功并点击编制部队"
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:下阵.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY-210
TracePrint "下阵"
Delay 1500
End If
//下阵确定
FindPic 0,0,0,0,"Attachment:下阵确定.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY-200
TracePrint "下阵确定"
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:点将识别校队.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY-430
TracePrint "配置主将"
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:关平识别.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX+5,intY+960
TracePrint "关平上阵成功"
Delay 1500
End If
//快速分兵
FindPic 0,0,0,0,"Attachment:快速分兵校队.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX-70,intY-1000
TracePrint "快速分兵"
Delay 1500
Tap intX, intY
TracePrint "确认分兵"
Delay 1500
End If
// 返回
FindPic 0,0,0,0,"Attachment:返回校队.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX+387,intY+80
TracePrint "返回"
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:返回校对2.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX+630,intY+190
TracePrint "返回"
Delay 1500
End If
//贼人已退
FindPic 0,0,0,0,"Attachment:战平状态.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "战平状态"
Tap 224, 477
Delay 1500
End If
Tap 224, 477
Delay 1500
Tap 224, 477
Delay 3000
Tap 224, 477
Delay 5000
Tap 224, 477
Delay 1500
Tap 224, 477
Delay 1500
Tap 224, 477
Delay 1500
Tap 224, 477
Delay 1500
End Function
Function 第一章
FindPic 0,0,0,0,"Attachment:签到奖励.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX-270,intY+80
TracePrint "签到奖励"
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:招募.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint "招募"
Delay 1500
Tap 155, 582
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:返回.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
Tap intX, intY
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:更换武将.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint "更换武将"
Delay 1500
Tap intX,intY
End If
FindPic 0,0,0,0,"Attachment:提黄孙乾.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX+40,intY
TracePrint "替换孙乾"
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:确认.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint intX
TracePrint intY
Delay 1500
End If
Tap 466, 653
Delay 1500
Tap 466, 653
Delay 1500
Tap 466, 653
Delay 1500
Tap 466, 653
Delay 1500
FindPic 0,0,0,0,"Attachment:上阵.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint "上阵"
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:快速分兵校队.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX-70,intY-1000
TracePrint "快速分兵"
Delay 1500
Tap intX, intY
TracePrint "确认分兵"
Delay 1500
End If
FindPic 0,0,0,0,"Attachment:返回.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
Tap intX,intY
TracePrint "返回"
Delay 1500
End If
End Function
Sub main
If ReadUIConfig("输入框1", 0) = "我爱我的祖国" Then
ShowMessage "解锁成功,恭喜"
Delay 3000
ShowMessage "如果有问题请发送邮件至[email]datehoer@gmail.com[/email]"
Delay 3000
未注册
新手任务
End If
End Sub
//FindPic 0,0,0,0,"Attachment:长期不活跃.png","000000",0,0.9,intX,intY
//If intX > -1 And intY > -1 Then
// Tap intX-130,intY+80
// TracePrint "不活跃确定"
// Delay 1500
//End If