ICe il y a 4 mois
Parent
commit
695973d920
49 fichiers modifiés avec 654 ajouts et 522 suppressions
  1. 46 45
      conf/config.properties
  2. BIN
      opencv/scene/fight/vs/start.png
  3. BIN
      opencv/scene/role/get.png
  4. BIN
      opencv/scene/role/goGet.png
  5. BIN
      opencv/scene/role/skillGet.png
  6. 1 0
      src/main/java/com/sencorsta/rabs/obj/ai/AiManage.java
  7. 2 1
      src/main/java/com/sencorsta/rabs/obj/ai/scene/SceneMain.java
  8. 7 7
      src/main/java/com/sencorsta/rabs/obj/ai/scene/challenge/SceneMain_Challenge.java
  9. 15 15
      src/main/java/com/sencorsta/rabs/obj/ai/scene/challenge/SceneMain_Challenge_Extreme.java
  10. 4 4
      src/main/java/com/sencorsta/rabs/obj/ai/scene/energy/SceneMain_Energy.java
  11. 5 5
      src/main/java/com/sencorsta/rabs/obj/ai/scene/energy/SceneMain_Energy_Free.java
  12. 6 6
      src/main/java/com/sencorsta/rabs/obj/ai/scene/energy/SceneMain_Energy_Friend.java
  13. 15 15
      src/main/java/com/sencorsta/rabs/obj/ai/scene/energy/SceneMain_Energy_Home.java
  14. 8 8
      src/main/java/com/sencorsta/rabs/obj/ai/scene/energy/SceneMain_Energy_Home_Select.java
  15. 9 9
      src/main/java/com/sencorsta/rabs/obj/ai/scene/energy/SceneMain_Energy_Home_SelectRes.java
  16. 8 8
      src/main/java/com/sencorsta/rabs/obj/ai/scene/energy/SceneMain_Energy_buy.java
  17. 4 4
      src/main/java/com/sencorsta/rabs/obj/ai/scene/explore/SceneMain_Explore.java
  18. 4 4
      src/main/java/com/sencorsta/rabs/obj/ai/scene/explore/SceneMain_Explore_Gift.java
  19. 8 8
      src/main/java/com/sencorsta/rabs/obj/ai/scene/explore/SceneMain_Explore_Gift_Evil.java
  20. 4 4
      src/main/java/com/sencorsta/rabs/obj/ai/scene/explore/SceneMain_Explore_King.java
  21. 10 10
      src/main/java/com/sencorsta/rabs/obj/ai/scene/explore/SceneMain_Explore_King_hell.java
  22. 23 23
      src/main/java/com/sencorsta/rabs/obj/ai/scene/explore/SceneMain_Explore_King_kings.java
  23. 4 4
      src/main/java/com/sencorsta/rabs/obj/ai/scene/explore/SceneMain_Explore_Leader.java
  24. 18 18
      src/main/java/com/sencorsta/rabs/obj/ai/scene/explore/SceneMain_Explore_Leader_quick.java
  25. 7 7
      src/main/java/com/sencorsta/rabs/obj/ai/scene/family/SceneMain_Family.java
  26. 22 22
      src/main/java/com/sencorsta/rabs/obj/ai/scene/family/SceneMain_Family_Help.java
  27. 12 12
      src/main/java/com/sencorsta/rabs/obj/ai/scene/family/SceneMain_Family_Info.java
  28. 11 11
      src/main/java/com/sencorsta/rabs/obj/ai/scene/family/SceneMain_Family_Out.java
  29. 6 6
      src/main/java/com/sencorsta/rabs/obj/ai/scene/family/SceneMain_Family_Out_BigBoss.java
  30. 14 14
      src/main/java/com/sencorsta/rabs/obj/ai/scene/family/SceneMain_Family_Out_Boss.java
  31. 8 8
      src/main/java/com/sencorsta/rabs/obj/ai/scene/family/SceneMain_Family_Out_Fight.java
  32. 15 15
      src/main/java/com/sencorsta/rabs/obj/ai/scene/family/SceneMain_Family_Task.java
  33. 9 9
      src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight.java
  34. 10 10
      src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight_Endless.java
  35. 8 8
      src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight_Endless_Quick.java
  36. 9 9
      src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight_Endless_Reward.java
  37. 4 4
      src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight_Gym.java
  38. 16 15
      src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight_Gym_Dragon.java
  39. 16 15
      src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight_Gym_Wind.java
  40. 25 23
      src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight_VS.java
  41. 15 15
      src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight_VS_Quick.java
  42. 8 8
      src/main/java/com/sencorsta/rabs/obj/ai/scene/mail/SceneMain_Mail.java
  43. 10 10
      src/main/java/com/sencorsta/rabs/obj/ai/scene/qiyi/SceneMain_Qiyu.java
  44. 19 19
      src/main/java/com/sencorsta/rabs/obj/ai/scene/qiyi/SceneMain_Qiyu_find.java
  45. 13 13
      src/main/java/com/sencorsta/rabs/obj/ai/scene/qiyi/SceneMain_Qiyu_helper.java
  46. 20 20
      src/main/java/com/sencorsta/rabs/obj/ai/scene/qiyi/SceneMain_Qiyu_quest.java
  47. 49 38
      src/main/java/com/sencorsta/rabs/obj/ai/scene/role/SceneMain_Role.java
  48. 114 0
      src/main/java/com/sencorsta/rabs/obj/ai/scene/role/SceneMain_Role_SkillPoint.java
  49. 13 13
      src/main/java/com/sencorsta/rabs/obj/ai/scene/welfare/SceneMain_Welfare.java

+ 46 - 45
conf/config.properties

@@ -1,53 +1,54 @@
 []
-windowX = 145
-windowY = 80
+windowX = 17
+windowY = 14
 windowWidth = 1091.0
 windowHeight = 454.0
 extendedState = 0
 appTheme = Darcula Theme
 [robot]
 selectedWindowTitle = sencorsta - sencorsta.com - 远程桌面连接
-lastUpdateTime = 1715910554964
+lastUpdateTime = 1716343429864
 [SceneData]
