战力:次级属性乘以武将等级而不是玩家等级
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user