diff --git a/assets/maps/custom/level178.json b/assets/maps/custom/level178.json index 6d06e0f..2b151ec 100644 --- a/assets/maps/custom/level178.json +++ b/assets/maps/custom/level178.json @@ -1797,7 +1797,8 @@ "skill": 0, "colors": 2, "type": "guard", - "direction": 1 + "direction": 1, + "sneak": true }, { "room": 6, @@ -1813,7 +1814,8 @@ "skill": 4, "colors": 4, "type": "guard", - "direction": 1 + "direction": 1, + "sneak": true }, { "room": 13, @@ -1821,7 +1823,8 @@ "skill": 6, "colors": 4, "type": "guard", - "direction": 1 + "direction": 1, + "bias": 1 }, { "room": 11, diff --git a/src/Fighter.js b/src/Fighter.js index e888df1..1272203 100644 --- a/src/Fighter.js +++ b/src/Fighter.js @@ -1321,7 +1321,7 @@ PrinceJS.Fighter.prototype.moveL = function (extended = true) { }; PrinceJS.Fighter.prototype.sneaks = function () { - return ["stand", "turn"].includes(this.action) || this.action.startsWith("step"); + return ["stoop", "stand", "standup", "turn", "jumphanglong", "hang", "climbup", "climbdown"].includes(this.action) || this.action.startsWith("step"); }; PrinceJS.Fighter.prototype.getCharBounds = function () {