🐞 fix(gvg): 遗迹排行榜奖励匹配问题
This commit is contained in:
@@ -1210,7 +1210,7 @@ export function getGVGVestigeLeagueRank(myLeagueRank: number) {
|
||||
for(let dic of gameData.gvgVestigeLeagueRank) {
|
||||
lastRank = dic;
|
||||
let { rankMin, rankMax } = dic;
|
||||
if(rankMin <= myLeagueRank && (rankMax >= myLeagueRank || rankMax == 0)) {
|
||||
if(rankMin <= myLeagueRank && (rankMax > myLeagueRank || rankMax == 0)) {
|
||||
return dic;
|
||||
}
|
||||
}
|
||||
@@ -1222,7 +1222,7 @@ export function getGVGVestigePlayerRank(myRank: number) {
|
||||
for(let dic of gameData.gvgVestigePlayerRank) {
|
||||
lastRank = dic;
|
||||
let { rankMin, rankMax } = dic;
|
||||
if(rankMin <= myRank && (rankMax >= myRank || rankMax == 0)) {
|
||||
if(rankMin <= myRank && (rankMax > myRank || rankMax == 0)) {
|
||||
return dic;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user