|
@@ -68,15 +68,18 @@ public class SceneMain_Qiyu_quest extends BaseScene implements Scene {
|
|
|
|
|
|
for (int i = 0; i < 4; i++) {
|
|
|
ThreadUtil.sleep(1234);
|
|
|
- moveToClick(PathEnter, AiManage.getInstance().getCheckPoint(), new org.opencv.core.Point(-5, 20));
|
|
|
- ThreadUtil.sleep(3000);
|
|
|
- randomToClick();
|
|
|
- ThreadUtil.sleep(2000);
|
|
|
-
|
|
|
- moveToClick(PathFinish, AiManage.getInstance().getCheckPoint(), new org.opencv.core.Point(-5, 20));
|
|
|
- ThreadUtil.sleep(3000);
|
|
|
- randomToClick();
|
|
|
- ThreadUtil.sleep(2000);
|
|
|
+ if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
|
|
|
+ moveToClick(PathEnter, AiManage.getInstance().getCheckPoint(), new org.opencv.core.Point(-5, 20));
|
|
|
+ ThreadUtil.sleep(3000);
|
|
|
+ randomToClick();
|
|
|
+ ThreadUtil.sleep(2000);
|
|
|
+ }
|
|
|
+ if (checkHas(PathFinish, AiManage.getInstance().getCheckPoint())) {
|
|
|
+ moveToClick(PathFinish, AiManage.getInstance().getCheckPoint(), new org.opencv.core.Point(-5, 20));
|
|
|
+ ThreadUtil.sleep(3000);
|
|
|
+ randomToClick();
|
|
|
+ ThreadUtil.sleep(2000);
|
|
|
+ }
|
|
|
}
|
|
|
if (checkHas(PathDailyJob, AiManage.getInstance().getCheckPoint())) {
|
|
|
moveToClick(PathDailyJob, AiManage.getInstance().getCheckPoint());
|
|
@@ -91,7 +94,7 @@ public class SceneMain_Qiyu_quest extends BaseScene implements Scene {
|
|
|
for (int i = 0; i < 4; i++) {
|
|
|
if (checkHas(PathTake, AiManage.getInstance().getCheckPoint())) {
|
|
|
moveToClick(PathTake, AiManage.getInstance().getCheckPoint());
|
|
|
- }else {
|
|
|
+ } else {
|
|
|
moveToClick(PathRefersh, AiManage.getInstance().getCheckPoint());
|
|
|
}
|
|
|
ThreadUtil.sleep(2000);
|
|
@@ -112,7 +115,7 @@ public class SceneMain_Qiyu_quest extends BaseScene implements Scene {
|
|
|
* 重置
|
|
|
*/
|
|
|
@Override
|
|
|
- public ResettableData.ResetType getType(){
|
|
|
+ public ResettableData.ResetType getType() {
|
|
|
return ResettableData.ResetType.SPECIAL_RULES;
|
|
|
}
|
|
|
}
|