This commit is contained in:
ckcz123 2019-10-22 21:51:19 +08:00
parent fe6e331fb0
commit cbb2a27f01
2 changed files with 2 additions and 2 deletions

View File

@ -2879,7 +2879,7 @@ ActionParser.prototype.parse = function (obj,type) {
var text_choices = null;
for(var ii=obj.choices.length-1,choice;choice=obj.choices[ii];ii--) {
text_choices = MotaActionBlocks['shopItemChoices'].xmlText([
choice.id, choice.count, choice.money, choice.sell == null ? "" : (""+choice.sell),
choice.id, choice.number, choice.money, choice.sell == null ? "" : (""+choice.sell),
text_choices
]);
}

View File

@ -54,7 +54,7 @@ editor_blockly = function () {
"item": true,
"textInList": "道具商店",
"choices": [
{"id": "yellowKey", "count": 10, "money": 10}
{"id": "yellowKey", "number": 10, "money": 10}
]
},{
"id": "keyShop1",