bump to 1.2.1

This commit is contained in:
qwerdvd 2023-12-27 13:44:33 +08:00
parent 2c7c61188a
commit 923ad05c0d
No known key found for this signature in database
GPG Key ID: A3AF89C783404769
4 changed files with 4 additions and 5 deletions

View File

@ -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"},

View File

@ -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

View File

@ -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

View File

@ -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,