extraDamage

This commit is contained in:
oc 2019-04-14 13:16:12 +08:00
parent 12fe714703
commit bb0307fdeb

View File

@ -920,6 +920,7 @@ control.prototype.checkBlock = function () {
core.drawTip("受到"+(core.status.checkBlock.type[loc]||"伤害")+damage+"点");
this._checkBlock_soundAndAnimate(x, y);
this._checkBlock_disableQuickShop();
core.status.hero.statistics.extraDamage += damage;
if (core.status.hero.hp <= 0) {
core.status.hero.hp=0;
core.updateStatusBar();