fix:被支援的怪不允许被自动清

This commit is contained in:
ShakeFlower 2025-09-06 22:24:02 +08:00
parent f76051769c
commit a44545d611

View File

@ -1962,6 +1962,12 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
// 有事件,不清 // 有事件,不清
if (hasEvent) return false; if (hasEvent) return false;
const cache = core.status.checkBlock.cache;
const hasGuards = has(cache) && has(cache[loc]) &&
has(cache[loc]["guards"]) && cache[loc]["guards"].length > 0; // 该敌人会被支援
if (hasGuards) return false;
// 有特定特殊属性的怪不清 // 有特定特殊属性的怪不清
if ( if (
core.hasSpecial(e.special, 12) || // 中毒 core.hasSpecial(e.special, 12) || // 中毒