diff --git a/shared/pubUtils/playerCe.ts b/shared/pubUtils/playerCe.ts index a2ca8ebde..f18fbbe55 100644 --- a/shared/pubUtils/playerCe.ts +++ b/shared/pubUtils/playerCe.ts @@ -913,7 +913,7 @@ async function reCalRoleAttr(heros: Array, ceAttr: CeAttrRole, type: n if (attrName == '_id') continue; let globalAttrData: CeAttrDataRole = reIncAttr[attrName] || new CeAttrDataRole(); for (let key in globalAttrData) { - ceAttr[attrName][key] += parseInt(globalAttrData[key] || 0); + ceAttr[attrName][key] = parseInt(globalAttrData[key] || 0); } } } \ No newline at end of file