修复光锥此时恰好计算报错

This commit is contained in:
季落 2023-11-09 09:39:55 +08:00 committed by GitHub
parent f0be4cd832
commit 142a968bcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1880,12 +1880,12 @@ class PerfectTiming(BaseWeapon):
):
if await self.check():
StatusResistance = attribute_bonus.get("StatusResistance", 0)
HealRatioBase_maxadd = weapon_effect["21000"]["Param"]["HealRatioBase"][
HealRatioBase_maxadd = weapon_effect["21014"]["Param"]["HealRatioBase"][
self.weapon_rank - 1
]
HealRatioBaseadd = (
StatusResistance
* weapon_effect["21000"]["Param"]["StatusResistance"][
* weapon_effect["21014"]["Param"]["StatusResistance"][
self.weapon_rank - 1
]
)