|
|
|
@ -285,8 +285,9 @@ public class Task_自动野怪 extends BaseTask {
|
|
|
|
|
macro.matchLegendAndClick("野外_攻击平均配置", 0.9);
|
|
|
|
|
macro.delay(1000);
|
|
|
|
|
|
|
|
|
|
boolean 体力不足 = macro.hasColor(macro.of(405, 899, 427, 915), "#f43b3b", "#4fa5fc", "#c83134", "#e63739", "#963342", "#f33b3b");
|
|
|
|
|
boolean 体力不足 = macro.hasColor(macro.of(405, 899, 427, 915), "#f43b3b");
|
|
|
|
|
if (体力不足) {
|
|
|
|
|
Logger.info("体力不足,取消");
|
|
|
|
|
macro.matchLegendAndClick("自动野怪_返回", 0.9);
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|