diff --git a/libs/ui.js b/libs/ui.js index 658d42a5..7160ebf4 100644 --- a/libs/ui.js +++ b/libs/ui.js @@ -219,7 +219,7 @@ ui.prototype.drawText = function (contents, callback) { if (core.isset(contents)) { // 合并 - if (core.isset(core.status.event)&&core.status.event.id=='action') { + if ((core.isset(core.status.event)&&core.status.event.id=='action') || (core.isset(core.status.replay)&&core.status.replay.replaying)) { core.insertAction(contents,null,null,callback); return; } diff --git a/project/data.js b/project/data.js index b63f74fc..f1ffcbc6 100644 --- a/project/data.js +++ b/project/data.js @@ -135,7 +135,7 @@ data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = {"need": 40, "effect": function () { - core.drawText("恭喜升级!"); + core.insertAction("恭喜升级!"); core.status.hero.hp *= 2; core.status.hero.atk += 100; core.status.hero.def += 100;