From c279ccb4c359e5726165c88eb7f73640c1817582 Mon Sep 17 00:00:00 2001 From: mengyxu Date: Tue, 20 May 2025 14:48:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=99=AE=E9=80=9A=E5=89=AF?= =?UTF-8?q?=E6=9C=AC=E6=80=AA=E7=89=A9=E6=8B=A5=E6=9C=89=E6=9A=B4=E4=BC=A4?= =?UTF-8?q?=E5=87=8F=E5=85=8D=E5=B1=9E=E6=80=A7BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/beings.ts | 6 +++++- src/views/version/update-log.vue | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/config/beings.ts b/src/config/beings.ts index 71db175..2c8a679 100644 --- a/src/config/beings.ts +++ b/src/config/beings.ts @@ -102,7 +102,11 @@ export class Monster extends Attribute { this.difficulty = difficulty; this.df = base_attr_factor[this.difficulty]; this.ef = extra_factor[difficulty]; - this.lf = ((this.lv + layer - 1) / this.lv) ** 2; + if (layer == 0) { + this.lf = 1; + } else { + this.lf = ((this.lv + layer - 1) / this.lv) ** 2; + } this.callAtk(2.5); this.callHp(17); this.callCoins(11); diff --git a/src/views/version/update-log.vue b/src/views/version/update-log.vue index 383b06c..e213515 100644 --- a/src/views/version/update-log.vue +++ b/src/views/version/update-log.vue @@ -44,6 +44,9 @@ const updateLogs: any = [{ '基础属性增加ROLL值百分百显示', '新增Alt+左键快速锁定/解锁装备', ], + bug: [ + '修复普通副本怪物拥有暴伤减免属性BUG', + ] }, { date: '2025-05-19', version: '1.0', adjust: [