From 7a83f823a6536ca3f0b7ff5c22c9c83853c6a837 Mon Sep 17 00:00:00 2001 From: a376148946 <376148946@qq.com> Date: Sat, 30 Mar 2024 09:34:58 +0800 Subject: [PATCH] fix bug --- starrail_damage_cal/damage/Relic/Relic.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/starrail_damage_cal/damage/Relic/Relic.py b/starrail_damage_cal/damage/Relic/Relic.py index ef30fac..fc92bdf 100644 --- a/starrail_damage_cal/damage/Relic/Relic.py +++ b/starrail_damage_cal/damage/Relic/Relic.py @@ -452,6 +452,8 @@ class Relic117(BaseRelicSetSkill): All_Damage_Added_Ratio = attribute_bonus.get("AllDamageAddedRatio", 0) attribute_bonus["AllDamageAddedRatio"] = All_Damage_Added_Ratio + 0.12000000011175871 if self.pieces4 and await self.check(base_attr, attribute_bonus): + Critical_Chance_Base = attribute_bonus.get("CriticalChanceBase", 0) + attribute_bonus["CriticalChanceBase"] = Critical_Chance_Base + 0.0400000000372529 Critical_Damage_Base = attribute_bonus.get("CriticalDamageBase", 0) attribute_bonus["CriticalDamageBase"] = Critical_Damage_Base + 0.12000000011175871 * 2 return attribute_bonus