🐛 修复魈、申鹤伤害计算

This commit is contained in:
CMHopeSunshine 2022-07-10 01:08:44 +08:00
parent 61802c4518
commit c2203b6954
2 changed files with 2 additions and 2 deletions

View File

@ -519,7 +519,7 @@ def get_damage_multipiler(data: dict) -> dict:
if data['名称'] == '': if data['名称'] == '':
a = skill_data['普通攻击·卷积微尘']['数值']['低空/高空坠地冲击伤害'][level_a].split('/') a = skill_data['普通攻击·卷积微尘']['数值']['低空/高空坠地冲击伤害'][level_a].split('/')
return { return {
'B:l1-增伤-AX': float(skill_data['靖妖傩舞']['数值']['普通攻击/重击/下落攻击伤害提升'][level_q].replace('%', '')) / 100, 'B:l1-增伤-AX': (float(skill_data['靖妖傩舞']['数值']['普通攻击/重击/下落攻击伤害提升'][level_q].replace('%', '')) / 100, ),
'E-e风:风轮两立': float(skill_data['风轮两立']['数值']['技能伤害'][level_e].replace('%', '')) / 100.0, 'E-e风:风轮两立': float(skill_data['风轮两立']['数值']['技能伤害'][level_e].replace('%', '')) / 100.0,
'AX-e风:低空下落首戳': float(a[0].replace('%', '')) / 100, 'AX-e风:低空下落首戳': float(a[0].replace('%', '')) / 100,
'AX-e风:高空下落首戳': float(a[1].replace('%', '')) / 100, 'AX-e风:高空下落首戳': float(a[1].replace('%', '')) / 100,

View File

@ -51,7 +51,7 @@ def get_role_dmg(data: dict):
extra_energy = (data['属性']['元素充能效率'] - 1) * 0.6 if level_role >= 70 else 0 extra_energy = (data['属性']['元素充能效率'] - 1) * 0.6 if level_role >= 70 else 0
dmg_data['梦想一心能量'] = (str(round(dm['梦想一心能量'] * (1 + extra_energy) * 5, 1)),) dmg_data['梦想一心能量'] = (str(round(dm['梦想一心能量'] * (1 + extra_energy) * 5, 1)),)
elif data['名称'] == '申鹤': elif data['名称'] == '申鹤':
dmg_data['冰翎加成'] = str(int(dm['冰翎'] * attack)) dmg_data['冰翎加成'] = (str(int(dm['冰翎'] * attack)),)
db[-1] += 0.15 if level_role >= 40 else 0 db[-1] += 0.15 if level_role >= 40 else 0
vq['增伤'] += 0.15 if level_role >= 70 else 0 vq['增伤'] += 0.15 if level_role >= 70 else 0
dmg_data['战技长按'] = udc(dm['e长按'] * attack, (cr + ve['暴击率'], cd), db[-1] + ve['增伤'], level_role, rcd=dm['大招减抗']) dmg_data['战技长按'] = udc(dm['e长按'] * attack, (cr + ve['暴击率'], cd), db[-1] + ve['增伤'], level_role, rcd=dm['大招减抗'])