mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-10-21 16:27:15 +08:00
🐛 修复魈、申鹤
伤害计算
This commit is contained in:
parent
61802c4518
commit
c2203b6954
@ -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,
|
||||||
|
@ -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['大招减抗'])
|
||||||
|
Loading…
Reference in New Issue
Block a user