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

This commit is contained in:
luying
2021-08-27 16:51:08 +08:00
parent a311990875
commit 124529bde6
+2 -2
View File
@@ -1119,8 +1119,8 @@ function calTeraphAssistAttr(role: RoleType, update: RoleUpdate, id: number) {
oldVal = dicOldTeraph.assiAttrValue.get(attrId); oldVal = dicOldTeraph.assiAttrValue.get(attrId);
} }
let ratioUp = val - oldVal; let fixUp = (val - oldVal) * HERO_CE_RATIO;
updateRoleAttr(roleAttrs, attrId, { inc: { ratioUp } }); updateRoleAttr(roleAttrs, attrId, { inc: { fixUp } });
}); });
return roleAttrs; return roleAttrs;
} }