pvp:巅峰之路

This commit is contained in:
luying
2022-05-25 10:03:53 +08:00
parent eec9de2fc6
commit 79293c5a4a
2 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -387,7 +387,7 @@ export function getRobotAttribute(hid: number, posRatio: number, score: number)
// 获取我方战报记录
export async function generMyRecInfo(pvpDefense: PvpDefenseType, role: RoleType, isSuccess: boolean, pos: number, myHeroes: pvpEndParamInter[]) {
let { attack, defense, heroScores, winStreakNum, hisWinStreakNum = 0, score, hisScore, seasonWinNum } = pvpDefense;
let { attack, defense, heroScores, winStreakNum, hisWinStreakNum = 0, score, hisScore, seasonWinNum = 0 } = pvpDefense;
let { roleId } = role;
if (isSuccess) {
winStreakNum ++;