From aeeb73b5e4bfbfeb36815da95c467c351c97d516 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Thu, 20 Aug 2020 09:32:20 +0800 Subject: [PATCH] Fix canGoDeadZone of lockControl --- libs/maps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/maps.js b/libs/maps.js index f6ecd5df..a7b5a49b 100644 --- a/libs/maps.js +++ b/libs/maps.js @@ -592,7 +592,7 @@ maps.prototype._canMoveHero_checkPoint = function (x, y, direction, floorId, arr return false; // 3. 检查是否能进将死的领域 - if (floorId == core.status.floorId && !core.flags.canGoDeadZone && + if (floorId == core.status.floorId && !core.flags.canGoDeadZone && !core.status.lockControl && core.status.hero.hp <= (core.status.checkBlock.damage[nx + "," + ny]||0) && arrays.eventArray[ny][nx] == 0) return false;