🐛 修复神里绫华伤害计算

This commit is contained in:
CMHopeSunshine 2022-07-11 16:32:51 +08:00
parent 73eda9928d
commit 62a107a7e1

View File

@ -482,7 +482,7 @@ all_skill_data = load_json(path=Path(__file__).parent.parent.parent / 'utils' /
def get_damage_multipiler(data: dict) -> dict: def get_damage_multipiler(data: dict) -> dict:
skill_data = all_skill_data[data['名称']]['skill'] skill_data = all_skill_data[data['名称']]['skill']
level_q = data['天赋'][3]['等级'] - 1 if data['名称'] in ['神里绫华' ,'莫娜'] else level_q = data['天赋'][2]['等级'] - 1 level_q = data['天赋'][3]['等级'] - 1 if data['名称'] in ['神里绫华', '莫娜'] else data['天赋'][2]['等级'] - 1
level_e = data['天赋'][1]['等级'] - 1 level_e = data['天赋'][1]['等级'] - 1
level_a = data['天赋'][0]['等级'] - 1 level_a = data['天赋'][0]['等级'] - 1
dm = {} dm = {}