战力:修复bug

This commit is contained in:
luying
2021-08-14 13:45:53 +08:00
parent 231da09528
commit b118eebaed
4 changed files with 21 additions and 40 deletions
+1 -1
View File
@@ -556,7 +556,7 @@ export function getPlayerAttribute(heroAttrs: CeAttrData[] = [], roleAttrs: CeAt
export function getPlayerMainAttribute(heroAttrs: CeAttrData[], roleAttrs: CeAttrDataRole[]) {
let newAttribute = new AttributeCal();
newAttribute.setByDbData(roleAttrs, heroAttrs);
let mainAttributes = newAttribute.getReduceMainAttributes();
let mainAttributes = newAttribute.getReduceAttributes();
return mainAttributes;
}