🐞 fix(巅峰演武): 战报显示等级改为玩家等级
This commit is contained in:
@@ -487,7 +487,7 @@ export async function generMyRecInfo(pvpDefense: PvpDefenseType, role: RoleType,
|
|||||||
}
|
}
|
||||||
|
|
||||||
let attackInfo = new PvpRecordPlayerInfo();
|
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 newAttack = <Attack>calLineupScore(attack, heroScores);
|
||||||
let newDefense = <Defense>calLineupScore(defense, heroScores);
|
let newDefense = <Defense>calLineupScore(defense, heroScores);
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ export class PvpRecordPlayerInfo {
|
|||||||
setByHistoryOpp(oppRole: PvpHistoryOppType, oppHeroRecords: HeroesRecord[], isSuccess: boolean, score: number, serverId: number) {
|
setByHistoryOpp(oppRole: PvpHistoryOppType, oppHeroRecords: HeroesRecord[], isSuccess: boolean, score: number, serverId: number) {
|
||||||
this.roleId = robotIdComBack(oppRole.oppRoleId);
|
this.roleId = robotIdComBack(oppRole.oppRoleId);
|
||||||
this.roleName = oppRole.roleName;
|
this.roleName = oppRole.roleName;
|
||||||
this.lv = oppRole.pLv;
|
this.lv = oppRole.lv;
|
||||||
this.head = oppRole.head;
|
this.head = oppRole.head;
|
||||||
this.frame = oppRole.frame;
|
this.frame = oppRole.frame;
|
||||||
this.spine = oppRole.spine;
|
this.spine = oppRole.spine;
|
||||||
|
|||||||
Reference in New Issue
Block a user