战力:修复战力

This commit is contained in:
luying
2022-04-25 20:43:45 +08:00
parent 42f6db5de7
commit 76820cda0a

View File

@@ -23,7 +23,6 @@ export class CalCe {
public setRoleCe(roleCe: RoleCeType) {
this.data = new CalCeData(roleCe)
this.originCes = this.calHeroCe();
this.setRoleLv(roleCe.roleLv);
}
public getRoleCeTable() {
@@ -514,6 +513,7 @@ class CalCeData {
constructor(roleCe: RoleCeType) {
if(roleCe) {
this.roleLv = roleCe.roleLv;
for(let globalAttr of roleCe.globalAttrs) {
let obj = this.getGlobalAttrById(globalAttr.attrId);
obj.setByRoleCe(globalAttr);