From 34eaa5403dac3943e31f490283e65aa6e9cbb943 Mon Sep 17 00:00:00 2001 From: bdf1 Date: Sat, 8 Jul 2023 23:18:05 +1000 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8E=BB=E9=99=A4=E5=B0=8F=E5=AD=A6?= =?UTF-8?q?=E7=AC=AC=E4=BA=8C=E5=8C=BA=E7=9A=84=E5=BF=85=E7=94=A8=E7=A0=B4?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/floors/MT44.js | 24 +++++++++++++++++++++++- project/floors/MT45.js | 22 ++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) diff --git a/project/floors/MT44.js b/project/floors/MT44.js index 86be763..6d51b76 100644 --- a/project/floors/MT44.js +++ b/project/floors/MT44.js @@ -59,6 +59,28 @@ main.floors.MT44= "type": "hide", "remove": true } + ], + "2,7": [ + { + "type": "if", + "condition": "(core.status.hero.loc.x>=2)", + "true": [ + { + "type": "openDoor" + } + ] + } + ], + "2,8": [ + { + "type": "if", + "condition": "(core.status.hero.loc.x>=2)", + "true": [ + { + "type": "openDoor" + } + ] + } ] }, "changeFloor": { @@ -199,7 +221,7 @@ main.floors.MT44= [ 1, 0, 1, 21, 21, 1, 0, 0, 0, 1,768,768, 1], [ 1, 0, 1, 21, 0, 86, 0, 0, 0, 86, 0,768, 1], [ 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1], - [ 1, 0, 1, 47, 0, 1, 0, 0, 0, 1,769,769, 1], + [ 1, 0, 1, 0, 0, 1, 0, 0, 0, 1,769,769, 1], [ 1, 0, 1, 0, 0, 86, 0, 0, 0, 86, 0,769, 1], [ 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1], [ 1, 0, 1,772,772, 1, 0, 0, 0, 1, 0, 89, 1], diff --git a/project/floors/MT45.js b/project/floors/MT45.js index c18d33d..c5a0eb1 100644 --- a/project/floors/MT45.js +++ b/project/floors/MT45.js @@ -46,6 +46,28 @@ main.floors.MT45= ], "remove": true }, + { + "type": "setBlockOpacity", + "loc": [ + [ + 2, + 7 + ] + ], + "floorId": "MT44", + "opacity": 0.5 + }, + { + "type": "setBlockOpacity", + "loc": [ + [ + 2, + 8 + ] + ], + "floorId": "MT44", + "opacity": 0.5 + }, { "type": "changeFloor", "floorId": "MT44",