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防守阵战力 }