diff --git a/README.md b/README.md
index 634ab3a4..646ba1e8 100644
--- a/README.md
+++ b/README.md
@@ -58,6 +58,19 @@ HTML5 canvas制作的魔塔样板,支持全平台游戏!
## 更新说明
+### 2018.6.16 V2.3.1
+
+* [x] 存档采用高比率压缩,单个大小是原来的1/10!
+* [x] 默认存档数改成100页500个
+* [x] base64上传成绩,杜绝乱码
+* [x] 道具栏翻页
+* [x] 单击瞬移(菜单栏中开关)
+* [x] 重新补上E键打开光标
+* [x] 楼层属性增添地下层选项,同层传送至上楼梯
+* [x] core.debug()穿墙模式不能穿出地图
+* [x] core.values和core.flags也存入存档
+* [x] 修复所有已知bug
+
### 2018.5.27 V2.3
* [x] 启动服务和便捷PS工具(Mac版)
diff --git a/_server/blockly/MotaAction.g4 b/_server/blockly/MotaAction.g4
index 7b72897d..a010a7da 100644
--- a/_server/blockly/MotaAction.g4
+++ b/_server/blockly/MotaAction.g4
@@ -1491,8 +1491,10 @@ ActionParser.prototype.parseAction = function() {
break;
case "setFg": // 颜色渐变
if(this.isset(data.color)){
+ var alpha = data.color[3];
+ if (alpha==undefined || alpha==null) alpha=1;
this.next = MotaActionBlocks['setFg_0_s'].xmlText([
- data.color[0],data.color[1],data.color[2],data.color[3]||1,data.time||0,this.next]);
+ data.color[0],data.color[1],data.color[2],alpha,data.time||0,this.next]);
} else {
this.next = MotaActionBlocks['setFg_1_s'].xmlText([
data.time||0,this.next]);
diff --git a/_server/comment.js b/_server/comment.js
index 982153b9..858dcb03 100644
--- a/_server/comment.js
+++ b/_server/comment.js
@@ -307,6 +307,12 @@ comment_c456ea59_6018_45ef_8bcc_211a24c627dc =
"_type": "event",
"_event": "firstArrive",
"_data": "第一次到该楼层触发的事件,可以双击进入事件编辑器。"
+ },
+ "underGround": {
+ "_leaf": true,
+ "_type": "checkbox",
+ "_bool": "bool",
+ "_data": "是否是地下层;如果该项为true则同层传送将传送至上楼梯"
}
}
},
diff --git a/_server/data.comment.js b/_server/data.comment.js
index ca4084c6..bc9535d0 100644
--- a/_server/data.comment.js
+++ b/_server/data.comment.js
@@ -463,12 +463,14 @@ data_comment_c456ea59_6018_45ef_8bcc_211a24c627dc =
"_bool": "bool",
"_data": "剑和盾是否直接作为装备。如果此项为true,则作为装备,需要在道具栏使用,否则将直接加属性。"
},
+ /*
"enableDeleteItem": {
"_leaf": true,
"_type": "checkbox",
"_bool": "bool",
"_data": "是否允许删除(丢弃)道具"
},
+ */
"enableAddPoint": {
"_leaf": true,
"_type": "checkbox",
diff --git a/docs/api.md b/docs/api.md
index 5e2acf39..d1c43781 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -201,11 +201,11 @@ needEnable表示是否需要该点处于启用状态才返回,其值不设置
core.showBlock(x, y, floorId)
-将某个点从禁用变成启用状态
+将某个点从禁用变成启用状态。
core.removeBlock(x, y, floorId)
-将某个点删除或从禁用变成启用状态。
+将某个点删除或从启用变成禁用状态。
如果该点不存在自定义事件(比如普通的怪物),则将直接从地图中删除。
否则将该点设置为禁用,以供以后可能的启用事件。
diff --git a/index.html b/index.html
index e03830c3..0f69d24f 100644
--- a/index.html
+++ b/index.html
@@ -116,8 +116,9 @@
+
+
-