Compare commits
2 Commits
d6e41758f9
...
053ab1ab23
Author | SHA1 | Date | |
---|---|---|---|
![]() |
053ab1ab23 | ||
![]() |
07fa117614 |
@ -115,7 +115,7 @@ export class PublicShared {
|
|||||||
* 随机生成区间范围整数
|
* 随机生成区间范围整数
|
||||||
*/
|
*/
|
||||||
static randomNum(min: number, max: number) {
|
static randomNum(min: number, max: number) {
|
||||||
return Math.floor(Math.random() * (max - min) + min);
|
return Math.floor(Math.random() * (max - min + 1) + min);
|
||||||
}
|
}
|
||||||
/**获取道具配置 */
|
/**获取道具配置 */
|
||||||
static getAtnConf(atn: prizeType) {
|
static getAtnConf(atn: prizeType) {
|
||||||
|
Loading…
Reference in New Issue
Block a user