feat:每步后自动清怪

This commit is contained in:
lizhuoyuan 2025-01-23 18:57:00 +08:00
parent 0636c0ee3f
commit ef27b9dbe5

View File

@ -1178,7 +1178,8 @@ control.prototype.checkBlock = function () {
if (currChase && currChase.length > 0) {
core.push(actions, { "type": "function", "async": true, "function": "function(){\ncore.battleWithChase();\n}" });
}
if (actions.length > 0) core.insertAction(actions);
if (actions.length > 0) core.insertAction(actions, x, y, core.plugin.autoClear);
else core.plugin.autoClear(); // 阻击结算后执行自动清怪
}
control.prototype._checkBlock_disableQuickShop = function () {