mirror of
https://github.com/PaiGramTeam/StarRailDamageCal.git
synced 2024-11-16 04:45:43 +00:00
bump to 1.2.1
This commit is contained in:
parent
2c7c61188a
commit
923ad05c0d
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "starrail_damage_cal"
|
name = "starrail_damage_cal"
|
||||||
version = "1.2.0"
|
version = "1.2.1"
|
||||||
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"},
|
||||||
|
@ -383,7 +383,7 @@ class Relic115(BaseRelicSetSkill):
|
|||||||
attribute_bonus: Dict[str, float],
|
attribute_bonus: Dict[str, float],
|
||||||
):
|
):
|
||||||
"""追加攻击造成的伤害提高20%。"""
|
"""追加攻击造成的伤害提高20%。"""
|
||||||
"""每次造成伤害时使装备者的攻击力提高6%,最多叠加8次,持续3回合。该效果在装备者下一次施放追加攻击时移除。"""
|
"""每次造成伤害时使装备者的攻击力提高6%, 最多叠加8次, 持续3回合。该效果在装备者下一次施放追加攻击时移除。"""
|
||||||
logger.info("Relic114 check success")
|
logger.info("Relic114 check success")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
@ -414,7 +414,7 @@ class Relic116(BaseRelicSetSkill):
|
|||||||
base_attr: Dict[str, float],
|
base_attr: Dict[str, float],
|
||||||
attribute_bonus: Dict[str, float],
|
attribute_bonus: Dict[str, float],
|
||||||
):
|
):
|
||||||
"""敌方目标每承受1个持续伤害效果,装备者对其造成伤害时就无视其6%的防御力,最多计入3个持续伤害效果。"""
|
"""敌方目标每承受1个持续伤害效果, 装备者对其造成伤害时就无视其6%的防御力, 最多计入3个持续伤害效果。"""
|
||||||
logger.info("Relic114 check success")
|
logger.info("Relic114 check success")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ async def get_damage(
|
|||||||
|
|
||||||
critical_chance = calculate_critical_chance(merged_attr, skill_type, add_skill_type)
|
critical_chance = calculate_critical_chance(merged_attr, skill_type, add_skill_type)
|
||||||
|
|
||||||
expected_damage = calculate_expected_damage(critical_chance, critical_damage)
|
_ = calculate_expected_damage(critical_chance, critical_damage)
|
||||||
|
|
||||||
damage_cd = damege * skill_multiplier * injury_area
|
damage_cd = damege * skill_multiplier * injury_area
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@ from starrail_damage_cal.excel.model import (
|
|||||||
)
|
)
|
||||||
from starrail_damage_cal.exception import (
|
from starrail_damage_cal.exception import (
|
||||||
CharacterShowcaseNotOpenError,
|
CharacterShowcaseNotOpenError,
|
||||||
MihomoRequestError,
|
|
||||||
)
|
)
|
||||||
from starrail_damage_cal.map.SR_MAP_PATH import (
|
from starrail_damage_cal.map.SR_MAP_PATH import (
|
||||||
AvatarRankSkillUp,
|
AvatarRankSkillUp,
|
||||||
|
Loading…
Reference in New Issue
Block a user