mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-10-21 16:27:15 +08:00
🐛 修复ysd
达达利亚伤害计算
This commit is contained in:
parent
59d1224631
commit
a5cfbdcb00
@ -647,8 +647,8 @@ def get_damage_multipiler(data: dict) -> dict:
|
|||||||
e = skill_data['魔王武装·狂澜']['数值']['重击伤害'][level_e].split('+')
|
e = skill_data['魔王武装·狂澜']['数值']['重击伤害'][level_e].split('+')
|
||||||
return {
|
return {
|
||||||
'E-e水:近战重击': (float(e[0].replace('%', '')) / 100.0, float(e[1].replace('%', '')) / 100.0),
|
'E-e水:近战重击': (float(e[0].replace('%', '')) / 100.0, float(e[1].replace('%', '')) / 100.0),
|
||||||
'E-e水:断流·斩': float(skill_data['魔王武装·狂澜']['数值']['断流·斩伤害'][level_q].replace('%', '')) / 100.0,
|
'E-e水:断流·斩': float(skill_data['魔王武装·狂澜']['数值']['断流·斩伤害'][level_e].replace('%', '')) / 100.0,
|
||||||
'A-e水:断流·破': float(skill_data['普通攻击·断雨']['数值']['断流·破 伤害'][level_q].replace('%', '')) / 100.0,
|
'A-e水:断流·破': float(skill_data['普通攻击·断雨']['数值']['断流·破 伤害'][level_a].replace('%', '')) / 100.0,
|
||||||
'Q-e水:近战大招': float(skill_data['极恶技·尽灭闪']['数值']['技能伤害·近战'][level_q].replace('%', '')) / 100.0,
|
'Q-e水:近战大招': float(skill_data['极恶技·尽灭闪']['数值']['技能伤害·近战'][level_q].replace('%', '')) / 100.0,
|
||||||
'Q-e水-r蒸发2.0:近战大招蒸发': float(skill_data['极恶技·尽灭闪']['数值']['技能伤害·近战'][level_q].replace('%', '')) / 100.0,
|
'Q-e水-r蒸发2.0:近战大招蒸发': float(skill_data['极恶技·尽灭闪']['数值']['技能伤害·近战'][level_q].replace('%', '')) / 100.0,
|
||||||
'Q-e水:断流·爆': float(skill_data['极恶技·尽灭闪']['数值']['断流·爆伤害'][level_q].replace('%', '')) / 100.0
|
'Q-e水:断流·爆': float(skill_data['极恶技·尽灭闪']['数值']['断流·爆伤害'][level_q].replace('%', '')) / 100.0
|
||||||
|
@ -9,7 +9,7 @@ all_skill_data = load_json(path=Path(__file__).parent.parent.parent / 'utils' /
|
|||||||
|
|
||||||
|
|
||||||
def get_role_dmg(data: dict):
|
def get_role_dmg(data: dict):
|
||||||
dm = get_damage_multipiler(data)
|
dm = get_damage_multipiler(deepcopy(data))
|
||||||
if not dm:
|
if not dm:
|
||||||
return None
|
return None
|
||||||
dmg_data = {}
|
dmg_data = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user