mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-06 04:10:02 +08:00
update
This commit is contained in:
@@ -14,6 +14,8 @@ def init_game_pool(game: str, data: dict, Operator: Any):
|
||||
recruit_only = True
|
||||
if '活动获取' in data[key]['获取途径']:
|
||||
event_only = True
|
||||
if len(data[key]['获取途径']) == 1 and '凭证交易所' == data[key]['获取途径'][0]:
|
||||
limited = True
|
||||
if key.find('阿米娅') != -1:
|
||||
continue
|
||||
tmp_lst.append(Operator(name=key, star=int(data[key]['星级']),
|
||||
@@ -29,5 +31,14 @@ def init_game_pool(game: str, data: dict, Operator: Any):
|
||||
if game == 'pretty_card':
|
||||
for key in data.keys():
|
||||
tmp_lst.append(Operator(name=data[key]['中文名'], star=len(data[key]['稀有度']), limited=False))
|
||||
if game in ['guardian', 'guardian_arms']:
|
||||
for key in data.keys():
|
||||
tmp_lst.append(Operator(name=data[key]['名称'], star=int(data[key]['星级']), limited=False))
|
||||
if game == 'pcr':
|
||||
for key in data.keys():
|
||||
limited = False
|
||||
if key.find('(') != -1:
|
||||
limited = True
|
||||
tmp_lst.append(Operator(name=data[key]['名称'], star=int(data[key]['星级']), limited=limited))
|
||||
return tmp_lst
|
||||
|
||||
|
||||
Reference in New Issue
Block a user