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: [