@@ -37,15 +37,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 4,
|
"id": 4,
|
||||||
"x": 4034.130859375,
|
|
||||||
"y": 2625.865478515625,
|
|
||||||
"action": "fight",
|
|
||||||
"move_mode": "walk",
|
|
||||||
"action_params": "",
|
|
||||||
"type": "path"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 5,
|
|
||||||
"x": 3999.6552734375,
|
"x": 3999.6552734375,
|
||||||
"y": 2613.181640625,
|
"y": 2613.181640625,
|
||||||
"move_mode": "walk",
|
"move_mode": "walk",
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
const NowTime = new Date();
|
const NowTime = new Date();
|
||||||
if (Math.abs(NowTime - startTime)>chaotime*1000){if (x===0 & y===0){log.info(`${chaotime}秒超时退出,·${wenzi}·未找到`);}return result = {found: false };}else{ii=8;if(x !== 840){keyPress("w")}log.info(`·${wenzi}·识别中……`);}
|
if (Math.abs(NowTime - startTime)>chaotime*1000){if (x===0 & y===0){log.info(`${chaotime}秒超时退出,·${wenzi}·未找到`);}return result = {found: false };}else{ii=8;if(x !== 840 || x !== 1188){keyPress("w")}log.info(`·${wenzi}·识别中……`);}
|
||||||
await sleep(100);
|
await sleep(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -848,6 +848,9 @@
|
|||||||
await dispatcher.addTimer(new RealtimeTimer("AutoPick", { forceInteraction: false})); await keyPress("F");
|
await dispatcher.addTimer(new RealtimeTimer("AutoPick", { forceInteraction: false})); await keyPress("F");
|
||||||
log.warn("开始战斗...");
|
log.warn("开始战斗...");
|
||||||
|
|
||||||
|
checkRewardPage();// 执行自动战斗并同步检测领奖页面
|
||||||
|
shouldContinueChecking = true;
|
||||||
|
|
||||||
if (!Fightquick){
|
if (!Fightquick){
|
||||||
await dispatcher.runTask(new SoloTask("AutoFight")); //固定执行两次战斗,执行自动战斗,配置器中的设置建议填你的队伍打一次大概得时间
|
await dispatcher.runTask(new SoloTask("AutoFight")); //固定执行两次战斗,执行自动战斗,配置器中的设置建议填你的队伍打一次大概得时间
|
||||||
await sleep(1000);
|
await sleep(1000);
|
||||||
@@ -869,7 +872,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
shouldContinueChecking = true;
|
shouldContinueChecking = true;
|
||||||
checkRewardPage();// 执行自动战斗并同步检测领奖页面
|
|
||||||
//执行到地脉花地点的寻路脚本
|
//执行到地脉花地点的寻路脚本
|
||||||
log.info(`开始执行寻找地脉花奖励:${jsonFile2}`);
|
log.info(`开始执行寻找地脉花奖励:${jsonFile2}`);
|
||||||
await dispatcher.addTimer(new RealtimeTimer("AutoPick", { forceInteraction: false}));
|
await dispatcher.addTimer(new RealtimeTimer("AutoPick", { forceInteraction: false}));
|
||||||
|
|||||||
Reference in New Issue
Block a user