fix:1防减伤

This commit is contained in:
lizhuoyuan 2025-01-23 19:02:02 +08:00
parent ef27b9dbe5
commit 5633ccdc8c
2 changed files with 2 additions and 3 deletions

View File

@ -485,8 +485,7 @@ enemys.prototype._getCurrentEnemys_addEnemy = function (enemyId, enemys, used, x
}
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, ratio, x, y, floorId);
return this.getDefDamage(enemy, 1, x, y, floorId);
}
enemys.prototype._getCurrentEnemys_sort = function (enemys) {

View File

@ -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', '减伤', col2, position, null, f13);
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);
}