好友:武将详情

This commit is contained in:
luying
2022-02-18 11:30:42 +08:00
parent 13ad1c1f19
commit 2773d1d9db
5 changed files with 129 additions and 20 deletions
+1 -1
View File
@@ -395,7 +395,7 @@ export function getPlayerAttribute(lv: number, heroAttrs: CeAttrData[] = [], rol
export function getPlayerMainAttribute(heroAttrs: CeAttrData[], roleAttrs: CeAttrDataRole[]) {
let newAttribute = new AttributeCal();
newAttribute.setByDbData(roleAttrs, heroAttrs);
let mainAttributes = newAttribute.getReduceAttributes();
let mainAttributes = newAttribute.getReduceMainAttributes();
return mainAttributes;
}