mirror of
https://github.com/PaiGramTeam/StarRailDamageCal.git
synced 2024-11-30 18:59:26 +00:00
修复光锥此时恰好计算报错
This commit is contained in:
parent
f0be4cd832
commit
142a968bcb
@ -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
|
||||
]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user