神像:次级属性战力计算进fixUp

This commit is contained in:
luying
2021-08-27 16:51:02 +08:00
parent a311990875
commit 124529bde6

View File

@@ -1119,8 +1119,8 @@ function calTeraphAssistAttr(role: RoleType, update: RoleUpdate, id: number) {
oldVal = dicOldTeraph.assiAttrValue.get(attrId);
}
let ratioUp = val - oldVal;
updateRoleAttr(roleAttrs, attrId, { inc: { ratioUp } });
let fixUp = (val - oldVal) * HERO_CE_RATIO;
updateRoleAttr(roleAttrs, attrId, { inc: { fixUp } });
});
return roleAttrs;
}