演武台:boss挑战次数更新
This commit is contained in:
@@ -32,7 +32,7 @@ export async function getBossInstanceInfo(guildCode: string, roleId:string, user
|
||||
// 此处showParamObj一定要放在最前
|
||||
return { ...showParamObj, warId, ...rankInfo, bossHp, status, bossLv, encourageCnt, encourageMax: dicBossBase.encourageSum,...refObj };
|
||||
} else {
|
||||
return showParamObj;
|
||||
return { ...showParamObj, ...refObj };
|
||||
}
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ export function getRanks(ranks: {roleId: string; score: number; time: number; jo
|
||||
if (roleId == battleRoleId) {
|
||||
myRank = { roleId, score, rankLv: index + 1 };
|
||||
}
|
||||
return {roleId, score, rankLv: index + 1};
|
||||
return {roleId: battleRoleId, score, rankLv: index + 1};
|
||||
});
|
||||
return { ranks: lastRanks, myRank }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user