🐞 fix(巅峰演武): 战报显示等级改为玩家等级

This commit is contained in:
luying
2023-05-23 20:15:13 +08:00
parent 6543d74555
commit 4849cde229
2 changed files with 2 additions and 2 deletions

View File

@@ -487,7 +487,7 @@ export async function generMyRecInfo(pvpDefense: PvpDefenseType, role: RoleType,
}
let attackInfo = new PvpRecordPlayerInfo();
attackInfo.setByRole(role, myHeroRecords, isSuccess, isSuccess ? addSumScore : 0, attack.pLv);
attackInfo.setByRole(role, myHeroRecords, isSuccess, isSuccess ? addSumScore : 0, role.lv);
let newAttack = <Attack>calLineupScore(attack, heroScores);
let newDefense = <Defense>calLineupScore(defense, heroScores);

View File

@@ -100,7 +100,7 @@ export class PvpRecordPlayerInfo {
setByHistoryOpp(oppRole: PvpHistoryOppType, oppHeroRecords: HeroesRecord[], isSuccess: boolean, score: number, serverId: number) {
this.roleId = robotIdComBack(oppRole.oppRoleId);
this.roleName = oppRole.roleName;
this.lv = oppRole.pLv;
this.lv = oppRole.lv;
this.head = oppRole.head;
this.frame = oppRole.frame;
this.spine = oppRole.spine;