名将擂台:初始刷新对手问题
This commit is contained in:
@@ -169,7 +169,7 @@ function randomRank(isBefore: boolean, myRank: number, range: number, len: numbe
|
||||
if(rand) {
|
||||
let ratio = isBefore? -1: 1;
|
||||
let rank = myRank + ratio * rand;
|
||||
if( rank > 3001) rank = 3001;
|
||||
if( rank > 3001) rank = 3002;
|
||||
arr.push(rank);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user