Skip to content

Commit

Permalink
Unblock level 178
Browse files Browse the repository at this point in the history
  • Loading branch information
oklemenz committed May 5, 2022
1 parent aba7a86 commit 17a578a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions assets/maps/custom/level178.json
Original file line number Diff line number Diff line change
Expand Up @@ -1797,7 +1797,8 @@
"skill": 0,
"colors": 2,
"type": "guard",
"direction": 1
"direction": 1,
"sneak": true
},
{
"room": 6,
Expand All @@ -1813,15 +1814,17 @@
"skill": 4,
"colors": 4,
"type": "guard",
"direction": 1
"direction": 1,
"sneak": true
},
{
"room": 13,
"location": 5,
"skill": 6,
"colors": 4,
"type": "guard",
"direction": 1
"direction": 1,
"bias": 1
},
{
"room": 11,
Expand Down
2 changes: 1 addition & 1 deletion src/Fighter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit 17a578a

Please sign in to comment.