mirror of
https://github.com/baiqwerdvd/StarRailDamageCal.git
synced 2025-05-08 21:15:51 +08:00
Fix Mar7th defence clac
This commit is contained in:
parent
f96b7a9ed3
commit
89d3ac4a46
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "starrail_damage_cal"
|
name = "starrail_damage_cal"
|
||||||
version = "1.5.4"
|
version = "1.5.5"
|
||||||
description = "For StarRail Role Damage Cal"
|
description = "For StarRail Role Damage Cal"
|
||||||
authors = [
|
authors = [
|
||||||
{name = "qwerdvd", email = "105906879+qwerdvd@users.noreply.github.com"},
|
{name = "qwerdvd", email = "105906879+qwerdvd@users.noreply.github.com"},
|
||||||
|
@ -2291,10 +2291,9 @@ class Mar7th(BaseAvatar):
|
|||||||
self.avatar_level,
|
self.avatar_level,
|
||||||
)
|
)
|
||||||
if self.avatar_rank >= 4:
|
if self.avatar_rank >= 4:
|
||||||
defence = (
|
defence = base_attr.get("defence", 0) * (
|
||||||
base_attr["defence"] * (1 + attribute_bonus["DefenceAddedRatio"])
|
1 + attribute_bonus.get("DefenceAddedRatio", 0)
|
||||||
+ attribute_bonus["DefenceDelta"]
|
) + attribute_bonus.get("DefenceDelta", 0)
|
||||||
)
|
|
||||||
damage_add = defence * 0.3
|
damage_add = defence * 0.3
|
||||||
damagelist4[0] += damage_add
|
damagelist4[0] += damage_add
|
||||||
damagelist4[1] += damage_add
|
damagelist4[1] += damage_add
|
||||||
|
Loading…
x
Reference in New Issue
Block a user