drawText & replay

This commit is contained in:
ckcz123 2018-03-10 18:48:31 +08:00
parent 184740e3cf
commit ce0e80c4fa
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;