Browse Source

修复普通副本怪物拥有暴伤减免属性BUG

v1.0
许孟阳 6 days ago
parent
commit
c279ccb4c3
  1. 6
      src/config/beings.ts
  2. 3
      src/views/version/update-log.vue

6
src/config/beings.ts

@ -102,7 +102,11 @@ export class Monster extends Attribute { @@ -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);

3
src/views/version/update-log.vue

@ -44,6 +44,9 @@ const updateLogs: any = [{ @@ -44,6 +44,9 @@ const updateLogs: any = [{
'基础属性增加ROLL值百分百显示',
'新增Alt+左键快速锁定/解锁装备',
],
bug: [
'修复普通副本怪物拥有暴伤减免属性BUG',
]
}, {
date: '2025-05-19', version: '1.0',
adjust: [

Loading…
Cancel
Save