fix:1防减伤
This commit is contained in:
parent
ef27b9dbe5
commit
5633ccdc8c
@ -485,8 +485,7 @@ enemys.prototype._getCurrentEnemys_addEnemy = function (enemyId, enemys, used, x
|
|||||||
}
|
}
|
||||||
|
|
||||||
enemys.prototype._getCurrentEnemys_addEnemy_defDamage = function (enemy, x, y, floorId) {
|
enemys.prototype._getCurrentEnemys_addEnemy_defDamage = function (enemy, x, y, floorId) {
|
||||||
var ratio = core.status.maps[floorId || core.status.floorId].ratio || 1;
|
return this.getDefDamage(enemy, 1, x, y, floorId);
|
||||||
return this.getDefDamage(enemy, ratio, x, y, floorId);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
enemys.prototype._getCurrentEnemys_sort = function (enemys) {
|
enemys.prototype._getCurrentEnemys_sort = function (enemys) {
|
||||||
|
|||||||
@ -2319,7 +2319,7 @@ ui.prototype._drawBook_drawRow3 = function (index, enemy, top, left, width, posi
|
|||||||
core.fillText('ui', core.formatBigNumber(enemy.critical || 0), col1 + 30, position, null, b13);
|
core.fillText('ui', core.formatBigNumber(enemy.critical || 0), col1 + 30, position, null, b13);
|
||||||
core.fillText('ui', '减伤', col2, position, null, f13);
|
core.fillText('ui', '减伤', col2, position, null, f13);
|
||||||
core.fillText('ui', core.formatBigNumber(enemy.criticalDamage || 0), col2 + 30, position, null, b13);
|
core.fillText('ui', core.formatBigNumber(enemy.criticalDamage || 0), col2 + 30, position, null, b13);
|
||||||
core.fillText('ui', '加防', col3, position, null, f13);
|
core.fillText('ui', '1防', col3, position, null, f13);
|
||||||
core.fillText('ui', core.formatBigNumber(enemy.defDamage || 0), col3 + 30, position, null, b13);
|
core.fillText('ui', core.formatBigNumber(enemy.defDamage || 0), col3 + 30, position, null, b13);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user