From bd3a90ea4911836a083e3b0e1c81f9f3811ebdd6 Mon Sep 17 00:00:00 2001 From: limqhz <540344226@qq.com> Date: Fri, 22 Sep 2023 16:30:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=85=BC=E5=AE=B9=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/itplh/hero/dwonline/BaseAction.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/itplh/hero/dwonline/BaseAction.java b/src/main/java/com/itplh/hero/dwonline/BaseAction.java index aaf11de..741c5df 100644 --- a/src/main/java/com/itplh/hero/dwonline/BaseAction.java +++ b/src/main/java/com/itplh/hero/dwonline/BaseAction.java @@ -47,7 +47,7 @@ public class BaseAction { } private void sendNewRequest(String cmdStr, FindType type) throws InterruptedException { - Thread.sleep(800); + Thread.sleep(1800); String next = ""; if (type == FindType.ALL){ next = target.get(cmdStr); @@ -91,7 +91,7 @@ public class BaseAction { } private void fight() throws InterruptedException { - if (!target.containsKey("雁翎刀法")){ + if (!target.containsKey("普通攻击")){ return; } while (!"战斗已经结束!".equals(currentMsg)){ @@ -101,10 +101,10 @@ public class BaseAction { if (currentMsg.contains("九霄美狐临死前说")){ break; } - if (target.containsKey("雁翎刀法")){ - String next = target.get("雁翎刀法"); + if (target.containsKey("普通攻击")){ + String next = target.get("普通攻击"); if (next != null) { - sendNewRequest("雁翎刀法",FindType.ALL); + sendNewRequest("普通攻击",FindType.ALL); } } } @@ -124,7 +124,7 @@ public class BaseAction { String [] needThings = new String[]{ "山谷灵芝","毒蛇胆","食人怪鱼鱼鳞","食人谷","魄力丹","蛇筋","马","训练书","必杀技","冰珠","冰魄珠","太尉秘图","龙鳞","大白菜", - "牛皮","好汉印","仙","负重","魂","星光","黑狼毛","虎骨","黄金虎骨" + "牛皮","好汉印","仙","负重","魂","星光","黑狼毛","虎骨","黄金虎骨","血印","赤霄","好汉" }; }