|
@@ -38,6 +38,7 @@ public class SceneMain_Role extends BaseScene implements Scene {
|
|
private static String PathSkill = System.getProperty("user.dir") + "\\opencv\\scene\\role\\skill.png";
|
|
private static String PathSkill = System.getProperty("user.dir") + "\\opencv\\scene\\role\\skill.png";
|
|
private static String PathSkillUp = System.getProperty("user.dir") + "\\opencv\\scene\\role\\skillUp.png";
|
|
private static String PathSkillUp = System.getProperty("user.dir") + "\\opencv\\scene\\role\\skillUp.png";
|
|
private static String PathShop = System.getProperty("user.dir") + "\\opencv\\scene\\role\\shop.png";
|
|
private static String PathShop = System.getProperty("user.dir") + "\\opencv\\scene\\role\\shop.png";
|
|
|
|
+ private static String PathFast = System.getProperty("user.dir") + "\\opencv\\scene\\role\\fast.png";
|
|
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -90,13 +91,17 @@ public class SceneMain_Role extends BaseScene implements Scene {
|
|
moveToClick(PathCanLvup, AiManage.getInstance().getCheckPoint(), new Point(-130, -274));
|
|
moveToClick(PathCanLvup, AiManage.getInstance().getCheckPoint(), new Point(-130, -274));
|
|
ThreadUtil.sleep(2000);
|
|
ThreadUtil.sleep(2000);
|
|
moveToClick(PathQuick, AiManage.getInstance().getCheckPoint());
|
|
moveToClick(PathQuick, AiManage.getInstance().getCheckPoint());
|
|
- ThreadUtil.sleep(2000);
|
|
|
|
|
|
+ ThreadUtil.sleep(3000);
|
|
moveToClick(PathTime3, AiManage.getInstance().getCheckPoint());
|
|
moveToClick(PathTime3, AiManage.getInstance().getCheckPoint());
|
|
ThreadUtil.sleep(2000);
|
|
ThreadUtil.sleep(2000);
|
|
while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
|
|
while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
|
|
if (checkHas(PathShop, AiManage.getInstance().getCheckPoint())) {
|
|
if (checkHas(PathShop, AiManage.getInstance().getCheckPoint())) {
|
|
moveToClick(PathShop, AiManage.getInstance().getCheckPoint());
|
|
moveToClick(PathShop, AiManage.getInstance().getCheckPoint());
|
|
}
|
|
}
|
|
|
|
+ if (checkHas(PathFast, AiManage.getInstance().getCheckPoint())) {
|
|
|
|
+ moveToClick(PathFast, AiManage.getInstance().getCheckPoint());
|
|
|
|
+ ThreadUtil.sleep(5000);
|
|
|
|
+ }
|
|
ThreadUtil.sleep(2000);
|
|
ThreadUtil.sleep(2000);
|
|
}
|
|
}
|
|
ThreadUtil.sleep(2000);
|
|
ThreadUtil.sleep(2000);
|
|
@@ -109,13 +114,17 @@ public class SceneMain_Role extends BaseScene implements Scene {
|
|
moveToClick(PathCanLvup, AiManage.getInstance().getCheckPoint(), new Point(-46, -274));
|
|
moveToClick(PathCanLvup, AiManage.getInstance().getCheckPoint(), new Point(-46, -274));
|
|
ThreadUtil.sleep(2000);
|
|
ThreadUtil.sleep(2000);
|
|
moveToClick(PathOb, AiManage.getInstance().getCheckPoint());
|
|
moveToClick(PathOb, AiManage.getInstance().getCheckPoint());
|
|
- ThreadUtil.sleep(2000);
|
|
|
|
|
|
+ ThreadUtil.sleep(3000);
|
|
moveToClick(PathTime30, AiManage.getInstance().getCheckPoint());
|
|
moveToClick(PathTime30, AiManage.getInstance().getCheckPoint());
|
|
ThreadUtil.sleep(2000);
|
|
ThreadUtil.sleep(2000);
|
|
while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
|
|
while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
|
|
if (checkHas(PathShop, AiManage.getInstance().getCheckPoint())) {
|
|
if (checkHas(PathShop, AiManage.getInstance().getCheckPoint())) {
|
|
moveToClick(PathShop, AiManage.getInstance().getCheckPoint());
|
|
moveToClick(PathShop, AiManage.getInstance().getCheckPoint());
|
|
}
|
|
}
|
|
|
|
+ if (checkHas(PathFast, AiManage.getInstance().getCheckPoint())) {
|
|
|
|
+ moveToClick(PathFast, AiManage.getInstance().getCheckPoint());
|
|
|
|
+ ThreadUtil.sleep(5000);
|
|
|
|
+ }
|
|
ThreadUtil.sleep(2000);
|
|
ThreadUtil.sleep(2000);
|
|
}
|
|
}
|
|
ThreadUtil.sleep(2000);
|
|
ThreadUtil.sleep(2000);
|
|
@@ -128,13 +137,17 @@ public class SceneMain_Role extends BaseScene implements Scene {
|
|
moveToClick(PathCanLvup, AiManage.getInstance().getCheckPoint(), new Point(42, -274));
|
|
moveToClick(PathCanLvup, AiManage.getInstance().getCheckPoint(), new Point(42, -274));
|
|
ThreadUtil.sleep(2000);
|
|
ThreadUtil.sleep(2000);
|
|
moveToClick(PathOb, AiManage.getInstance().getCheckPoint());
|
|
moveToClick(PathOb, AiManage.getInstance().getCheckPoint());
|
|
- ThreadUtil.sleep(2000);
|
|
|
|
|
|
+ ThreadUtil.sleep(3000);
|
|
moveToClick(PathTime30, AiManage.getInstance().getCheckPoint());
|
|
moveToClick(PathTime30, AiManage.getInstance().getCheckPoint());
|
|
ThreadUtil.sleep(2000);
|
|
ThreadUtil.sleep(2000);
|
|
while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
|
|
while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
|
|
if (checkHas(PathShop, AiManage.getInstance().getCheckPoint())) {
|
|
if (checkHas(PathShop, AiManage.getInstance().getCheckPoint())) {
|
|
moveToClick(PathShop, AiManage.getInstance().getCheckPoint());
|
|
moveToClick(PathShop, AiManage.getInstance().getCheckPoint());
|
|
}
|
|
}
|
|
|
|
+ if (checkHas(PathFast, AiManage.getInstance().getCheckPoint())) {
|
|
|
|
+ moveToClick(PathFast, AiManage.getInstance().getCheckPoint());
|
|
|
|
+ ThreadUtil.sleep(5000);
|
|
|
|
+ }
|
|
ThreadUtil.sleep(2000);
|
|
ThreadUtil.sleep(2000);
|
|
}
|
|
}
|
|
ThreadUtil.sleep(2000);
|
|
ThreadUtil.sleep(2000);
|
|
@@ -147,13 +160,17 @@ public class SceneMain_Role extends BaseScene implements Scene {
|
|
moveToClick(PathCanLvup, AiManage.getInstance().getCheckPoint(), new Point(122, -274));
|
|
moveToClick(PathCanLvup, AiManage.getInstance().getCheckPoint(), new Point(122, -274));
|
|
ThreadUtil.sleep(2000);
|
|
ThreadUtil.sleep(2000);
|
|
moveToClick(PathOb, AiManage.getInstance().getCheckPoint());
|
|
moveToClick(PathOb, AiManage.getInstance().getCheckPoint());
|
|
- ThreadUtil.sleep(2000);
|
|
|
|
|
|
+ ThreadUtil.sleep(3000);
|
|
moveToClick(PathTime30, AiManage.getInstance().getCheckPoint());
|
|
moveToClick(PathTime30, AiManage.getInstance().getCheckPoint());
|
|
ThreadUtil.sleep(2000);
|
|
ThreadUtil.sleep(2000);
|
|
while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
|
|
while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
|
|
if (checkHas(PathShop, AiManage.getInstance().getCheckPoint())) {
|
|
if (checkHas(PathShop, AiManage.getInstance().getCheckPoint())) {
|
|
moveToClick(PathShop, AiManage.getInstance().getCheckPoint());
|
|
moveToClick(PathShop, AiManage.getInstance().getCheckPoint());
|
|
}
|
|
}
|
|
|
|
+ if (checkHas(PathFast, AiManage.getInstance().getCheckPoint())) {
|
|
|
|
+ moveToClick(PathFast, AiManage.getInstance().getCheckPoint());
|
|
|
|
+ ThreadUtil.sleep(5000);
|
|
|
|
+ }
|
|
ThreadUtil.sleep(2000);
|
|
ThreadUtil.sleep(2000);
|
|
}
|
|
}
|
|
ThreadUtil.sleep(2000);
|
|
ThreadUtil.sleep(2000);
|