From 4dc01bb07ef4adfe66dd3ae4006e946e30265f98 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Sat, 7 Aug 2021 11:30:23 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20from=20=E7=A7=8B=E6=A9=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/functions.js b/project/functions.js index 6451b73a..49971abb 100644 --- a/project/functions.js +++ b/project/functions.js @@ -1325,7 +1325,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = if (rnx < 0 || rnx >= width || rny < 0 || rny >= height) continue; // 如需禁止阻击被推到已隐藏的事件处(如重生怪处),可将这一句的false改为true if (core.getBlock(rnx, rny, floorId, false) != null) continue; - if (core.utils.scan[rdir] && core.canMoveHero(x, y, rdir, floorId)) continue; + if (core.utils.scan[rdir] && !core.canMoveHero(x, y, rdir, floorId)) continue; repulse[currloc] = (repulse[currloc] || []).concat([ [x, y, id, rdir] ]);