From 5633ccdc8c6bb8f87d9443ed3a47add6dd46423e Mon Sep 17 00:00:00 2001 From: lizhuoyuan <2820814112@qq.com> Date: Thu, 23 Jan 2025 19:02:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:1=E9=98=B2=E5=87=8F=E4=BC=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/enemys.js | 3 +-- libs/ui.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libs/enemys.js b/libs/enemys.js index 9de7695c..7f33bb84 100644 --- a/libs/enemys.js +++ b/libs/enemys.js @@ -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) { diff --git a/libs/ui.js b/libs/ui.js index 6bd62888..d2393190 100644 --- a/libs/ui.js +++ b/libs/ui.js @@ -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); }