"auto";
if(!requestScreenCapture()){
toast("請求截圖失敗");
exit();
}
do{
var img = captureScreen();
toastLog("確認是否已退出關卡中")
var point = findColor(img, "#ff711f1f", {
region: [951.5, 248.8, 50, 50],
threads: 8
});
if(point){
toastLog("開始新關卡");
click(1070, 360);
sleep(500)
click(1070, 360);
sleep(1000);
click(976, 437);
sleep(1000);
click(1787, 1018);
sleep(30000);
}else{
toastLog("開始下回合")
sleep(500)
click(1715, 921);
sleep(900);
click(198, 616);
sleep(200);
click(551, 616);
sleep(200);
click(973, 616);
sleep(20000);}
var img = captureScreen();
toastLog("關閉角色狀態")
var point1 = findColor(img, "#ffd6d5d6", {
region: [1560, 125, 2, 2],
threads: 8
});
if(point1){
sleep(500);
click(1560, 125);
sleep(700);}
} while (true);
歡迎光臨 冰楓論壇 (https://bingfong.com/) | Powered by 冰楓 |