军团:每周结算修复

This commit is contained in:
luying
2022-05-09 15:45:30 +08:00
parent 1498950478
commit 3ac8df5725
3 changed files with 3 additions and 3 deletions

View File

@@ -503,7 +503,7 @@ export function getTrainBaseByLv(lv: number) {
export function getGuildActiveWeekReward(rank: number) {
let result = gameData.guildActiveWeekReward.find(cur => {
let { rankMax, rankMin } = cur;
return rank >= rankMin && rank <= (rankMax || rankMax == -1);
return rank >= rankMin && (rank <= rankMax || rankMax == -1);
});
let reward = new Array<RewardInter>();
if (result) reward = result.reward;