H-K-Y / Genshin_Impact_bot

原神bot,这是一个基于nonebot和HoshinoBot的原神娱乐及信息查询插件,包含原神抽卡,丘丘语翻译,找资源点等功能
GNU General Public License v3.0
387 stars 85 forks source link

请问这些的触发指令是什么? #101

Closed tuanzi66 closed 2 years ago

tuanzi66 commented 2 years ago

if g3d1 >= 4: word_str["三神一帝"] = l3_size if ly3c >= 3: word_str["璃月3C"] = l3_size if star5num >= 16: word_str["五星众多"] = l3_size

if len(weapons_datas) - star4weapon <= 3:
    word_str["武器基本四星"] = l3_size

if raw_data['stats']['achievement_number'] // (star5weapon_con + star5num_con) >= 23:
    word_str["平民玩家"] = l2_size
elif raw_data['stats']['achievement_number'] // (star5weapon_con + star5num_con) <= 15:
    word_str["氪金玩家"] = l3_size

if raw_data['stats']['anemoculus_number'] + raw_data['stats']['geoculus_number'] + \
        raw_data['stats']['electroculus_number'] == 378:
    word_str["全神瞳"] = l2_size
if raw_data['world_explorations'][3]['exploration_percentage'] + raw_data['world_explorations'][2][
    'exploration_percentage'] + raw_data['world_explorations'][1]['exploration_percentage'] + \
        raw_data['world_explorations'][0]['exploration_percentage'] >= 3950:
    word_str["全探索"] = l4_size
if raw_data['stats']['achievement_number'] >= 510:
    word_str["全成就"] = l5_size
elif raw_data['stats']['achievement_number'] >= 490:
    word_str["成就达人"] = l3_size
if raw_data['stats']['spiral_abyss'] == '12-3':
    word_str["深境的探究者"] = l2_size
if len(raw_data['avatars']) >= 42:
    word_str["全角色"] = l3_size

if raw_data['stats']['active_day_number'] <= 40:
    word_str["刚入坑"] = l1_size
elif raw_data['stats']['active_day_number'] <= 100:
    word_str["初心者"] = l2_size
elif raw_data['stats']['active_day_number'] <= 300:
    word_str["老玩家"] = l2_size
MingxuanGame commented 2 years ago

GenshinUID的地址:https://github.com/KimigaiiWuyi/GenshinUID issue地址:https://github.com/KimigaiiWuyi/GenshinUID/issues wiki地址:https://github.com/KimigaiiWuyi/GenshinUID/wiki 请自行关闭pr