From e0be478febde88535e4c0f16c79fde20853c8a16 Mon Sep 17 00:00:00 2001 From: mengyxu Date: Sun, 27 Apr 2025 15:43:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=8D=E4=BD=8E=E6=8A=A4=E7=94=B2=E5=87=8F?= =?UTF-8?q?=E4=BC=A4=E6=94=B6=E7=9B=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tool/caller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tool/caller.ts b/src/tool/caller.ts index ecfdeb6..fc7aa61 100644 --- a/src/tool/caller.ts +++ b/src/tool/caller.ts @@ -66,7 +66,7 @@ export const callPlayerAttribute = (playerAttribute: any, rA: any) => { attribute.dps = Math.ceil((1 - crit + crit * critdmg) * atk); //计算减伤比例 // attribute.def = 500; - attribute.reducPercent = (0.5 * attribute.def) / (35 + 0.55 * attribute.def) + (0.09 * attribute.def) / (attribute.def + 200); + attribute.reducPercent = attribute.def / (200 + 1.1 * attribute.def) + (0.09 * attribute.def) / (attribute.def + 200); // attribute.reducPercent = (0.5 * attribute.def) / (200 + 0.502 * attribute.def); return attribute; };