checkLvUp

This commit is contained in:
oc 2018-12-10 23:49:42 +08:00
parent fbacf6fe96
commit 553db5d1da

View File

@ -1827,8 +1827,9 @@ events.prototype.checkLvUp = function () {
if (core.status.hero.experience>=need) {
// 升级
core.status.hero.lv++;
core.insertAction(core.firstData.levelUp[core.status.hero.lv-1].action);
this.checkLvUp();
core.insertAction(core.firstData.levelUp[core.status.hero.lv-1].action, null, null, function() {
core.events.checkLvUp();
});
}
}