Fix bool_e
This commit is contained in:
parent
e737d25cfe
commit
e0c4544b8c
@ -1083,6 +1083,7 @@ ActionParser.prototype.matchEvalAtom = function(args) {
|
|||||||
// 勾选框
|
// 勾选框
|
||||||
match = /^(true|false)$/.exec(args[0])
|
match = /^(true|false)$/.exec(args[0])
|
||||||
if(match){
|
if(match){
|
||||||
|
args[0]='true'==args[0];
|
||||||
return rt(MotaActionBlocks['bool_e'].xmlText, args);
|
return rt(MotaActionBlocks['bool_e'].xmlText, args);
|
||||||
}
|
}
|
||||||
// 怪物属性
|
// 怪物属性
|
||||||
|
|||||||
@ -15,10 +15,13 @@ function core() {
|
|||||||
'images': {},
|
'images': {},
|
||||||
'bgms': {},
|
'bgms': {},
|
||||||
'sounds': {},
|
'sounds': {},
|
||||||
'ground': null,
|
|
||||||
'items': {},
|
'items': {},
|
||||||
'enemys': {},
|
'enemys': {},
|
||||||
'icons': {},
|
'icons': {},
|
||||||
|
'ground': null,
|
||||||
|
'grundCanvas': null,
|
||||||
|
'groundPattern': null,
|
||||||
|
'autotileEdges': {},
|
||||||
}
|
}
|
||||||
this.timeout = {
|
this.timeout = {
|
||||||
'turnHeroTimeout': null,
|
'turnHeroTimeout': null,
|
||||||
|
|||||||
@ -176,13 +176,14 @@ loader.prototype._loadAutotiles_async = function (onprogress, onfinished) {
|
|||||||
|
|
||||||
loader.prototype._loadAutotiles_afterLoad = function (keys, autotiles) {
|
loader.prototype._loadAutotiles_afterLoad = function (keys, autotiles) {
|
||||||
// autotile需要保证顺序
|
// autotile需要保证顺序
|
||||||
keys.forEach(function (v) {
|
keys.forEach(function (v) {
|
||||||
core.material.images.autotile[v] = autotiles[v];
|
core.material.images.autotile[v] = autotiles[v];
|
||||||
});
|
});
|
||||||
|
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
core.maps._makeAutotileEdges();
|
core.maps._makeAutotileEdges();
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------ 加载额外素材 ------ //
|
// ------ 加载额外素材 ------ //
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user