弹出礼包:pvp改为挑战次数
This commit is contained in:
@@ -131,7 +131,7 @@ export class PopUpShopHandler {
|
||||
newLv: param||100,
|
||||
quality: param||3,
|
||||
warId: param||128,
|
||||
score: param||10,
|
||||
seasonWinNum: param||10,
|
||||
equipStar: param||10
|
||||
});
|
||||
|
||||
|
||||
@@ -276,7 +276,7 @@ export class PvpHandler {
|
||||
let myRank = await r.getMyRank({ roleId });
|
||||
result.setMyRank(myRank);
|
||||
|
||||
await checkTaskInPvpEnd(serverId, roleId, sid, isSuccess, pvpDefense.heroScores, pvpDefense.score);
|
||||
await checkTaskInPvpEnd(serverId, roleId, sid, isSuccess, pvpDefense.heroScores, pvpDefense.seasonWinNum);
|
||||
if(hisWinStreakNum < pvpDefense.hisWinStreakNum) {
|
||||
await unlockFigure(sid, roleId, [{ type: FIGURE_UNLOCK_CONDITION.PVP_WIN_SERIES, paramWinStreakNum: pvpDefense.hisWinStreakNum }]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user