diff --git a/README.md b/README.md
index cfc384fe..d2498933 100644
--- a/README.md
+++ b/README.md
@@ -321,4 +321,6 @@ HTML5魔塔交流群群号: `539113091`
[@fux4](https://github.com/fux4) 打通了RM和H5之间的障壁(从而使RM动画导出器和怪物数据导出器成为可能),同时也是部分新功能(如跳跃、跟随、画面震动)等的编写者。
+[@tocque](https://github.com/tocque) 装备栏的编写者。
+
以及[百度贴吧魔塔吧](https://tieba.baidu.com/f?kw=%E9%AD%94%E5%A1%94)和H5魔塔交流群`539113091`内的诸位魔塔爱好者们对本样板的大力支持!
diff --git a/_server/README.md b/_server/README.md
index 2d6a8d08..374db923 100644
--- a/_server/README.md
+++ b/_server/README.md
@@ -70,7 +70,7 @@ editor.file.editFunctions(["change","['events']['afterChangeLight']","function(x
生成表格并绑定事件的函数
```javascript
editor.mode.loc();
-editor.mode.emenyitem();
+editor.mode.enemyitem();
editor.mode.floor();
editor.mode.tower();
editor.mode.functions();
@@ -83,7 +83,7 @@ editor.mode.onmode('save');//保存
editor.mode.onmode('nextChange');//下次onmode时前端进行切换
editor.mode.onmode('loc');
-editor.mode.onmode('emenyitem');
+editor.mode.onmode('enemyitem');
editor.mode.onmode('floor');
editor.mode.onmode('tower');
editor.mode.onmode('functions');
diff --git a/_server/comment.js b/_server/comment.js
index 9f7bb124..0621926b 100644
--- a/_server/comment.js
+++ b/_server/comment.js
@@ -23,7 +23,7 @@ comment_c456ea59_6018_45ef_8bcc_211a24c627dc =
"equips"
]
},
- "_data": "只能取keys(钥匙) items(宝石、血瓶) constants(永久物品) tools(消耗道具) equip(装备)"
+ "_data": "只能取keys(钥匙) items(宝石、血瓶) constants(永久物品) tools(消耗道具) equips(装备)"
},
"name": {
"_leaf": true,
@@ -38,36 +38,9 @@ comment_c456ea59_6018_45ef_8bcc_211a24c627dc =
"_data": "道具在道具栏中显示的描述"
},
"equip": {
- "_leaf": false,
- "_type": "object",
- "_data": {
- "type": {
- "_leaf": true,
- "_type": "textarea",
- "_data": "如果是装备,其类别,与equipName按顺序对应(从0开始)"
- },
- "atk": {
- "_leaf": true,
- "_type": "textarea",
- "_data": "如果是装备,其增加的攻击数值"
- },
- "def": {
- "_leaf": true,
- "_type": "textarea",
- "_data": "如果是装备,其增加的防御数值"
- },
- "mdef": {
- "_leaf": true,
- "_type": "textarea",
- "_data": "如果是装备,其增加的魔防数值"
- },
- "animate": {
- "_leaf": true,
- "_type": "textarea",
- "_string": true,
- "_data": "如果是装备,其攻击动画,仅对type为0的装备有效"
- }
- }
+ "_leaf": true,
+ "_type": "textarea",
+ "_data": "装备属性设置,仅对cls为equips有效。\n如果此项不为null,需要是一个对象,里面可含\"type\",\"atk\",\"def\",\"mdef\",\"animate\"五项,分别对应装备部位、攻防魔防和动画。\n具体详见文档和已有的几个装备的写法。"
},
}
},
diff --git a/_server/editor.js b/_server/editor.js
index 07741e42..6b53043a 100644
--- a/_server/editor.js
+++ b/_server/editor.js
@@ -709,8 +709,8 @@ editor.prototype.listen = function () {
}
tip.infos = JSON.parse(JSON.stringify(editor.info));
editor_mode.onmode('nextChange');
- editor_mode.onmode('emenyitem');
- //editor_mode.emenyitem();
+ editor_mode.onmode('enemyitem');
+ //editor_mode.enemyitem();
}
}
}
@@ -779,7 +779,7 @@ editor.prototype.listen = function () {
dataSelection.style.height = ysize - 6 + 'px';
tip.infos = JSON.parse(JSON.stringify(editor.info));
editor_mode.onmode('nextChange');
- editor_mode.onmode('emenyitem');
+ editor_mode.onmode('enemyitem');
}
var fields = Object.keys(editor.file.comment._data.floors._data.loc._data);
diff --git a/_server/editor_mode.js b/_server/editor_mode.js
index 47ddbd94..3fe44261 100644
--- a/_server/editor_mode.js
+++ b/_server/editor_mode.js
@@ -4,7 +4,7 @@ editor_mode = function (editor) {
function editor_mode() {
this.ids = {
'loc': 'left2',
- 'emenyitem': 'left3',
+ 'enemyitem': 'left3',
'floor': 'left4',
'tower': 'left5',
'functions': 'left8',
@@ -208,7 +208,7 @@ editor_mode = function (editor) {
editor.drawEventBlock();
});
break;
- case 'emenyitem':
+ case 'enemyitem':
if (editor_mode.info.images == 'enemys' || editor_mode.info.images == 'enemy48') {
editor.file.editEnemy(editor_mode.info.id, actionList, function (objs_) {/*console.log(objs_);*/
@@ -310,7 +310,7 @@ editor_mode = function (editor) {
if (Boolean(callback)) callback();
}
- editor_mode.prototype.emenyitem = function (callback) {
+ editor_mode.prototype.enemyitem = function (callback) {
//editor.info=editor.ids[editor.indexs[201]];
if (!core.isset(editor.info)) return;
diff --git a/editor-mobile.html b/editor-mobile.html
index 5d5a7d8b..9a2b55ea 100644
--- a/editor-mobile.html
+++ b/editor-mobile.html
@@ -88,7 +88,7 @@
-
+
@@ -264,7 +264,7 @@
-
+
@@ -236,7 +236,7 @@