2 Revize 784c2a8ef0 ... 2f5ed0116e

Autor SHA1 Zpráva Datum
  ICe 2f5ed0116e 世界boss před 3 měsíci
  ICe 03222547d3 世界boss před 3 měsíci

binární
opencv/scene/role/fast.png


+ 1 - 1
src/main/java/com/sencorsta/rabs/obj/ai/scene/explore/SceneMain_Explore_King_hell.java

@@ -67,7 +67,7 @@ public class SceneMain_Explore_King_hell extends BaseScene implements Scene {
     public void think() throws AWTException {
         ThreadUtil.sleep(2000);
         moveToClick(PathFight, AiManage.getInstance().getCheckPoint());
-        ThreadUtil.sleep(2000);
+        ThreadUtil.sleep(3000);
         moveToClick(PathStart, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 

+ 3 - 4
src/main/java/com/sencorsta/rabs/obj/ai/scene/explore/SceneMain_Explore_King_kings.java

@@ -42,7 +42,7 @@ public class SceneMain_Explore_King_kings extends BaseScene implements Scene {
     @Override
     public void back() throws AWTException {
         moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
-        isTempDone = false;
+        ThreadUtil.sleep(2000);
     }
 
     @Override
@@ -73,7 +73,7 @@ public class SceneMain_Explore_King_kings extends BaseScene implements Scene {
     @Override
     public void think() throws AWTException {
         int count = getRecord().getData().getCount();
-
+        ThreadUtil.sleep(2000);
         if (count==2){
             moveToClick(PathDay, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
@@ -128,7 +128,6 @@ public class SceneMain_Explore_King_kings extends BaseScene implements Scene {
         }
         ThreadUtil.sleep(2000);
         randomToClick();
-        isTempDone = true;
 
         getRecord().getData().setCount(count+1);
     }
@@ -138,7 +137,7 @@ public class SceneMain_Explore_King_kings extends BaseScene implements Scene {
         if (getRecord().getData().getCount()>= maxCount){
             return true;
         }
-        return isTempDone;
+        return false;
     }
 
 }

+ 1 - 1
src/main/java/com/sencorsta/rabs/obj/ai/scene/family/SceneMain_Family.java

@@ -41,7 +41,7 @@ public class SceneMain_Family extends BaseScene implements Scene {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
             if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
-                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint(),new Point(0,20));
                 continue;
             }
 

+ 6 - 0
src/main/java/com/sencorsta/rabs/obj/ai/scene/family/SceneMain_Family_Out_Boss.java

@@ -61,6 +61,12 @@ public class SceneMain_Family_Out_Boss extends BaseScene implements Scene {
     public void think() throws AWTException {
         int count = getRecord().getData().getCount();
 
+        ThreadUtil.sleep(8000);
+        if (checkHas(PathReward, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathReward, AiManage.getInstance().getCheckPoint());
+            ThreadUtil.sleep(2000);
+        }
+
         if (count<maxTime){
             while (!checkHas(PathStart, AiManage.getInstance().getCheckPoint())) {
                 if (checkHas(PathReward, AiManage.getInstance().getCheckPoint())) {

+ 21 - 4
src/main/java/com/sencorsta/rabs/obj/ai/scene/role/SceneMain_Role.java

@@ -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 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 PathFast = System.getProperty("user.dir") + "\\opencv\\scene\\role\\fast.png";
 
 
     @Override
@@ -90,13 +91,17 @@ public class SceneMain_Role extends BaseScene implements Scene {
         moveToClick(PathCanLvup, AiManage.getInstance().getCheckPoint(), new Point(-130, -274));
         ThreadUtil.sleep(2000);
         moveToClick(PathQuick, AiManage.getInstance().getCheckPoint());
-        ThreadUtil.sleep(2000);
+        ThreadUtil.sleep(3000);
         moveToClick(PathTime3, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
         while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
             if (checkHas(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);
@@ -109,13 +114,17 @@ public class SceneMain_Role extends BaseScene implements Scene {
         moveToClick(PathCanLvup, AiManage.getInstance().getCheckPoint(), new Point(-46, -274));
         ThreadUtil.sleep(2000);
         moveToClick(PathOb, AiManage.getInstance().getCheckPoint());
-        ThreadUtil.sleep(2000);
+        ThreadUtil.sleep(3000);
         moveToClick(PathTime30, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
         while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
             if (checkHas(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);
@@ -128,13 +137,17 @@ public class SceneMain_Role extends BaseScene implements Scene {
         moveToClick(PathCanLvup, AiManage.getInstance().getCheckPoint(), new Point(42, -274));
         ThreadUtil.sleep(2000);
         moveToClick(PathOb, AiManage.getInstance().getCheckPoint());
-        ThreadUtil.sleep(2000);
+        ThreadUtil.sleep(3000);
         moveToClick(PathTime30, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
         while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
             if (checkHas(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);
@@ -147,13 +160,17 @@ public class SceneMain_Role extends BaseScene implements Scene {
         moveToClick(PathCanLvup, AiManage.getInstance().getCheckPoint(), new Point(122, -274));
         ThreadUtil.sleep(2000);
         moveToClick(PathOb, AiManage.getInstance().getCheckPoint());
-        ThreadUtil.sleep(2000);
+        ThreadUtil.sleep(3000);
         moveToClick(PathTime30, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
         while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
             if (checkHas(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);