drawText & replay
This commit is contained in:
parent
184740e3cf
commit
ce0e80c4fa
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user