From c2203b69542df5ed44b15f7d44528c722e4a556f Mon Sep 17 00:00:00 2001 From: CMHopeSunshine <277073121@qq.com> Date: Sun, 10 Jul 2022 01:08:44 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D`=E9=AD=88=E3=80=81?= =?UTF-8?q?=E7=94=B3=E9=B9=A4`=E4=BC=A4=E5=AE=B3=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Paimon_Info/damage_cal/common.py | 2 +- Paimon_Info/damage_cal/damage.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Paimon_Info/damage_cal/common.py b/Paimon_Info/damage_cal/common.py index 954018f..e965fd8 100644 --- a/Paimon_Info/damage_cal/common.py +++ b/Paimon_Info/damage_cal/common.py @@ -519,7 +519,7 @@ def get_damage_multipiler(data: dict) -> dict: if data['名称'] == '魈': a = skill_data['普通攻击·卷积微尘']['数值']['低空/高空坠地冲击伤害'][level_a].split('/') 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, 'AX-e风:低空下落首戳': float(a[0].replace('%', '')) / 100, 'AX-e风:高空下落首戳': float(a[1].replace('%', '')) / 100, diff --git a/Paimon_Info/damage_cal/damage.py b/Paimon_Info/damage_cal/damage.py index f637963..1aae79f 100644 --- a/Paimon_Info/damage_cal/damage.py +++ b/Paimon_Info/damage_cal/damage.py @@ -51,7 +51,7 @@ def get_role_dmg(data: dict): extra_energy = (data['属性']['元素充能效率'] - 1) * 0.6 if level_role >= 70 else 0 dmg_data['梦想一心能量'] = (str(round(dm['梦想一心能量'] * (1 + extra_energy) * 5, 1)),) elif data['名称'] == '申鹤': - dmg_data['冰翎加成'] = str(int(dm['冰翎'] * attack)) + dmg_data['冰翎加成'] = (str(int(dm['冰翎'] * attack)),) db[-1] += 0.15 if level_role >= 40 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['大招减抗'])