This commit is contained in:
mamengke01
2020-12-31 11:11:27 +08:00
parent 98beb023a8
commit 7b76752e86
2 changed files with 5 additions and 3 deletions

View File

@@ -862,6 +862,7 @@ function calTitle(args: Array<number>, ceAttr: CeAttrRole) {
}
for (let attr of titleInfo.assiAttrValue) {
let attrName = getAtrrNameById(attr.id);
if (!attrName) continue;
res[attrName] = res[attrName] || { fixUp: ceAttr[attrName].fixUp, ratioUp: ceAttr[attrName].ratioUp };
res[attrName].ratioUp += attr.number * HERO_CE_RATIO;
}