From 41cab412c2e172d3b35f426cf442813b1146d0c8 Mon Sep 17 00:00:00 2001 From: mamengke01 <794347210@qq.com> Date: Fri, 15 Jan 2021 19:08:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=98=E5=9C=BA=E6=88=98=E5=8A=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/services/pvpService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-server/app/services/pvpService.ts b/game-server/app/services/pvpService.ts index d4adedece..b3058a390 100644 --- a/game-server/app/services/pvpService.ts +++ b/game-server/app/services/pvpService.ts @@ -508,7 +508,7 @@ export function getPlayerAttribute(ceAttr: CeAttr, globalCeAttr: CeAttrRole) { for(let attrName in newAttribute) { let { base, ratioUp, fixUp, equipUp } = ceAttr[attrName]; let { ratioUp: ratioUp2, fixUp: fixUp2 } = globalCeAttr[attrName]; - let result = base * ( 1 + ratioUp + ratioUp2) + fixUp + fixUp2 + equipUp; + let result = base * ( 100 + ratioUp + ratioUp2) + (fixUp + fixUp2 + equipUp) *100; newAttribute[attrName] += reduceCe(result); } newAttribute['speed'] = 0;