战力:次级属性乘以武将等级而不是玩家等级

This commit is contained in:
luying
2022-04-26 15:35:25 +08:00
parent 9571e17348
commit c1b36d38b0
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -56,8 +56,9 @@ export class CalCe {
}
let result = new Map<number, number>();
for(let [hid, arr] of attrs) {
let lv = this.data.heroLv.get(hid)||1;
let obj = new AttributeCal();
obj.setLv(this.data.roleLv);
obj.setLv(lv);
obj.setByWarJson(arr);
let ce = obj.calCe();
this.resultCes.set(hid, ce);