From a1ae2577c91c5e0b21c9bdb1fc5fdec4d57bf0c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E8=B0=B7=E5=89=91=E4=BB=99?= Date: Fri, 2 Sep 2022 21:25:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E7=94=9F=E6=88=90=E7=89=88?= =?UTF-8?q?=E9=9D=A2=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script-skill-parser.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/script-skill-parser.js b/script-skill-parser.js index b41bf20d..78c94fd7 100644 --- a/script-skill-parser.js +++ b/script-skill-parser.js @@ -283,8 +283,18 @@ class Board2 } } //生成版面状态 - generateBlockStates(blockState, count = 1, size = [1,1], position = [1,1]) + generateBlockStates(blockState, count = 1, size = [1,1], position = [0, 0]) { + for (let i=0; i