-SceneMain = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Challenge = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Challenge_Extreme = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Energy = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Energy_Free = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715932800000,"resetType":"SPECIAL_RULES"}
-SceneMain_Energy_Friend = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Energy_Home = {"data":{"isDone":false,"count":2,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Energy_Home_Select = {"data":{"isDone":false,"count":6,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Energy_Home_SelectRes = {"data":{"isDone":false,"count":4,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Energy_buy = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Explore = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Explore_Gift = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Explore_Gift_Evil = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Explore_King = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Explore_King_hell = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Explore_King_kings = {"data":{"isDone":false,"count":9,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Explore_Leader = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Explore_Leader_quick = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Family = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Family_Help = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Family_Info = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Family_Out = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Family_Out_BigBoss = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Family_Out_Boss = {"data":{"isDone":false,"count":3,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Family_Out_Fight = {"data":{"isDone":false,"count":3,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Family_Task = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Fight = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Fight_Endless = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Fight_Endless_Quick = {"data":{"isDone":false,"count":2,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Fight_Endless_Reward = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Fight_Gym = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Fight_Gym_Dragon = {"record":{"data":{"isDone":true,"count":99,"done":true},"nextResetTime":1716757200000,"resetType":"WEEKLY_DOUBLE"},"recordSub":{"data":{"isDone":false,"count":20,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}}
-SceneMain_Fight_Gym_Wind = {"record":{"data":{"isDone":false,"count":5,"done":false},"nextResetTime":1716757200000,"resetType":"WEEKLY_DOUBLE"},"recordSub":{"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}}
-SceneMain_Fight_VS = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Fight_VS_Quick = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Mail = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Qiyu = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Qiyu_find = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Qiyu_helper = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Qiyu_quest = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715932800000,"resetType":"SPECIAL_RULES"}
-SceneMain_Role = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
-SceneMain_Welfare = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1715979600000,"resetType":"DAILY"}
+SceneMain = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Challenge = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Challenge_Extreme = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Energy = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Energy_Free = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716364800000,"resetType":"SPECIAL_RULES"}
+SceneMain_Energy_Friend = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Energy_Home = {"data":{"isDone":false,"count":2,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Energy_Home_Select = {"data":{"isDone":false,"count":6,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Energy_Home_SelectRes = {"data":{"isDone":false,"count":4,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Energy_buy = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Explore = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Explore_Gift = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Explore_Gift_Evil = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Explore_King = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Explore_King_hell = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Explore_King_kings = {"data":{"isDone":false,"count":9,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Explore_Leader = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Explore_Leader_quick = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Family = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Family_Help = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Family_Info = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Family_Out = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Family_Out_BigBoss = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Family_Out_Boss = {"data":{"isDone":false,"count":3,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Family_Out_Fight = {"data":{"isDone":false,"count":3,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Family_Task = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Fight = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Fight_Endless = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Fight_Endless_Quick = {"data":{"isDone":false,"count":2,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Fight_Endless_Reward = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Fight_Gym = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Fight_Gym_Dragon = {"record":{"data":{"isDone":true,"count":99,"done":true},"nextResetTime":1716757200000,"resetType":"WEEKLY_DOUBLE"},"recordSub":{"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}}
+SceneMain_Fight_Gym_Wind = {"record":{"data":{"isDone":false,"count":20,"done":false},"nextResetTime":1716757200000,"resetType":"WEEKLY_DOUBLE"},"recordSub":{"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}}
+SceneMain_Fight_VS = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Fight_VS_Quick = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Mail = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Qiyu = {"data":{"isDone":false,"count":0,"done":false},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Qiyu_find = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Qiyu_helper = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Qiyu_quest = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716364800000,"resetType":"SPECIAL_RULES"}
+SceneMain_Role = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}
+SceneMain_Role_SkillPoint = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716370289612,"resetType":"HOUR_3"}
+SceneMain_Welfare = {"data":{"isDone":true,"count":0,"done":true},"nextResetTime":1716411600000,"resetType":"DAILY"}

BIN
opencv/scene/fight/vs/start.png


BIN
opencv/scene/role/get.png


BIN
opencv/scene/role/goGet.png


BIN
opencv/scene/role/skillGet.png


+ 1 - 0
src/main/java/com/sencorsta/rabs/obj/ai/AiManage.java

@@ -55,6 +55,7 @@ public class AiManage {
     ScheduledThreadPoolExecutor thinkPoll;
     public Robot robot;
     public Point lastClickPoint = new Point(0, 0);
+    double checkPoint = 0.85;
 
     public void run() {
         //加载所有Scene

+ 2 - 1
src/main/java/com/sencorsta/rabs/obj/ai/scene/SceneMain.java

@@ -1,6 +1,7 @@
 package com.sencorsta.rabs.obj.ai.scene;
 
 import com.sencorsta.rabs.annotation.SceneAnnotation;
+import com.sencorsta.rabs.obj.ai.AiManage;
 import com.sencorsta.rabs.obj.ai.api.BaseScene;
 import com.sencorsta.rabs.obj.ai.api.Scene;
 
@@ -22,7 +23,7 @@ public class SceneMain extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;

+ 7 - 7
src/main/java/com/sencorsta/rabs/obj/ai/scene/challenge/SceneMain_Challenge.java

@@ -31,7 +31,7 @@ public class SceneMain_Challenge extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -39,17 +39,17 @@ public class SceneMain_Challenge extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
-            if (checkHas(PathRightdoor, 0.9)) {
+            if (checkHas(PathRightdoor, AiManage.getInstance().getCheckPoint())) {
                 System.out.println("发现右边的门...");
-                moveToClick(PathGoLeft, 0.9, new Point(0, -50));
+                moveToClick(PathGoLeft, AiManage.getInstance().getCheckPoint(), new Point(0, -50));
                 System.out.println("往左边走一步");
                 ThreadUtil.sleep(6000);
             } else {
-                moveToClick(PathGoRight, 0.9, new Point(0, -50));
+                moveToClick(PathGoRight, AiManage.getInstance().getCheckPoint(), new Point(0, -50));
                 System.out.println("往右边走一步");
                 ThreadUtil.sleep(6000);
             }
@@ -58,7 +58,7 @@ public class SceneMain_Challenge extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;

+ 15 - 15
src/main/java/com/sencorsta/rabs/obj/ai/scene/challenge/SceneMain_Challenge_Extreme.java

@@ -28,7 +28,7 @@ public class SceneMain_Challenge_Extreme extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -36,8 +36,8 @@ public class SceneMain_Challenge_Extreme extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
                 continue;
             }
@@ -46,7 +46,7 @@ public class SceneMain_Challenge_Extreme extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -55,26 +55,26 @@ public class SceneMain_Challenge_Extreme extends BaseScene implements Scene {
     @Override
     public void think() throws AWTException {
         ThreadUtil.sleep(2000);
-        moveToClick(PathStart, 0.9);
+        moveToClick(PathStart, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
         //尝试加入别人的队伍
-        moveToClick(PathJoin, 0.9);
+        moveToClick(PathJoin, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(6000);
-        if (checkHas(PathJoin,0.9)){
+        if (checkHas(PathJoin,AiManage.getInstance().getCheckPoint())){
             //如果还在此界面 点击创建
-            moveToClick(PathCreate, 0.9);
+            moveToClick(PathCreate, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
         }
-        moveToClick(PathStart2, 0.9);
+        moveToClick(PathStart2, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(6000);
 
-        moveToClick(PathStart2, 0.9);
+        moveToClick(PathStart2, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(3000);
 
-        while (!checkHas(PathOver, 0.9)) {
-            if (checkHas(PathSkip, 0.9)) {
-                moveToClick(PathSkip, 0.9);
+        while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
+            if (checkHas(PathSkip, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathSkip, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
             }
             ThreadUtil.sleep(1000);
@@ -89,10 +89,10 @@ public class SceneMain_Challenge_Extreme extends BaseScene implements Scene {
         randomToClick();
         ThreadUtil.sleep(6000);
 
-        moveToClick(PathOb, 0.9);
+        moveToClick(PathOb, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(4000);
 
-        moveToClick(PathOk, 0.9);
+        moveToClick(PathOk, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
         randomToClick();

+ 4 - 4
src/main/java/com/sencorsta/rabs/obj/ai/scene/energy/SceneMain_Energy.java

@@ -27,7 +27,7 @@ public class SceneMain_Energy extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -35,8 +35,8 @@ public class SceneMain_Energy extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9,new Point(92,0));
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint(),new Point(92,0));
                 ThreadUtil.sleep(2000);
                 continue;
             }
@@ -45,7 +45,7 @@ public class SceneMain_Energy extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;

+ 5 - 5
src/main/java/com/sencorsta/rabs/obj/ai/scene/energy/SceneMain_Energy_Free.java

@@ -30,7 +30,7 @@ public class SceneMain_Energy_Free extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -38,8 +38,8 @@ public class SceneMain_Energy_Free extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
                 continue;
             }
@@ -48,7 +48,7 @@ public class SceneMain_Energy_Free extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -56,7 +56,7 @@ public class SceneMain_Energy_Free extends BaseScene implements Scene {
 
     @Override
     public void think() throws AWTException {
-        moveToClick(PathTake,0.9);
+        moveToClick(PathTake,AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
         getRecord().getData().setDone(true);

+ 6 - 6
src/main/java/com/sencorsta/rabs/obj/ai/scene/energy/SceneMain_Energy_Friend.java

@@ -28,7 +28,7 @@ public class SceneMain_Energy_Friend extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -36,8 +36,8 @@ public class SceneMain_Energy_Friend extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
                 continue;
             }
@@ -46,7 +46,7 @@ public class SceneMain_Energy_Friend extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -54,10 +54,10 @@ public class SceneMain_Energy_Friend extends BaseScene implements Scene {
 
     @Override
     public void think() throws AWTException {
-        moveToClick(PathTake,0.9);
+        moveToClick(PathTake,AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
-        moveToClick(PathSend,0.9);
+        moveToClick(PathSend,AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
         getRecord().getData().setDone(true);

+ 15 - 15
src/main/java/com/sencorsta/rabs/obj/ai/scene/energy/SceneMain_Energy_Home.java

@@ -32,7 +32,7 @@ public class SceneMain_Energy_Home extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -40,8 +40,8 @@ public class SceneMain_Energy_Home extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
                 continue;
             }
@@ -50,7 +50,7 @@ public class SceneMain_Energy_Home extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -58,11 +58,11 @@ public class SceneMain_Energy_Home extends BaseScene implements Scene {
 
     @Override
     public void think() throws AWTException {
-        if (checkHas(PathOver, 0.9)) {
-            moveToClick(PathOver, 0.9);
+        if (checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathOver, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
 
-            moveToClick(PathObTake, 0.9);
+            moveToClick(PathObTake, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(5000);
 
             randomToClick();
@@ -70,13 +70,13 @@ public class SceneMain_Energy_Home extends BaseScene implements Scene {
         }
 
         if (getChildren().stream().anyMatch(o -> o.isDone() && "SceneMain_Energy_Home_Select".equals(o.getClass().getSimpleName()))) {
-            if (checkHas(PathTec_dark, 0.9)) {
-                moveToClick(PathTec_dark, 0.9);
+            if (checkHas(PathTec_dark, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathTec_dark, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
             }
 
-            if (checkHas(PathReward, 0.9)) {
-                moveToClick(PathReward, 0.9);
+            if (checkHas(PathReward, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathReward, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
                 int count = getRecord().getData().getCount();
                 getRecord().getData().setCount(count+1);
@@ -84,13 +84,13 @@ public class SceneMain_Energy_Home extends BaseScene implements Scene {
         }
 
         if (getChildren().stream().anyMatch(o -> o.isDone() && "SceneMain_Energy_Home_SelectRes".equals(o.getClass().getSimpleName()))) {
-            if (checkHas(PathRes_dark, 0.9)) {
-                moveToClick(PathRes_dark, 0.9);
+            if (checkHas(PathRes_dark, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathRes_dark, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
             }
 
-            if (checkHas(PathRewardRes, 0.9)) {
-                moveToClick(PathRewardRes, 0.9);
+            if (checkHas(PathRewardRes, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathRewardRes, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
                 randomToClick();
                 ThreadUtil.sleep(2000);

+ 8 - 8
src/main/java/com/sencorsta/rabs/obj/ai/scene/energy/SceneMain_Energy_Home_Select.java

@@ -33,7 +33,7 @@ public class SceneMain_Energy_Home_Select extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
         isTempDone = false;
     }
 
@@ -42,20 +42,20 @@ public class SceneMain_Energy_Home_Select extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter_dark, 0.9)) {
-                moveToClick(PathEnter_dark, 0.9);
+            if (checkHas(PathEnter_dark, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter_dark, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
             }
             int count = getRecord().getData().getCount();
             if (count > 0 && count < 3) {
                 //刷新
-                moveToClick(PathRefresh, 0.9);
+                moveToClick(PathRefresh, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
             }
             if (count < 3) {
-                moveToClick(PathEnter, 0.9, new Point(0, 130));
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint(), new Point(0, 130));
             } else {
-                moveToClick(PathEnter, 0.9, new Point(224 * (count - 2), 130));
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint(), new Point(224 * (count - 2), 130));
             }
 
         }
@@ -63,7 +63,7 @@ public class SceneMain_Energy_Home_Select extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -73,7 +73,7 @@ public class SceneMain_Energy_Home_Select extends BaseScene implements Scene {
     public void think() throws AWTException {
         int count = getRecord().getData().getCount();
         if (count < maxCount) {
-            moveToClick(PathOnButton, 0.9);
+            moveToClick(PathOnButton, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
             getRecord().getData().setCount(count + 1);
         }

+ 9 - 9
src/main/java/com/sencorsta/rabs/obj/ai/scene/energy/SceneMain_Energy_Home_SelectRes.java

@@ -36,7 +36,7 @@ public class SceneMain_Energy_Home_SelectRes extends BaseScene implements Scene
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
         isTempDone = false;
     }
 
@@ -45,23 +45,23 @@ public class SceneMain_Energy_Home_SelectRes extends BaseScene implements Scene
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter_dark, 0.9)) {
-                moveToClick(PathEnter_dark, 0.9);
+            if (checkHas(PathEnter_dark, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter_dark, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
             }
             int count = getRecord().getData().getCount();
             switch (count){
                 case 0:
-                    moveToClick(PathEnter0, 0.9, new Point(0, 20));
+                    moveToClick(PathEnter0, AiManage.getInstance().getCheckPoint(), new Point(0, 20));
                     break;
                 case 1:
-                    moveToClick(PathEnter1, 0.9, new Point(0, 20));
+                    moveToClick(PathEnter1, AiManage.getInstance().getCheckPoint(), new Point(0, 20));
                     break;
                 case 2:
-                    moveToClick(PathEnter2, 0.9, new Point(0, 20));
+                    moveToClick(PathEnter2, AiManage.getInstance().getCheckPoint(), new Point(0, 20));
                     break;
                 case 3:
-                    moveToClick(PathEnter3, 0.9, new Point(0, 20));
+                    moveToClick(PathEnter3, AiManage.getInstance().getCheckPoint(), new Point(0, 20));
                     break;
             }
             ThreadUtil.sleep(2000);
@@ -70,7 +70,7 @@ public class SceneMain_Energy_Home_SelectRes extends BaseScene implements Scene
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -80,7 +80,7 @@ public class SceneMain_Energy_Home_SelectRes extends BaseScene implements Scene
     public void think() throws AWTException {
         int count = getRecord().getData().getCount();
         if (count < maxCount) {
-            moveToClick(PathOnButton, 0.9);
+            moveToClick(PathOnButton, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
             getRecord().getData().setCount(count + 1);
         }

+ 8 - 8
src/main/java/com/sencorsta/rabs/obj/ai/scene/energy/SceneMain_Energy_buy.java

@@ -30,7 +30,7 @@ public class SceneMain_Energy_buy extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -38,8 +38,8 @@ public class SceneMain_Energy_buy extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
                 continue;
             }
@@ -48,7 +48,7 @@ public class SceneMain_Energy_buy extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -56,16 +56,16 @@ public class SceneMain_Energy_buy extends BaseScene implements Scene {
 
     @Override
     public void think() throws AWTException {
-        moveToClick(PathItem,0.9);
+        moveToClick(PathItem,AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
-        moveToClick(PathAdd,0.9);
+        moveToClick(PathAdd,AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
-        moveToClick(PathAdd,0.9);
+        moveToClick(PathAdd,AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
-        moveToClick(PathBuy,0.9);
+        moveToClick(PathBuy,AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
         getRecord().getData().setDone(true);

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

@@ -26,7 +26,7 @@ public class SceneMain_Explore extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -34,8 +34,8 @@ public class SceneMain_Explore extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
         }
@@ -43,7 +43,7 @@ public class SceneMain_Explore extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;

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

@@ -26,7 +26,7 @@ public class SceneMain_Explore_Gift extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -34,8 +34,8 @@ public class SceneMain_Explore_Gift extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
         }
@@ -43,7 +43,7 @@ public class SceneMain_Explore_Gift extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;

+ 8 - 8
src/main/java/com/sencorsta/rabs/obj/ai/scene/explore/SceneMain_Explore_Gift_Evil.java

@@ -30,7 +30,7 @@ public class SceneMain_Explore_Gift_Evil extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -38,8 +38,8 @@ public class SceneMain_Explore_Gift_Evil extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
         }
@@ -47,7 +47,7 @@ public class SceneMain_Explore_Gift_Evil extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -56,14 +56,14 @@ public class SceneMain_Explore_Gift_Evil extends BaseScene implements Scene {
     @Override
     public void think() throws AWTException {
         ThreadUtil.sleep(2000);
-        moveToClick(PathOb,0.9);
+        moveToClick(PathOb,AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        moveToClick(PathTime10,0.9);
-        while (!checkHas(PathOver,0.9)){
+        moveToClick(PathTime10,AiManage.getInstance().getCheckPoint());
+        while (!checkHas(PathOver,AiManage.getInstance().getCheckPoint())){
             ThreadUtil.sleep(2000);
         }
         ThreadUtil.sleep(2000);
-        moveToClick(PathClose,0.9);
+        moveToClick(PathClose,AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
         getRecord().getData().setDone(true);
     }

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

@@ -26,7 +26,7 @@ public class SceneMain_Explore_King extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -34,8 +34,8 @@ public class SceneMain_Explore_King extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
         }
@@ -43,7 +43,7 @@ public class SceneMain_Explore_King extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;

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

@@ -35,7 +35,7 @@ public class SceneMain_Explore_King_hell extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -43,12 +43,12 @@ public class SceneMain_Explore_King_hell extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
             }
-            if (checkHas(PathEnter2, 0.9)) {
-                moveToClick(PathEnter2, 0.9);
+            if (checkHas(PathEnter2, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter2, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
                 continue;
             }
@@ -57,7 +57,7 @@ public class SceneMain_Explore_King_hell extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -66,16 +66,16 @@ public class SceneMain_Explore_King_hell extends BaseScene implements Scene {
     @Override
     public void think() throws AWTException {
         ThreadUtil.sleep(2000);
-        moveToClick(PathFight, 0.9);
+        moveToClick(PathFight, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        moveToClick(PathStart, 0.9);
+        moveToClick(PathStart, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
-        while (!checkHas(PathOver, 0.9)) {
+        while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
             ThreadUtil.sleep(2000);
         }
         ThreadUtil.sleep(3000);
-        moveToClick(PathClose, 0.9);
+        moveToClick(PathClose, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
         getRecord().getData().setDone(true);

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

@@ -41,7 +41,7 @@ public class SceneMain_Explore_King_kings extends BaseScene implements Scene {
     private int maxCount=9;
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
         isTempDone = false;
     }
 
@@ -50,12 +50,12 @@ public class SceneMain_Explore_King_kings extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
             }
-            if (checkHas(PathEnter2, 0.9)) {
-                moveToClick(PathEnter2, 0.9);
+            if (checkHas(PathEnter2, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter2, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
                 continue;
             }
@@ -64,7 +64,7 @@ public class SceneMain_Explore_King_kings extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -75,53 +75,53 @@ public class SceneMain_Explore_King_kings extends BaseScene implements Scene {
         int count = getRecord().getData().getCount();
 
         if (count==2){
-            moveToClick(PathDay, 0.9);
+            moveToClick(PathDay, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
 
-            moveToClick(PathReward, 0.9);
+            moveToClick(PathReward, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
 
-            while (checkHas(PathTake, 0.9)){
-                moveToClick(PathTake, 0.9);
+            while (checkHas(PathTake, AiManage.getInstance().getCheckPoint())){
+                moveToClick(PathTake, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
                 randomToClick();
                 ThreadUtil.sleep(2000);
             }
 
-            moveToClick(PathWeek, 0.9);
+            moveToClick(PathWeek, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
 
-            while (checkHas(PathTake, 0.9)){
-                moveToClick(PathTake, 0.9);
+            while (checkHas(PathTake, AiManage.getInstance().getCheckPoint())){
+                moveToClick(PathTake, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
                 randomToClick();
                 ThreadUtil.sleep(2000);
             }
 
-            moveToClick(PathClose, 0.9);
+            moveToClick(PathClose, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
         }
         ThreadUtil.sleep(4000);
-        moveToClick(PathFight, 0.9);
+        moveToClick(PathFight, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(4000);
-        moveToClick(PathStart, 0.9);
+        moveToClick(PathStart, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(4000);
 
-        if (checkHas(PathCancle, 0.9)) {
+        if (checkHas(PathCancle, AiManage.getInstance().getCheckPoint())) {
             ThreadUtil.sleep(2000);
-            moveToClick(PathCancle, 0.9);
+            moveToClick(PathCancle, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
             getRecord().getData().setCount(maxCount);
             return;
         }
 
-        while (!checkHas(PathOver, 0.9)) {
-            if (checkHas(PathSkip, 0.9)) {
-                moveToClick(PathSkip, 0.9);
+        while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
+            if (checkHas(PathSkip, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathSkip, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
             }
-            if (checkHas(PathSkip2, 0.9)) {
-                moveToClick(PathSkip2, 0.9);
+            if (checkHas(PathSkip2, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathSkip2, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
             }
             ThreadUtil.sleep(1000);

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

@@ -26,7 +26,7 @@ public class SceneMain_Explore_Leader extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -34,8 +34,8 @@ public class SceneMain_Explore_Leader extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
         }
@@ -43,7 +43,7 @@ public class SceneMain_Explore_Leader extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;

+ 18 - 18
src/main/java/com/sencorsta/rabs/obj/ai/scene/explore/SceneMain_Explore_Leader_quick.java

@@ -30,7 +30,7 @@ public class SceneMain_Explore_Leader_quick extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -38,8 +38,8 @@ public class SceneMain_Explore_Leader_quick extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
         }
@@ -47,7 +47,7 @@ public class SceneMain_Explore_Leader_quick extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -55,38 +55,38 @@ public class SceneMain_Explore_Leader_quick extends BaseScene implements Scene {
 
     @Override
     public void think() throws AWTException {
-        moveToClick(PathTime3, 0.9);
+        moveToClick(PathTime3, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        if (checkHas(PathCancel, 0.9)) {
-            moveToClick(PathCancel, 0.9);
+        if (checkHas(PathCancel, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathCancel, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
         }else {
             ThreadUtil.sleep(1000);
-            moveToClick(PathBack, 0.9);
+            moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(10000);
         }
-        moveToClick(PathStage7_12, 0.9);
+        moveToClick(PathStage7_12, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        moveToClick(PathTime3, 0.9);
+        moveToClick(PathTime3, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        if (checkHas(PathCancel, 0.9)) {
-            moveToClick(PathCancel, 0.9);
+        if (checkHas(PathCancel, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathCancel, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
         }else {
             ThreadUtil.sleep(1000);
-            moveToClick(PathBack, 0.9);
+            moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(10000);
         }
-        moveToClick(PathStage13_18, 0.9);
+        moveToClick(PathStage13_18, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        moveToClick(PathTime3, 0.9);
+        moveToClick(PathTime3, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        if (checkHas(PathCancel, 0.9)) {
-            moveToClick(PathCancel, 0.9);
+        if (checkHas(PathCancel, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathCancel, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
         }else {
             ThreadUtil.sleep(1000);
-            moveToClick(PathBack, 0.9);
+            moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(10000);
         }
 

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

@@ -32,7 +32,7 @@ public class SceneMain_Family extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -40,18 +40,18 @@ public class SceneMain_Family extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
 
-            if (checkHas(PathRightdoor, 0.9)||checkHas(PathRightdoor2, 0.9)) {
+            if (checkHas(PathRightdoor, AiManage.getInstance().getCheckPoint())||checkHas(PathRightdoor2, AiManage.getInstance().getCheckPoint())) {
                 System.out.println("发现右边的门...");
-                moveToClick(PathGoLeft, 0.9, new Point(0, -50));
+                moveToClick(PathGoLeft, AiManage.getInstance().getCheckPoint(), new Point(0, -50));
                 System.out.println("往左边走一步");
                 ThreadUtil.sleep(6000);
             } else {
-                moveToClick(PathGoRight, 0.9, new Point(0, -50));
+                moveToClick(PathGoRight, AiManage.getInstance().getCheckPoint(), new Point(0, -50));
                 System.out.println("往右边走一步");
                 ThreadUtil.sleep(6000);
             }
@@ -60,7 +60,7 @@ public class SceneMain_Family extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;

+ 22 - 22
src/main/java/com/sencorsta/rabs/obj/ai/scene/family/SceneMain_Family_Help.java

@@ -40,7 +40,7 @@ public class SceneMain_Family_Help extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -48,22 +48,22 @@ public class SceneMain_Family_Help extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
                 continue;
             }
 
-            if (checkHas(PathPaper, 0.9)) {
-                moveToClick(PathPaper, 0.9, new Point(300, 0));
+            if (checkHas(PathPaper, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathPaper, AiManage.getInstance().getCheckPoint(), new Point(300, 0));
                 ThreadUtil.sleep(2000);
             }
 
-            if (checkHas(PathRightdoor, 0.9)) {
-                moveToClick(PathGoLeft, 0.9, new Point(-100, -70));
+            if (checkHas(PathRightdoor, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathGoLeft, AiManage.getInstance().getCheckPoint(), new Point(-100, -70));
                 ThreadUtil.sleep(5000);
             }else {
-                moveToClick(PathGoLeft, 0.9, new Point(430, -70));
+                moveToClick(PathGoLeft, AiManage.getInstance().getCheckPoint(), new Point(430, -70));
                 ThreadUtil.sleep(5000);
             }
 
@@ -72,7 +72,7 @@ public class SceneMain_Family_Help extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
 
@@ -81,20 +81,20 @@ public class SceneMain_Family_Help extends BaseScene implements Scene {
 
     @Override
     public void think() throws AWTException {
-        moveToClick(PathAsk, 0.9);
+        moveToClick(PathAsk, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
-        moveToClick(PathSendAsk, 0.9);
+        moveToClick(PathSendAsk, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
 
-        moveToClick(PathMemory, 0.9);
+        moveToClick(PathMemory, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
-        while (checkHas(PathGive,0.9)){
+        while (checkHas(PathGive,AiManage.getInstance().getCheckPoint())){
             int count = getRecord().getData().getCount();
             if (count<3){
-                moveToClick(PathGive, 0.9);
+                moveToClick(PathGive, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
                 randomToClick();
                 ThreadUtil.sleep(2000);
@@ -103,29 +103,29 @@ public class SceneMain_Family_Help extends BaseScene implements Scene {
             }
         }
 
-        moveToClick(PathAsk, 0.9);
+        moveToClick(PathAsk, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
-        moveToClick(PathPiece1, 0.9);
+        moveToClick(PathPiece1, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(3000);
 
-        moveToClick(PathSendAsk, 0.9);
+        moveToClick(PathSendAsk, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(3000);
 
 
-        moveToClick(PathAsk, 0.9);
+        moveToClick(PathAsk, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
-        if (checkHas(PathPiece2,0.9)) {
-            moveToClick(PathPiece2, 0.9);
+        if (checkHas(PathPiece2,AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathPiece2, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(3000);
         }else {
-            moveToClick(PathPiece2Dark, 0.9);
+            moveToClick(PathPiece2Dark, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(3000);
         }
 
 
-        moveToClick(PathSendAsk, 0.9);
+        moveToClick(PathSendAsk, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(3000);
 
 

+ 12 - 12
src/main/java/com/sencorsta/rabs/obj/ai/scene/family/SceneMain_Family_Info.java

@@ -34,7 +34,7 @@ public class SceneMain_Family_Info extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -42,15 +42,15 @@ public class SceneMain_Family_Info extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(5000);
                 continue;
             }
 
-            if (checkHas(PathRightdoor, 0.9)||checkHas(PathRightdoor2, 0.9)) {
+            if (checkHas(PathRightdoor, AiManage.getInstance().getCheckPoint())||checkHas(PathRightdoor2, AiManage.getInstance().getCheckPoint())) {
                 System.out.println("发现右边的门...");
-                moveToClick(PathGoLeft, 0.9, new Point(-100, -70));
+                moveToClick(PathGoLeft, AiManage.getInstance().getCheckPoint(), new Point(-100, -70));
                 System.out.println("往左边走一步");
                 ThreadUtil.sleep(5000);
             }
@@ -59,7 +59,7 @@ public class SceneMain_Family_Info extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -67,16 +67,16 @@ public class SceneMain_Family_Info extends BaseScene implements Scene {
 
     @Override
     public void think() throws AWTException {
-        if (checkHas(PathReward1, 0.9)) {
-            moveToClick(PathReward1, 0.9,new Point(0,-50));
+        if (checkHas(PathReward1, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathReward1, AiManage.getInstance().getCheckPoint(),new Point(0,-50));
             ThreadUtil.sleep(2000);
             randomToClick();
-        }else if (checkHas(PathReward2, 0.9)) {
-            moveToClick(PathReward2, 0.9,new Point(0,-50));
+        }else if (checkHas(PathReward2, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathReward2, AiManage.getInstance().getCheckPoint(),new Point(0,-50));
             ThreadUtil.sleep(2000);
             randomToClick();
-        }else if (checkHas(PathReward3, 0.9)) {
-            moveToClick(PathReward3, 0.9,new Point(0,-50));
+        }else if (checkHas(PathReward3, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathReward3, AiManage.getInstance().getCheckPoint(),new Point(0,-50));
             ThreadUtil.sleep(2000);
             randomToClick();
         }

+ 11 - 11
src/main/java/com/sencorsta/rabs/obj/ai/scene/family/SceneMain_Family_Out.java

@@ -34,7 +34,7 @@ public class SceneMain_Family_Out extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -42,17 +42,17 @@ public class SceneMain_Family_Out extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(5000);
                 continue;
             }
 
-            if (checkHas(PathRightdoor, 0.9)) {
-                moveToClick(PathGoLeft, 0.9, new Point(-100, -70));
+            if (checkHas(PathRightdoor, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathGoLeft, AiManage.getInstance().getCheckPoint(), new Point(-100, -70));
                 ThreadUtil.sleep(5000);
             }else {
-                moveToClick(PathGoLeft, 0.9, new Point(430, -70));
+                moveToClick(PathGoLeft, AiManage.getInstance().getCheckPoint(), new Point(430, -70));
                 ThreadUtil.sleep(5000);
             }
         }
@@ -60,7 +60,7 @@ public class SceneMain_Family_Out extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -72,14 +72,14 @@ public class SceneMain_Family_Out extends BaseScene implements Scene {
             return;
         }
         ThreadUtil.sleep(2000);
-        if (checkHas(PathTime3, 0.9)){
-            moveToClick(PathTime3, 0.9);
+        if (checkHas(PathTime3, AiManage.getInstance().getCheckPoint())){
+            moveToClick(PathTime3, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
         }
-        moveToClick(PathFind, 0.9);
+        moveToClick(PathFind, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(6000);
 
-        moveToClick(PathTake, 0.9,new Point(0,-180));
+        moveToClick(PathTake, AiManage.getInstance().getCheckPoint(),new Point(0,-180));
         ThreadUtil.sleep(4000);
 
         java.awt.Point lastClickPoint = AiManage.getInstance().getLastClickPoint();

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

@@ -28,7 +28,7 @@ public class SceneMain_Family_Out_BigBoss extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack,0.9);
+        moveToClick(PathBack,AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -36,8 +36,8 @@ public class SceneMain_Family_Out_BigBoss extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(5000);
                 continue;
             }
@@ -46,7 +46,7 @@ public class SceneMain_Family_Out_BigBoss extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -54,13 +54,13 @@ public class SceneMain_Family_Out_BigBoss extends BaseScene implements Scene {
     static int maxTime=3;
     @Override
     public void think() throws AWTException {
-        moveToClick(PathStart, 0.9);
+        moveToClick(PathStart, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(4000);
 
         randomToClick();
         ThreadUtil.sleep(4000);
 
-        moveToClick(PathStart, 0.9);
+        moveToClick(PathStart, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(4000);
 
         randomToClick();

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

@@ -33,7 +33,7 @@ public class SceneMain_Family_Out_Boss extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack,0.9);
+        moveToClick(PathBack,AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -41,8 +41,8 @@ public class SceneMain_Family_Out_Boss extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(5000);
                 continue;
             }
@@ -51,7 +51,7 @@ public class SceneMain_Family_Out_Boss extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -62,32 +62,32 @@ public class SceneMain_Family_Out_Boss extends BaseScene implements Scene {
         int count = getRecord().getData().getCount();
 
         if (count<maxTime){
-            while (!checkHas(PathStart, 0.9)) {
-                if (checkHas(PathReward, 0.9)) {
-                    moveToClick(PathReward, 0.9);
+            while (!checkHas(PathStart, AiManage.getInstance().getCheckPoint())) {
+                if (checkHas(PathReward, AiManage.getInstance().getCheckPoint())) {
+                    moveToClick(PathReward, AiManage.getInstance().getCheckPoint());
                     ThreadUtil.sleep(2000);
                 }
                 ThreadUtil.sleep(1000);
             }
             ThreadUtil.sleep(4000);
-            moveToClick(PathStart, 0.9);
+            moveToClick(PathStart, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(3000);
 
-            if (checkHas(PathCancel,0.9)){
+            if (checkHas(PathCancel,AiManage.getInstance().getCheckPoint())){
                 getRecord().getData().setCount(count+1);
             }else {
-                moveToClick(PathStart2, 0.9);
+                moveToClick(PathStart2, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
 
-                while (!checkHas(PathOver, 0.9)) {
-                    if (checkHas(PathSkip, 0.9)) {
-                        moveToClick(PathSkip, 0.9);
+                while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
+                    if (checkHas(PathSkip, AiManage.getInstance().getCheckPoint())) {
+                        moveToClick(PathSkip, AiManage.getInstance().getCheckPoint());
                         ThreadUtil.sleep(2000);
                     }
                     ThreadUtil.sleep(1000);
                 }
 
-                moveToClick(PathOver, 0.9);
+                moveToClick(PathOver, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(6000);
 
                 getRecord().getData().setCount(count+1);

+ 8 - 8
src/main/java/com/sencorsta/rabs/obj/ai/scene/family/SceneMain_Family_Out_Fight.java

@@ -38,8 +38,8 @@ public class SceneMain_Family_Out_Fight extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(5000);
                 continue;
             }
@@ -48,7 +48,7 @@ public class SceneMain_Family_Out_Fight extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -60,18 +60,18 @@ public class SceneMain_Family_Out_Fight extends BaseScene implements Scene {
         int count = getRecord().getData().getCount();
 
         ThreadUtil.sleep(2000);
-        moveToClick(PathStart, 0.9);
+        moveToClick(PathStart, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
-        while (!checkHas(PathOver, 0.9)) {
-            if (checkHas(PathSkip, 0.9)) {
-                moveToClick(PathSkip, 0.9);
+        while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
+            if (checkHas(PathSkip, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathSkip, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
             }
             ThreadUtil.sleep(1000);
         }
 
-        moveToClick(PathOver, 0.9);
+        moveToClick(PathOver, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(6000);
 
 

+ 15 - 15
src/main/java/com/sencorsta/rabs/obj/ai/scene/family/SceneMain_Family_Task.java

@@ -35,7 +35,7 @@ public class SceneMain_Family_Task extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
     }
 
@@ -44,16 +44,16 @@ public class SceneMain_Family_Task extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
                 continue;
             }
-            if (checkHas(PathRightdoor, 0.9)) {
-                moveToClick(PathGoLeft, 0.9, new Point(-100, -70));
+            if (checkHas(PathRightdoor, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathGoLeft, AiManage.getInstance().getCheckPoint(), new Point(-100, -70));
                 ThreadUtil.sleep(5000);
             }else {
-                moveToClick(PathGoLeft, 0.9, new Point(430, -70));
+                moveToClick(PathGoLeft, AiManage.getInstance().getCheckPoint(), new Point(430, -70));
                 ThreadUtil.sleep(5000);
             }
         }
@@ -61,7 +61,7 @@ public class SceneMain_Family_Task extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -71,20 +71,20 @@ public class SceneMain_Family_Task extends BaseScene implements Scene {
     public void think() throws AWTException {
         for (int i = 0; i < 20; i++) {
             //重复20次就算完成 TODO ice 优化更好的逻辑
-            if (checkHas(PathTask1, 0.9)) {
-                moveToClick(PathTask1, 0.9,new Point(0,270));
+            if (checkHas(PathTask1, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathTask1, AiManage.getInstance().getCheckPoint(),new Point(0,270));
                 ThreadUtil.sleep(2000);
             }
-            if (checkHas(PathTask2, 0.9)) {
-                moveToClick(PathTask2, 0.9,new Point(0,270));
+            if (checkHas(PathTask2, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathTask2, AiManage.getInstance().getCheckPoint(),new Point(0,270));
                 ThreadUtil.sleep(2000);
             }
-            if (checkHas(PathTask3, 0.9)) {
-                moveToClick(PathTask3, 0.9,new Point(0,270));
+            if (checkHas(PathTask3, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathTask3, AiManage.getInstance().getCheckPoint(),new Point(0,270));
                 ThreadUtil.sleep(2000);
             }
-            if (checkHas(PathTask4, 0.9)) {
-                moveToClick(PathTask4, 0.9,new Point(0,270));
+            if (checkHas(PathTask4, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathTask4, AiManage.getInstance().getCheckPoint(),new Point(0,270));
                 ThreadUtil.sleep(2000);
             }
         }

+ 9 - 9
src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight.java

@@ -31,7 +31,7 @@ public class SceneMain_Fight extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
         System.out.println("点击退出竞技界面");
     }
 
@@ -40,25 +40,25 @@ public class SceneMain_Fight extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
                 System.out.println("发现游戏竞技界面...");
-                moveToClick(PathEnter, 0.9);
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 System.out.println("点击竞技界面");
                 continue;
             }
-            if (checkHas(PathEnter2, 0.9)) {
+            if (checkHas(PathEnter2, AiManage.getInstance().getCheckPoint())) {
                 System.out.println("发现游戏竞技界面(夜晚)...");
-                moveToClick(PathEnter2, 0.9);
+                moveToClick(PathEnter2, AiManage.getInstance().getCheckPoint());
                 System.out.println("点击竞技界面(夜晚)");
                 continue;
             }
-            if (checkHas(PathRightdoor, 0.9)) {
+            if (checkHas(PathRightdoor, AiManage.getInstance().getCheckPoint())) {
                 System.out.println("发现右边的门...");
-                moveToClick(PathGoLeft, 0.9, new Point(0, -50));
+                moveToClick(PathGoLeft, AiManage.getInstance().getCheckPoint(), new Point(0, -50));
                 System.out.println("往左边走一步");
                 ThreadUtil.sleep(6000);
             } else {
-                moveToClick(PathGoRight, 0.9, new Point(0, -50));
+                moveToClick(PathGoRight, AiManage.getInstance().getCheckPoint(), new Point(0, -50));
                 System.out.println("往右边走一步");
                 ThreadUtil.sleep(6000);
             }
@@ -67,7 +67,7 @@ public class SceneMain_Fight extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;

+ 10 - 10
src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight_Endless.java

@@ -28,7 +28,7 @@ public class SceneMain_Fight_Endless extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -36,22 +36,22 @@ public class SceneMain_Fight_Endless extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
 
-            if (checkHas(PathToLogin, 0.9)) {
-                moveToClick(PathToLogin, 0.9);
+            if (checkHas(PathToLogin, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathToLogin, AiManage.getInstance().getCheckPoint());
                 continue;
             }
 
-            if (checkHas(PathLogin, 0.9)) {
-                moveToClick(PathLogin, 0.9, new Point(-50, -200));
+            if (checkHas(PathLogin, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathLogin, AiManage.getInstance().getCheckPoint(), new Point(-50, -200));
                 ThreadUtil.sleep(2000);
-                moveToClick(PathLogin, 0.9);
+                moveToClick(PathLogin, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
-                moveToClick(PathOk, 0.9);
+                moveToClick(PathOk, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(3000);
                 continue;
             }
@@ -62,7 +62,7 @@ public class SceneMain_Fight_Endless extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;

+ 8 - 8
src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight_Endless_Quick.java

@@ -32,7 +32,7 @@ public class SceneMain_Fight_Endless_Quick extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
         int count = getRecord().getData().getCount();
         if (count < maxCount) {
             isTempDone = false;
@@ -44,8 +44,8 @@ public class SceneMain_Fight_Endless_Quick extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
         }
@@ -53,7 +53,7 @@ public class SceneMain_Fight_Endless_Quick extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -63,14 +63,14 @@ public class SceneMain_Fight_Endless_Quick extends BaseScene implements Scene {
     public void think() throws AWTException {
         int count = getRecord().getData().getCount();
         if (count < maxCount) {
-            while (!checkHas(PathStart, 0.9)) {
+            while (!checkHas(PathStart, AiManage.getInstance().getCheckPoint())) {
                 ThreadUtil.sleep(2000);
             }
-            moveToClick(PathMax, 0.9);
+            moveToClick(PathMax, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
-            moveToClick(PathStart, 0.9);
+            moveToClick(PathStart, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
-            while (!checkHas(PathOk, 0.9)) {
+            while (!checkHas(PathOk, AiManage.getInstance().getCheckPoint())) {
                 ThreadUtil.sleep(2000);
             }
             getRecord().getData().setCount(count + 1);

+ 9 - 9
src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight_Endless_Reward.java

@@ -31,7 +31,7 @@ public class SceneMain_Fight_Endless_Reward extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -39,8 +39,8 @@ public class SceneMain_Fight_Endless_Reward extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
         }
@@ -48,7 +48,7 @@ public class SceneMain_Fight_Endless_Reward extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -56,21 +56,21 @@ public class SceneMain_Fight_Endless_Reward extends BaseScene implements Scene {
 
     @Override
     public void think() throws AWTException {
-        moveToClick(PathTake, 0.9);
+        moveToClick(PathTake, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
         randomToClick();//第二次是恭喜获得
         ThreadUtil.sleep(2000);
 
-        moveToClick(PathEverweek, 0.9);
+        moveToClick(PathEverweek, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
-        moveToClick(PathCoin, 0.9);//TODO ice 这里优化一下 图片会动 改成固定图
+        moveToClick(PathCoin, AiManage.getInstance().getCheckPoint());//TODO ice 这里优化一下 图片会动 改成固定图
         ThreadUtil.sleep(2000);
 
-        moveToClick(PathCup, 0.9);
+        moveToClick(PathCup, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
-        moveToClick(PathTake, 0.9);
+        moveToClick(PathTake, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
         randomToClick();//第二次是恭喜获得
         ThreadUtil.sleep(2000);

+ 4 - 4
src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight_Gym.java

@@ -22,7 +22,7 @@ public class SceneMain_Fight_Gym extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
     }
 
@@ -31,8 +31,8 @@ public class SceneMain_Fight_Gym extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
         }
@@ -40,7 +40,7 @@ public class SceneMain_Fight_Gym extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;

+ 16 - 15
src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight_Gym_Dragon.java

@@ -37,7 +37,8 @@ public class SceneMain_Fight_Gym_Dragon extends SceneWhitSubRecord implements Sc
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
+        ThreadUtil.sleep(2000);
     }
 
     int moveCount = 0;
@@ -48,14 +49,14 @@ public class SceneMain_Fight_Gym_Dragon extends SceneWhitSubRecord implements Sc
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
             if (goRight) {
-                moveToClick(PathMovePoint, 0.9, new Point(0, -50));
+                moveToClick(PathMovePoint, AiManage.getInstance().getCheckPoint(), new Point(0, -50));
             } else {
-                moveToClick(PathMovePoint, 0.9, new Point(-666, -50));
+                moveToClick(PathMovePoint, AiManage.getInstance().getCheckPoint(), new Point(-666, -50));
             }
             moveCount++;
             if (moveCount > 5) {
@@ -67,7 +68,7 @@ public class SceneMain_Fight_Gym_Dragon extends SceneWhitSubRecord implements Sc
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -78,32 +79,32 @@ public class SceneMain_Fight_Gym_Dragon extends SceneWhitSubRecord implements Sc
         int count = getRecord().getData().getCount();
         if (count < maxTime) {
             ThreadUtil.sleep(4000);
-            moveToClick(PathStart, 0.9);
+            moveToClick(PathStart, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
-            while (!checkHas(PathStart2, 0.9)) {
-                if (checkHas(PathBuy, 0.9)) {
+            while (!checkHas(PathStart2, AiManage.getInstance().getCheckPoint())) {
+                if (checkHas(PathBuy, AiManage.getInstance().getCheckPoint())) {
                     //没有次数了 结束
                     getRecordSub().getData().setDone(true);
-                    moveToClick(PathClose, 0.9);
+                    moveToClick(PathClose, AiManage.getInstance().getCheckPoint());
                     ThreadUtil.sleep(2000);
                     return;
                 }
 
-                moveToClick(PathStart, 0.9);
+                moveToClick(PathStart, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
             }
-            moveToClick(PathStart2, 0.9);
+            moveToClick(PathStart2, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
 
-            while (!checkHas(PathOver, 0.9)) {
-                if (checkHas(PathLose, 0.9)) {
+            while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
+                if (checkHas(PathLose, AiManage.getInstance().getCheckPoint())) {
                     //发现失败 直接放弃
                     getRecord().getData().setCount(maxTime);
                     randomToClick();
                     ThreadUtil.sleep(2000);
                     return;
                 }
-                moveToClick(PathSkip, 0.9);
+                moveToClick(PathSkip, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(4000);
             }
             ThreadUtil.sleep(6000);

+ 16 - 15
src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight_Gym_Wind.java

@@ -39,7 +39,8 @@ public class SceneMain_Fight_Gym_Wind extends SceneWhitSubRecord implements Scen
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
+        ThreadUtil.sleep(2000);
     }
 
     int moveCount = 0;
@@ -50,14 +51,14 @@ public class SceneMain_Fight_Gym_Wind extends SceneWhitSubRecord implements Scen
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
             if (goRight) {
-                moveToClick(PathMovePoint, 0.9, new Point(0, -50));
+                moveToClick(PathMovePoint, AiManage.getInstance().getCheckPoint(), new Point(0, -50));
             } else {
-                moveToClick(PathMovePoint, 0.9, new Point(-666, -50));
+                moveToClick(PathMovePoint, AiManage.getInstance().getCheckPoint(), new Point(-666, -50));
             }
             moveCount++;
             if (moveCount > 5) {
@@ -69,7 +70,7 @@ public class SceneMain_Fight_Gym_Wind extends SceneWhitSubRecord implements Scen
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -80,32 +81,32 @@ public class SceneMain_Fight_Gym_Wind extends SceneWhitSubRecord implements Scen
         int count = getRecord().getData().getCount();
         if (count < maxTime) {
             ThreadUtil.sleep(4000);
-            moveToClick(PathStart, 0.9);
+            moveToClick(PathStart, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
-            while (!checkHas(PathStart2, 0.9)) {
-                if (checkHas(PathBuy, 0.9)) {
+            while (!checkHas(PathStart2, AiManage.getInstance().getCheckPoint())) {
+                if (checkHas(PathBuy, AiManage.getInstance().getCheckPoint())) {
                     //没有次数了 今日结束
                     getRecordSub().getData().setDone(true);
-                    moveToClick(PathClose, 0.9);
+                    moveToClick(PathClose, AiManage.getInstance().getCheckPoint());
                     ThreadUtil.sleep(2000);
                     return;
                 }
 
-                moveToClick(PathStart, 0.9);
+                moveToClick(PathStart, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
             }
-            moveToClick(PathStart2, 0.9);
+            moveToClick(PathStart2, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
 
-            while (!checkHas(PathOver, 0.9)) {
-                if (checkHas(PathLose, 0.9)) {
+            while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
+                if (checkHas(PathLose, AiManage.getInstance().getCheckPoint())) {
                     //发现失败 直接放弃
                     getRecord().getData().setCount(maxTime);
                     randomToClick();
                     ThreadUtil.sleep(2000);
                     return;
                 }
-                moveToClick(PathSkip, 0.9);
+                moveToClick(PathSkip, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(4000);
             }
             ThreadUtil.sleep(6000);

+ 25 - 23
src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight_VS.java

@@ -35,7 +35,7 @@ public class SceneMain_Fight_VS extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
         System.out.println("点击退出对决赛");
     }
 
@@ -44,32 +44,34 @@ public class SceneMain_Fight_VS extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
-                continue;
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
+                ThreadUtil.sleep(6000);
+
+                if (checkHas(PathShow, AiManage.getInstance().getCheckPoint())) {
+                    moveToClick(PathShowStart, AiManage.getInstance().getCheckPoint());
+                    ThreadUtil.sleep(3000);
+                    moveToClick(PathShowNext, AiManage.getInstance().getCheckPoint());
+                    ThreadUtil.sleep(3000);
+                    moveToClick(PathShowHero, AiManage.getInstance().getCheckPoint(),new Point(-40,125));
+                    ThreadUtil.sleep(3000);
+                    randomToClick();
+                    ThreadUtil.sleep(3000);
+                    moveToClick(PathShowEvil, AiManage.getInstance().getCheckPoint(),new Point(50,125));
+                    ThreadUtil.sleep(3000);
+                    randomToClick();
+                    ThreadUtil.sleep(3000);
+                }
             }
 
-            if (checkHas(PathShow, 0.9)) {
-                moveToClick(PathShowStart, 0.9);
-                ThreadUtil.sleep(3000);
-                moveToClick(PathShowNext, 0.9);
-                ThreadUtil.sleep(3000);
-                moveToClick(PathShowHero, 0.9,new Point(-40,125));
-                ThreadUtil.sleep(3000);
-                randomToClick();
-                ThreadUtil.sleep(3000);
-                moveToClick(PathShowEvil, 0.9,new Point(50,125));
-                ThreadUtil.sleep(3000);
-                randomToClick();
-                ThreadUtil.sleep(3000);
-            }
+
 
         }
     }
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -77,14 +79,14 @@ public class SceneMain_Fight_VS extends BaseScene implements Scene {
 
     @Override
     public void think() throws AWTException {
-        if (checkHas(PathReword, 0.9)) {
-            moveToClick(PathReword, 0.9);
+        if (checkHas(PathReword, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathReword, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
 
-            moveToClick(PathReword2, 0.9);
+            moveToClick(PathReword2, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
         }
-        if (checkHas(PathGoldOver, 0.9) && checkHas(PathDimonOver, 0.9)) {
+        if (checkHas(PathGoldOver, AiManage.getInstance().getCheckPoint()) && checkHas(PathDimonOver, AiManage.getInstance().getCheckPoint())) {
             getRecord().getData().setDone(true);
         }
     }

+ 15 - 15
src/main/java/com/sencorsta/rabs/obj/ai/scene/fight/SceneMain_Fight_VS_Quick.java

@@ -28,7 +28,7 @@ public class SceneMain_Fight_VS_Quick extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
         System.out.println("点击退出快速挑战");
     }
 
@@ -37,9 +37,9 @@ public class SceneMain_Fight_VS_Quick extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
                 System.out.println("发现快速挑战...");
-                moveToClick(PathEnter, 0.9);
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 System.out.println("点击快速挑战");
                 continue;
             }
@@ -48,7 +48,7 @@ public class SceneMain_Fight_VS_Quick extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -56,31 +56,31 @@ public class SceneMain_Fight_VS_Quick extends BaseScene implements Scene {
 
     @Override
     public void think() throws AWTException {
-        if (!checkHas(PathStart_black, 0.9)) {
+        if (!checkHas(PathStart_black, AiManage.getInstance().getCheckPoint())) {
             //先点一下最低分
-            moveToClick(PathLow, 0.9);
+            moveToClick(PathLow, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
             //再点一下最大
-            moveToClick(PathMax, 0.9);
+            moveToClick(PathMax, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
             //再点一下开始挑战
-            moveToClick(PathStart, 0.9);
-            while (!checkHas(PathOK, 0.9)) {
+            moveToClick(PathStart, AiManage.getInstance().getCheckPoint());
+            while (!checkHas(PathOK, AiManage.getInstance().getCheckPoint())) {
                 ThreadUtil.sleep(2000);
             }
         }
         //切换到怪人
-        moveToClick(PathEvil, 0.9);
-        if (!checkHas(PathStart_black, 0.9)) {
+        moveToClick(PathEvil, AiManage.getInstance().getCheckPoint());
+        if (!checkHas(PathStart_black, AiManage.getInstance().getCheckPoint())) {
             //先点一下最低分
-            moveToClick(PathLow, 0.9);
+            moveToClick(PathLow, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
             //再点一下最大
-            moveToClick(PathMax, 0.9);
+            moveToClick(PathMax, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
             //再点一下开始挑战
-            moveToClick(PathStart, 0.9);
-            while (!checkHas(PathOK, 0.9)) {
+            moveToClick(PathStart, AiManage.getInstance().getCheckPoint());
+            while (!checkHas(PathOK, AiManage.getInstance().getCheckPoint())) {
                 ThreadUtil.sleep(2000);
             }
         }

+ 8 - 8
src/main/java/com/sencorsta/rabs/obj/ai/scene/mail/SceneMain_Mail.java

@@ -29,7 +29,7 @@ public class SceneMain_Mail extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -37,8 +37,8 @@ public class SceneMain_Mail extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
         }
@@ -46,7 +46,7 @@ public class SceneMain_Mail extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -54,14 +54,14 @@ public class SceneMain_Mail extends BaseScene implements Scene {
 
     @Override
     public void think() throws AWTException {
-        if (checkHas(PathOneButton, 0.9)) {
-            moveToClick(PathOneButton, 0.9);
+        if (checkHas(PathOneButton, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathOneButton, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(4000);
             randomToClick();
             ThreadUtil.sleep(6000);
 
-            if (checkHas(PathExtTake,0.9)){
-                moveToClick(PathExtClose, 0.9);
+            if (checkHas(PathExtTake,AiManage.getInstance().getCheckPoint())){
+                moveToClick(PathExtClose, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(3000);
             }
 

+ 10 - 10
src/main/java/com/sencorsta/rabs/obj/ai/scene/qiyi/SceneMain_Qiyu.java

@@ -31,7 +31,7 @@ public class SceneMain_Qiyu extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -39,13 +39,13 @@ public class SceneMain_Qiyu extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
 
-            if (checkHas(PathBigbox, 0.9)) {
-                moveToClick(PathBigbox, 0.9,new Point(0,20));
+            if (checkHas(PathBigbox, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathBigbox, AiManage.getInstance().getCheckPoint(),new Point(0,20));
                 ThreadUtil.sleep(5000);
                 java.awt.Point lastClickPoint = AiManage.getInstance().getLastClickPoint();
                 lastClickPoint.setLocation(lastClickPoint.x+300,lastClickPoint.y+200);
@@ -56,7 +56,7 @@ public class SceneMain_Qiyu extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -64,11 +64,11 @@ public class SceneMain_Qiyu extends BaseScene implements Scene {
 
     @Override
     public void think() throws AWTException {
-        if (checkHas(PathFinish, 0.9)) {
-            moveToClick(PathFinish, 0.9);
+        if (checkHas(PathFinish, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathFinish, AiManage.getInstance().getCheckPoint());
         }
-        if (checkHas(PathBigbox, 0.9)) {
-            moveToClick(PathBigbox, 0.9,new Point(0,20));
+        if (checkHas(PathBigbox, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathBigbox, AiManage.getInstance().getCheckPoint(),new Point(0,20));
             ThreadUtil.sleep(3000);
             randomToClick();
         }

+ 19 - 19
src/main/java/com/sencorsta/rabs/obj/ai/scene/qiyi/SceneMain_Qiyu_find.java

@@ -34,26 +34,26 @@ public class SceneMain_Qiyu_find extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        while (!checkHas(PathOk, 0.9)) {
-            moveToClick(PathBack, 0.9);
+        while (!checkHas(PathOk, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
         }
         ThreadUtil.sleep(2000);
-        moveToClick(PathOk, 0.9);
+        moveToClick(PathOk, AiManage.getInstance().getCheckPoint());
         int countTemp = 0;
-        while (!checkHas(PathRewrad, 0.9)) {
+        while (!checkHas(PathRewrad, AiManage.getInstance().getCheckPoint())) {
             countTemp++;
             ThreadUtil.sleep(2000);
             if (countTemp % 5 == 0) {
-                moveToClick(PathOk, 0.9);
+                moveToClick(PathOk, AiManage.getInstance().getCheckPoint());
             }
         }
-        if (checkHas(PathOk, 0.9)) {
-            moveToClick(PathOk, 0.9);
+        if (checkHas(PathOk, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathOk, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
         }
         ThreadUtil.sleep(15000);
-        moveToClick(PathOk, 0.9);
+        moveToClick(PathOk, AiManage.getInstance().getCheckPoint());
 
     }
 
@@ -63,14 +63,14 @@ public class SceneMain_Qiyu_find extends BaseScene implements Scene {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
 
-            if (checkHas(PathEnter2, 0.9)) {
-                moveToClick(PathEnter2, 0.9);
+            if (checkHas(PathEnter2, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter2, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
                 continue;
             }
 
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 ThreadUtil.sleep(2000);
                 continue;
             }
@@ -79,7 +79,7 @@ public class SceneMain_Qiyu_find extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -89,20 +89,20 @@ public class SceneMain_Qiyu_find extends BaseScene implements Scene {
     public void think() throws AWTException {
 
         ThreadUtil.sleep(4000);
-        moveToClick(PathInfo, 0.9);
+        moveToClick(PathInfo, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
-        if (checkHas(PathGoon, 0.9)) {
-            moveToClick(PathGoon, 0.9);
+        if (checkHas(PathGoon, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathGoon, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
         }
 
-        if (checkHas(PathStart, 0.9)) {
-            moveToClick(PathStart, 0.9);
+        if (checkHas(PathStart, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathStart, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
         }
 
-        while (!checkHas(PathStart, 0.9)) {
+        while (!checkHas(PathStart, AiManage.getInstance().getCheckPoint())) {
             ThreadUtil.sleep(1000);
         }
 

+ 13 - 13
src/main/java/com/sencorsta/rabs/obj/ai/scene/qiyi/SceneMain_Qiyu_helper.java

@@ -31,7 +31,7 @@ public class SceneMain_Qiyu_helper extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -39,8 +39,8 @@ public class SceneMain_Qiyu_helper extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
         }
@@ -48,7 +48,7 @@ public class SceneMain_Qiyu_helper extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -56,30 +56,30 @@ public class SceneMain_Qiyu_helper extends BaseScene implements Scene {
 
     @Override
     public void think() throws AWTException {
-        moveToClick(PathOneButton,0.9);
+        moveToClick(PathOneButton,AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        while (!checkHas(PathOk,0.9)){
+        while (!checkHas(PathOk,AiManage.getInstance().getCheckPoint())){
             ThreadUtil.sleep(2000);
         }
         ThreadUtil.sleep(5000);
-        moveToClick(PathOk,0.9);
+        moveToClick(PathOk,AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(3000);
-        moveToClick(PathOk,0.9);
+        moveToClick(PathOk,AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(3000);
 
-        moveToClick(PathChallenge,0.9);
+        moveToClick(PathChallenge,AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
-        moveToClick(PathOneButton,0.9);
+        moveToClick(PathOneButton,AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
-        while (!checkHas(PathOk,0.9)){
+        while (!checkHas(PathOk,AiManage.getInstance().getCheckPoint())){
             ThreadUtil.sleep(2000);
         }
         ThreadUtil.sleep(5000);
-        moveToClick(PathOk,0.9);
+        moveToClick(PathOk,AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(3000);
-        moveToClick(PathOk,0.9);
+        moveToClick(PathOk,AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
         getRecord().getData().setDone(true);

+ 20 - 20
src/main/java/com/sencorsta/rabs/obj/ai/scene/qiyi/SceneMain_Qiyu_quest.java

@@ -28,7 +28,7 @@ public class SceneMain_Qiyu_quest extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
     }
 
@@ -37,18 +37,18 @@ public class SceneMain_Qiyu_quest extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter3, 0.9)) {
-                moveToClick(PathEnter3, 0.9, new org.opencv.core.Point(50, 0));
+            if (checkHas(PathEnter3, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter3, AiManage.getInstance().getCheckPoint(), new org.opencv.core.Point(50, 0));
                 ThreadUtil.sleep(2000);
                 continue;
             }
-//            if (checkHas(PathEnter, 0.9)) {
-//                moveToClick(PathEnter, 0.9, new org.opencv.core.Point(-5, 20));
+//            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+//                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint(), new org.opencv.core.Point(-5, 20));
 //                ThreadUtil.sleep(2000);
 //                continue;
 //            }
-//            if (checkHas(PathEnter2, 0.9)) {
-//                moveToClick(PathEnter2, 0.9, new org.opencv.core.Point(0, -30));
+//            if (checkHas(PathEnter2, AiManage.getInstance().getCheckPoint())) {
+//                moveToClick(PathEnter2, AiManage.getInstance().getCheckPoint(), new org.opencv.core.Point(0, -30));
 //                ThreadUtil.sleep(2000);
 //                continue;
 //            }
@@ -57,7 +57,7 @@ public class SceneMain_Qiyu_quest extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -68,38 +68,38 @@ public class SceneMain_Qiyu_quest extends BaseScene implements Scene {
 
         for (int i = 0; i < 4; i++) {
             ThreadUtil.sleep(1234);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9, new org.opencv.core.Point(-5, 20));
+            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, 0.9)) {
-                moveToClick(PathFinish, 0.9, new org.opencv.core.Point(-5, 20));
+            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, 0.9)) {
-            moveToClick(PathDailyJob, 0.9);
+        if (checkHas(PathDailyJob, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathDailyJob, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(3000);
             randomToClick();
         }
 
-        if (checkHas(PathList, 0.9)) {
-            moveToClick(PathList, 0.9);
+        if (checkHas(PathList, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathList, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
             //最多点4次
             for (int i = 0; i < 4; i++) {
-                if (checkHas(PathTake, 0.9)) {
-                    moveToClick(PathTake, 0.9);
+                if (checkHas(PathTake, AiManage.getInstance().getCheckPoint())) {
+                    moveToClick(PathTake, AiManage.getInstance().getCheckPoint());
                 }else {
-                    moveToClick(PathRefersh, 0.9);
+                    moveToClick(PathRefersh, AiManage.getInstance().getCheckPoint());
                 }
                 ThreadUtil.sleep(2000);
             }
-            moveToClick(PathListBack, 0.9);
+            moveToClick(PathListBack, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
         }
         getRecord().getData().setDone(true);

+ 49 - 38
src/main/java/com/sencorsta/rabs/obj/ai/scene/role/SceneMain_Role.java

@@ -42,7 +42,7 @@ public class SceneMain_Role extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -50,8 +50,8 @@ public class SceneMain_Role extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
         }
@@ -59,7 +59,7 @@ public class SceneMain_Role extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -70,110 +70,121 @@ public class SceneMain_Role extends BaseScene implements Scene {
         ThreadUtil.sleep(3000);
         for (int i = 0; i < 15; i++) {
             //拉到最左边
-            moveToDrop(PathDropPoint, 0.9, new Point(0, 100), new Point(-850, 100));
+            moveToDrop(PathDropPoint, AiManage.getInstance().getCheckPoint(), new Point(0, 100), new Point(-850, 100));
             ThreadUtil.sleep(100);
         }
         ThreadUtil.sleep(3000);
         //点击等级最低的角色
-        moveToClick(PathDropPoint,0.9,new Point(0, 100));
+        moveToClick(PathDropPoint, AiManage.getInstance().getCheckPoint(), new Point(0, 100));
         ThreadUtil.sleep(2000);
 
-        moveToClick(PathLevel,0.9);
+        moveToClick(PathLevel, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
-        while(!checkHas(PathCanLvup, 0.9)){
-            moveToHold(PathExp,0.9,new Point(0,0),10000);
+        while (!checkHas(PathCanLvup, AiManage.getInstance().getCheckPoint())) {
+            moveToHold(PathExp, AiManage.getInstance().getCheckPoint(), new Point(0, 0), 10000);
             ThreadUtil.sleep(2000);
         }
 
         //依次点击4个位置快速完成一遍
-        moveToClick(PathCanLvup,0.9,new Point(-130, -274));
+        moveToClick(PathCanLvup, AiManage.getInstance().getCheckPoint(), new Point(-130, -274));
         ThreadUtil.sleep(2000);
-        moveToClick(PathQuick,0.9);
+        moveToClick(PathQuick, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        moveToClick(PathTime3,0.9);
+        moveToClick(PathTime3, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        while(!checkHas(PathOver, 0.9)){
+        while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
+            if (checkHas(PathShop, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathShop, AiManage.getInstance().getCheckPoint());
+            }
             ThreadUtil.sleep(2000);
         }
         ThreadUtil.sleep(2000);
-        moveToClick(PathClose,0.9);
+        moveToClick(PathClose, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        moveToClick(PathClose,0.9);
+        moveToClick(PathClose, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
         //第二个位置
-        moveToClick(PathCanLvup,0.9,new Point(-46, -274));
+        moveToClick(PathCanLvup, AiManage.getInstance().getCheckPoint(), new Point(-46, -274));
         ThreadUtil.sleep(2000);
-        moveToClick(PathOb,0.9);
+        moveToClick(PathOb, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        moveToClick(PathTime30,0.9);
+        moveToClick(PathTime30, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        while(!checkHas(PathOver, 0.9)){
+        while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
+            if (checkHas(PathShop, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathShop, AiManage.getInstance().getCheckPoint());
+            }
             ThreadUtil.sleep(2000);
         }
         ThreadUtil.sleep(2000);
-        moveToClick(PathClose,0.9);
+        moveToClick(PathClose, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        moveToClick(PathClose,0.9);
+        moveToClick(PathClose, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
         //第三个位置
-        moveToClick(PathCanLvup,0.9,new Point(42, -274));
+        moveToClick(PathCanLvup, AiManage.getInstance().getCheckPoint(), new Point(42, -274));
         ThreadUtil.sleep(2000);
-        moveToClick(PathOb,0.9);
+        moveToClick(PathOb, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        moveToClick(PathTime30,0.9);
+        moveToClick(PathTime30, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        while(!checkHas(PathOver, 0.9)){
+        while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
+            if (checkHas(PathShop, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathShop, AiManage.getInstance().getCheckPoint());
+            }
             ThreadUtil.sleep(2000);
         }
         ThreadUtil.sleep(2000);
-        moveToClick(PathClose,0.9);
+        moveToClick(PathClose, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        moveToClick(PathClose,0.9);
+        moveToClick(PathClose, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
         //第四个位置
-        moveToClick(PathCanLvup,0.9,new Point(122, -274));
+        moveToClick(PathCanLvup, AiManage.getInstance().getCheckPoint(), new Point(122, -274));
         ThreadUtil.sleep(2000);
-        moveToClick(PathOb,0.9);
+        moveToClick(PathOb, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        moveToClick(PathTime30,0.9);
+        moveToClick(PathTime30, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        while(!checkHas(PathOver, 0.9)){
+        while (!checkHas(PathOver, AiManage.getInstance().getCheckPoint())) {
+            if (checkHas(PathShop, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathShop, AiManage.getInstance().getCheckPoint());
+            }
             ThreadUtil.sleep(2000);
         }
         ThreadUtil.sleep(2000);
-        moveToClick(PathClose,0.9);
+        moveToClick(PathClose, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
-        moveToClick(PathClose,0.9);
+        moveToClick(PathClose, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(2000);
 
 
-        moveToClick(PathCanLvup,0.9);
+        moveToClick(PathCanLvup, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(3000);
 
         randomToClick();
         ThreadUtil.sleep(3000);
 
-        moveToClick(PathSkill,0.9);
+        moveToClick(PathSkill, AiManage.getInstance().getCheckPoint());
         ThreadUtil.sleep(3000);
 
         //点3下技能
         for (int i = 0; i < 3; i++) {
-            moveToClick(PathSkillUp,0.9);
+            moveToClick(PathSkillUp, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(3000);
         }
         getRecord().getData().setDone(true);
         //关闭退出
-        moveToClick(PathBack2, 0.9);
+        moveToClick(PathBack2, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
 
     public boolean isDone() {
-        //return hasChildDone();
         return getRecord().getData().isDone();
     }
 

+ 114 - 0
src/main/java/com/sencorsta/rabs/obj/ai/scene/role/SceneMain_Role_SkillPoint.java

@@ -0,0 +1,114 @@
+package com.sencorsta.rabs.obj.ai.scene.role;
+
+import cn.hutool.core.thread.ThreadUtil;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.sencorsta.rabs.annotation.SceneAnnotation;
+import com.sencorsta.rabs.obj.ai.AiManage;
+import com.sencorsta.rabs.obj.ai.api.BaseScene;
+import com.sencorsta.rabs.obj.ai.api.Scene;
+import com.sencorsta.rabs.util.ResettableData;
+import org.opencv.core.Point;
+
+import java.awt.AWTException;
+
+/**
+ * 角色信息
+ */
+@SceneAnnotation("SceneMain")
+public class SceneMain_Role_SkillPoint extends BaseScene implements Scene {
+    @JsonIgnore
+    @Override
+    public float getPriority() {
+        return 3.1f;
+    }
+
+    private static String PathEnter = System.getProperty("user.dir") + "\\opencv\\scene\\role\\enter.png";
+    private static String PathCheck = System.getProperty("user.dir") + "\\opencv\\scene\\role\\check.png";
+    private static String PathBack = System.getProperty("user.dir") + "\\opencv\\scene\\role\\back.png";
+    private static String PathBack2 = System.getProperty("user.dir") + "\\opencv\\scene\\role\\back2.png";
+    private static String PathDropPoint = System.getProperty("user.dir") + "\\opencv\\scene\\role\\dropPoint.png";
+    private static String PathSkill = System.getProperty("user.dir") + "\\opencv\\scene\\role\\skill.png";
+    private static String PathLevel = System.getProperty("user.dir") + "\\opencv\\scene\\role\\level.png";
+    private static String PathGoGet = System.getProperty("user.dir") + "\\opencv\\scene\\role\\goGet.png";
+    private static String PathGet = System.getProperty("user.dir") + "\\opencv\\scene\\role\\get.png";
+    private static String PathSkillGet = System.getProperty("user.dir") + "\\opencv\\scene\\role\\skillGet.png";
+    private static String PathClose = System.getProperty("user.dir") + "\\opencv\\scene\\role\\close.png";
+    @Override
+    public void back() throws AWTException {
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
+    }
+
+    @Override
+    public void open() throws AWTException {
+        while (!check()) {
+            AiManage.getInstance().updateWindow();
+            ThreadUtil.sleep(2000);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
+                continue;
+            }
+        }
+    }
+
+    @Override
+    public boolean check() throws AWTException {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
+            return true;
+        }
+        return false;
+    }
+
+    @Override
+    public void think() throws AWTException {
+        ThreadUtil.sleep(3000);
+
+        //点击等级最低的角色
+        moveToClick(PathDropPoint, AiManage.getInstance().getCheckPoint(), new Point(0, 100));
+        ThreadUtil.sleep(2000);
+
+        moveToClick(PathLevel, AiManage.getInstance().getCheckPoint());
+        ThreadUtil.sleep(2000);
+
+        moveToClick(PathSkill, AiManage.getInstance().getCheckPoint());
+        ThreadUtil.sleep(2000);
+
+        moveToClick(PathGoGet, AiManage.getInstance().getCheckPoint());
+        ThreadUtil.sleep(2000);
+
+        for (int i = 0; i < 3; i++) {
+            if (checkHas(PathGet,AiManage.getInstance().getCheckPoint())){
+                moveToClick(PathGet,AiManage.getInstance().getCheckPoint());
+                ThreadUtil.sleep(2000);
+            }
+        }
+        moveToDrop(PathSkillGet,AiManage.getInstance().getCheckPoint(),new Point(0,300),new Point(0,80));
+        ThreadUtil.sleep(2000);
+        for (int i = 0; i < 2; i++) {
+            if (checkHas(PathGet,AiManage.getInstance().getCheckPoint())){
+                moveToClick(PathGet,AiManage.getInstance().getCheckPoint());
+                ThreadUtil.sleep(2000);
+            }
+        }
+
+        getRecord().getData().setDone(true);
+        //关闭退出
+        moveToClick(PathClose, AiManage.getInstance().getCheckPoint());
+        ThreadUtil.sleep(2000);
+
+        moveToClick(PathBack2, AiManage.getInstance().getCheckPoint());
+    }
+
+    @Override
+    public boolean isDone() {
+        return getRecord().getData().isDone();
+    }
+
+    /**
+     * 重置
+     */
+    @Override
+    public ResettableData.ResetType getType(){
+        return ResettableData.ResetType.HOUR_3;
+    }
+
+}

+ 13 - 13
src/main/java/com/sencorsta/rabs/obj/ai/scene/welfare/SceneMain_Welfare.java

@@ -33,7 +33,7 @@ public class SceneMain_Welfare extends BaseScene implements Scene {
 
     @Override
     public void back() throws AWTException {
-        moveToClick(PathBack, 0.9);
+        moveToClick(PathBack, AiManage.getInstance().getCheckPoint());
     }
 
     @Override
@@ -41,8 +41,8 @@ public class SceneMain_Welfare extends BaseScene implements Scene {
         while (!check()) {
             AiManage.getInstance().updateWindow();
             ThreadUtil.sleep(2000);
-            if (checkHas(PathEnter, 0.9)) {
-                moveToClick(PathEnter, 0.9);
+            if (checkHas(PathEnter, AiManage.getInstance().getCheckPoint())) {
+                moveToClick(PathEnter, AiManage.getInstance().getCheckPoint());
                 continue;
             }
         }
@@ -50,7 +50,7 @@ public class SceneMain_Welfare extends BaseScene implements Scene {
 
     @Override
     public boolean check() throws AWTException {
-        if (checkHas(PathCheck, 0.9)) {
+        if (checkHas(PathCheck, AiManage.getInstance().getCheckPoint())) {
             return true;
         }
         return false;
@@ -59,24 +59,24 @@ public class SceneMain_Welfare extends BaseScene implements Scene {
     @Override
     public void think() throws AWTException {
         ThreadUtil.sleep(1000);
-        moveToDrop(PathDown,0.9,new Point(0,-40),new Point(0,-250));
+        moveToDrop(PathDown,AiManage.getInstance().getCheckPoint(),new Point(0,-40),new Point(0,-250));
         ThreadUtil.sleep(5000);
-        if (checkHas(PathTatic_dark, 0.9)) {
-            moveToClick(PathTatic_dark, 0.9);
+        if (checkHas(PathTatic_dark, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathTatic_dark, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
         }
-        if (checkHas(PathTatic, 0.9)) {
-            moveToClick(PathTake, 0.9);
+        if (checkHas(PathTatic, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathTake, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
             randomToClick();
             ThreadUtil.sleep(2000);
         }
-        if (checkHas(PathCrest_dark, 0.9)) {
-            moveToClick(PathCrest_dark, 0.9);
+        if (checkHas(PathCrest_dark, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathCrest_dark, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
         }
-        if (checkHas(PathCrest, 0.9)) {
-            moveToClick(PathTake, 0.9);
+        if (checkHas(PathCrest, AiManage.getInstance().getCheckPoint())) {
+            moveToClick(PathTake, AiManage.getInstance().getCheckPoint());
             ThreadUtil.sleep(2000);
             randomToClick();
             ThreadUtil.sleep(2000);