战力:修复战力
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user