diff --git a/project/floors/MT0.js b/project/floors/MT0.js index f98263f..73d1884 100644 --- a/project/floors/MT0.js +++ b/project/floors/MT0.js @@ -907,6 +907,11 @@ main.floors.MT0= "steps": [ "right:1" ] + }, + { + "type": "hide", + "remove": true, + "time": 0 } ] }, diff --git a/project/functions.js b/project/functions.js index a07c3a1..f770d70 100644 --- a/project/functions.js +++ b/project/functions.js @@ -326,12 +326,12 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = core.status.hero.exp += exp; core.status.hero.statistics.exp += exp; - var hint = "打败 " + core.getEnemyValue(enemy, "name", x, y); - if (core.flags.statusBarItems.indexOf('enableMoney') >= 0) - hint += ',' + core.getStatusLabel('money') + '+' + money; // hint += ",金币+" + money; - if (core.flags.statusBarItems.indexOf('enableExp') >= 0) - hint += ',' + core.getStatusLabel('exp') + '+' + exp; // hint += ",经验+" + exp; - if (!core.getFlag("isNoTip")) core.drawTip(hint, enemy.id); + var hint = "打败 " + core.getEnemyValue(enemy, "name", x, y); + if (core.flags.statusBarItems.indexOf('enableMoney') >= 0) + hint += ',' + core.getStatusLabel('money') + '+' + money; // hint += ",金币+" + money; + if (core.flags.statusBarItems.indexOf('enableExp') >= 0) + hint += ',' + core.getStatusLabel('exp') + '+' + exp; // hint += ",经验+" + exp; + if (!core.getFlag("isNoTip")) core.drawTip(hint, enemy.id); // 中毒 if (core.enemys.hasSpecial(special, 12)) { @@ -388,6 +388,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = core.push(todo, [{ "type": "insert", "name": "加点事件", "args": [point] }]); } + //等待动画执行完毕 + core.push(todo, [{ "type": "waitAsync" }]); // 战后事件 if (core.status.floorId != null) { core.push(todo, core.floors[core.status.floorId].afterBattle[x + "," + y]); diff --git a/project/plugins.js b/project/plugins.js index 2af42d9..de7841d 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -42,7 +42,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = if (clientWidth - 3 * BORDER >= core._PX_ + BAR_WIDTH || (clientWidth > clientHeight && horizontalMaxRatio < 1)) { core.domStyle.isVertical = false; core.clearMap('Vertical'); - } else { + } else if (core.status.played) { // 竖屏 core.domStyle.isVertical = true; core.createCanvas('Vertical', 0, 0, 480, 480, 200);