From 3208c0c3da4d6d737586f458d006282e57ecfd52 Mon Sep 17 00:00:00 2001 From: luying Date: Fri, 27 Aug 2021 18:54:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=98=E5=8A=9B=EF=BC=9A=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E5=8A=A0=E6=88=90=E6=AD=A6=E5=B0=86=E6=88=98=E5=8A=9B=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/pubUtils/playerCe.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/pubUtils/playerCe.ts b/shared/pubUtils/playerCe.ts index dea9a8f61..07bf9f3c3 100644 --- a/shared/pubUtils/playerCe.ts +++ b/shared/pubUtils/playerCe.ts @@ -77,7 +77,7 @@ export async function reCalAllHeroCe(type: number, roleId: string, update: RoleU let incHeroCe = heroCe - hero.ce; allIncCe += incHeroCe; roleCe += heroCe; - pushHeros.push({ hid: hero.hid, ce: reduceCe(hero.ce + heroCe), incHeroCe: reduceCe(incHeroCe) }); + pushHeros.push({ hid: hero.hid, ce: reduceCe(heroCe), incHeroCe: reduceCe(incHeroCe) }); await HeroModel.updateHeroInfo(roleId, hero.hid, { ce: heroCe }); await PvpDefenseModel.updateCe(roleId, hero.hid, incHeroCe); // 更新pvp防守阵战力 }