forked from Fragrance/maquitous
fix: random music
This commit is contained in:
parent
0d27140dee
commit
249d815675
10
.settings.py
10
.settings.py
@ -1,17 +1,13 @@
|
|||||||
import random
|
import random
|
||||||
|
|
||||||
with open('music.json') as file:
|
|
||||||
music = json.load(file)
|
|
||||||
|
|
||||||
|
|
||||||
music_data = ({
|
music_data = ({
|
||||||
"musicId": music[random.randint(0, 500)],
|
"musicId": 11451,
|
||||||
"level": random.randint(0, 3),
|
"level": 0,
|
||||||
"playCount": random.randint(10, 20),
|
"playCount": random.randint(10, 20),
|
||||||
"achievement": random.randint(995000, 1000000),
|
"achievement": random.randint(995000, 1000000),
|
||||||
"comboStatus": random.randint(0, 2),
|
"comboStatus": random.randint(0, 2),
|
||||||
"syncStatus": 0,
|
"syncStatus": 0,
|
||||||
"deluxscoreMax": random.randint(1300, 1500),
|
"deluxscoreMax": random.randint(150, 200),
|
||||||
"scoreRank": 11,
|
"scoreRank": 11,
|
||||||
"extNum1": 0
|
"extNum1": 0
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user