From 80db5718d5e6acaf59acdbbb305f2c02460c24c2 Mon Sep 17 00:00:00 2001 From: mengyxu Date: Mon, 12 May 2025 10:36:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E4=BD=8E=E4=BC=A4=E5=AE=B3=E5=8A=A0?= =?UTF-8?q?=E6=88=90=E6=95=B0=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/equips/constant.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config/equips/constant.ts b/src/config/equips/constant.ts index 5320876..2184aad 100644 --- a/src/config/equips/constant.ts +++ b/src/config/equips/constant.ts @@ -111,9 +111,9 @@ export const entry_initor = { }, dmgPercent: (lv: number, qualityCoefficient: number, valCoefficient?: number) => { valCoefficient = valCoefficient || 1; - const value = Math.round(((Math.random() + 1) * lv * 0.08 + 3) * valCoefficient * qualityCoefficient) || 1; - const max = Math.round((lv * 0.16 + 3) * valCoefficient * qualityCoefficient) || 1; - const min = Math.round((lv * 0.08 + 3) * valCoefficient * qualityCoefficient) || 1; + const value = Math.round(((Math.random() + 1) * lv * 0.05 + 3) * valCoefficient * qualityCoefficient) || 1; + const max = Math.round((lv * 0.1 + 3) * valCoefficient * qualityCoefficient) || 1; + const min = Math.round((lv * 0.05 + 3) * valCoefficient * qualityCoefficient) || 1; return new Entry('dmgPercent', value, '+' + value + '%', max, min); }, dmgReduc: (lv: number, qualityCoefficient: number) => {