mirror of
https://github.com/baiqwerdvd/ArknightsUID.git
synced 2025-05-05 03:23:45 +08:00
更新一下卡池
This commit is contained in:
parent
6a6e8bbfb0
commit
b78d10a7c0
@ -52,7 +52,7 @@ async def gacha(uid: str):
|
|||||||
with open(cur_path / Path(f"{uid}.json"), "r") as f:
|
with open(cur_path / Path(f"{uid}.json"), "r") as f:
|
||||||
data = json.load(f)
|
data = json.load(f)
|
||||||
data = convert(data["data"], PlayerDataDetail)
|
data = convert(data["data"], PlayerDataDetail)
|
||||||
char_get = await testTenAdvancedGacha("SINGLE_45_0_7", data, 0)
|
char_get = await testTenAdvancedGacha("CLASSIC_48_0_2", data, 0)
|
||||||
with open(cur_path / Path(f"{uid}.json"), "w") as f:
|
with open(cur_path / Path(f"{uid}.json"), "w") as f:
|
||||||
json.dump({"uid": uid, "data": msgjson.decode(msgjson.encode(data))}, f, indent=4)
|
json.dump({"uid": uid, "data": msgjson.decode(msgjson.encode(data))}, f, indent=4)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user