diff --git a/pyproject.toml b/pyproject.toml index fb0c6e6..ef73d9c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "starrail_damage_cal" -version = "1.9.3" +version = "1.9.4" description = "For StarRail Role Damage Cal" authors = [ {name = "qwerdvd", email = "105906879+qwerdvd@users.noreply.github.com"}, diff --git a/starrail_damage_cal/map/data/AvatarRelicScore.json b/starrail_damage_cal/excel/AvatarRelicScore.json similarity index 96% rename from starrail_damage_cal/map/data/AvatarRelicScore.json rename to starrail_damage_cal/excel/AvatarRelicScore.json index 42857ea..2e763b6 100644 --- a/starrail_damage_cal/map/data/AvatarRelicScore.json +++ b/starrail_damage_cal/excel/AvatarRelicScore.json @@ -1,884 +1,884 @@ -[ - { - "role": "景元", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "黄泉", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "希儿", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "加拉赫", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.5, - "AttackAddedRatio": 0.5, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0.75, - "SPRatio": 0.75, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "真理医生", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "雪衣", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "阮•梅", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.5, - "AttackAddedRatio": 0.5, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 1.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "黑天鹅", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 1, - "AttackAddedRatio": 1, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 0.5, - "CriticalDamageBase": 0.5, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 1, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "花火", - "HPDelta": 0.5, - "HPAddedRatio": 0.5, - "AttackDelta": 0.5, - "AttackAddedRatio": 0.5, - "DefenceDelta": 0.5, - "DefenceAddedRatio": 0.5, - "SpeedDelta": 1.0, - "CriticalChanceBase": 0, - "CriticalDamageBase": 1.0, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 1.0, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.5, - "AttributeAddedRatio": 0.0 - }, - { - "role": "米沙", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.75, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "布洛妮娅", - "HPDelta": 0.75, - "HPAddedRatio": 0.75, - "AttackDelta": 0.5, - "AttackAddedRatio": 0.5, - "DefenceDelta": 0.5, - "DefenceAddedRatio": 0.5, - "SpeedDelta": 1.0, - "CriticalChanceBase": 0, - "CriticalDamageBase": 1.0, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 1.0, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.5, - "AttributeAddedRatio": 0.0 - }, - { - "role": "知更鸟", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 1, - "AttackAddedRatio": 1, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 0, - "CriticalDamageBase": 0.0, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 1.0, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 1.0, - "AttributeAddedRatio": 0.5 - }, - { - "role": "波提欧", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.5, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 1.0, - "HealRatio": 0, - "SPRatio": 0.0, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "杰帕德", - "HPDelta": 0.5, - "HPAddedRatio": 0.5, - "AttackDelta": 0.0, - "AttackAddedRatio": 0.0, - "DefenceDelta": 1.0, - "DefenceAddedRatio": 1.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 0, - "CriticalDamageBase": 0, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 1.0, - "StatusProbabilityBase": 0.5, - "StatusResistanceBase": 0.5, - "AttributeAddedRatio": 0 - }, - { - "role": "砂金", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.0, - "AttackAddedRatio": 0.0, - "DefenceDelta": 0.75, - "DefenceAddedRatio": 0.75, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.75, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "姬子", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.5, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "瓦尔特", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 1.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "卡芙卡", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 1.0, - "AttackAddedRatio": 1.0, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 0.5, - "CriticalDamageBase": 0.0, - "BreakDamageAddedRatioBase": 0.5, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.75, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "彦卿", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.75, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "镜流", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.75, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "白露", - "HPDelta": 1.0, - "HPAddedRatio": 1.0, - "AttackDelta": 0.0, - "AttackAddedRatio": 0.0, - "DefenceDelta": 0.5, - "DefenceAddedRatio": 0.5, - "SpeedDelta": 1.0, - "CriticalChanceBase": 0, - "CriticalDamageBase": 0, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 1, - "SPRatio": 1.0, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.75, - "AttributeAddedRatio": 0 - }, - { - "role": "玲可", - "HPDelta": 1.0, - "HPAddedRatio": 1.0, - "AttackDelta": 0.0, - "AttackAddedRatio": 0.0, - "DefenceDelta": 0.5, - "DefenceAddedRatio": 0.5, - "SpeedDelta": 1.0, - "CriticalChanceBase": 0, - "CriticalDamageBase": 0, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 1, - "SPRatio": 1.0, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.75, - "AttributeAddedRatio": 0 - }, - { - "role": "藿藿", - "HPDelta": 1.0, - "HPAddedRatio": 1.0, - "AttackDelta": 0.0, - "AttackAddedRatio": 0.0, - "DefenceDelta": 0.5, - "DefenceAddedRatio": 0.5, - "SpeedDelta": 1.0, - "CriticalChanceBase": 0, - "CriticalDamageBase": 0, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 1, - "SPRatio": 1.0, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.75, - "AttributeAddedRatio": 0 - }, - { - "role": "符玄", - "HPDelta": 1.0, - "HPAddedRatio": 1.0, - "AttackDelta": 0.0, - "AttackAddedRatio": 0.0, - "DefenceDelta": 0.5, - "DefenceAddedRatio": 0.5, - "SpeedDelta": 1.0, - "CriticalChanceBase": 0, - "CriticalDamageBase": 0, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0.0, - "SPRatio": 0.1, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 1.0, - "AttributeAddedRatio": 0 - }, - { - "role": "罗刹", - "HPDelta": 0.75, - "HPAddedRatio": 0.75, - "AttackDelta": 1.0, - "AttackAddedRatio": 1.0, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 0, - "CriticalDamageBase": 0, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 1, - "SPRatio": 1, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.75, - "AttributeAddedRatio": 0 - }, - { - "role": "桂乃芬", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 1, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "驭空", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.5, - "AttackAddedRatio": 0.5, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 1, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "克拉拉", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "三月七", - "HPDelta": 0.5, - "HPAddedRatio": 0.5, - "AttackDelta": 0.0, - "AttackAddedRatio": 0.0, - "DefenceDelta": 1.0, - "DefenceAddedRatio": 1.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 0, - "CriticalDamageBase": 0, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 1.0, - "StatusProbabilityBase": 0.5, - "StatusResistanceBase": 0.5, - "AttributeAddedRatio": 0 - }, - { - "role": "丹恒", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "阿兰", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "艾丝妲", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 0, - "CriticalDamageBase": 0, - "BreakDamageAddedRatioBase": 0.75, - "HealRatio": 0, - "SPRatio": 1.0, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "黑塔", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "希露瓦", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "娜塔莎", - "HPDelta": 1.0, - "HPAddedRatio": 1.0, - "AttackDelta": 0.0, - "AttackAddedRatio": 0.0, - "DefenceDelta": 0.5, - "DefenceAddedRatio": 0.5, - "SpeedDelta": 0.75, - "CriticalChanceBase": 0, - "CriticalDamageBase": 0, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 1, - "SPRatio": 0.75, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.5, - "AttributeAddedRatio": 0 - }, - { - "role": "佩拉", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 1.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "桑博", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 1.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "虎克", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "青雀", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "停云", - "HPDelta": 0.5, - "HPAddedRatio": 0.5, - "AttackDelta": 1.0, - "AttackAddedRatio": 1.0, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 0, - "CriticalDamageBase": 0, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 1.0, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 0 - }, - { - "role": "素裳", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.5, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "开拓者火", - "HPDelta": 0.5, - "HPAddedRatio": 0.5, - "AttackDelta": 0.0, - "AttackAddedRatio": 0.0, - "DefenceDelta": 0.1, - "DefenceAddedRatio": 0.1, - "SpeedDelta": 1.0, - "CriticalChanceBase": 0, - "CriticalDamageBase": 0, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.0, - "StatusProbabilityBase": 1.0, - "StatusResistanceBase": 0.5, - "AttributeAddedRatio": 0 - }, - { - "role": "开拓者物理", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "刃", - "HPDelta": 0.75, - "HPAddedRatio": 0.75, - "AttackDelta": 0.0, - "AttackAddedRatio": 0.0, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "丹恒•饮月", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "银狼", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1.0, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 1.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "托帕&账账", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "银枝", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 0.75, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 0.75, - "CriticalChanceBase": 1, - "CriticalDamageBase": 1, - "BreakDamageAddedRatioBase": 0.0, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 1 - }, - { - "role": "流萤", - "HPDelta": 0.0, - "HPAddedRatio": 0.0, - "AttackDelta": 1, - "AttackAddedRatio": 0.75, - "DefenceDelta": 0.0, - "DefenceAddedRatio": 0.0, - "SpeedDelta": 1, - "CriticalChanceBase": 0.0, - "CriticalDamageBase": 0.0, - "BreakDamageAddedRatioBase": 1.25, - "HealRatio": 0, - "SPRatio": 0.5, - "StatusProbabilityBase": 0.0, - "StatusResistanceBase": 0.0, - "AttributeAddedRatio": 0 - } +[ + { + "role": "景元", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "黄泉", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "希儿", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "加拉赫", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.5, + "AttackAddedRatio": 0.5, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0.75, + "SPRatio": 0.75, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "真理医生", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "雪衣", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "阮•梅", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.5, + "AttackAddedRatio": 0.5, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 1.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "黑天鹅", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 1, + "AttackAddedRatio": 1, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 0.5, + "CriticalDamageBase": 0.5, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 1, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "花火", + "HPDelta": 0.5, + "HPAddedRatio": 0.5, + "AttackDelta": 0.5, + "AttackAddedRatio": 0.5, + "DefenceDelta": 0.5, + "DefenceAddedRatio": 0.5, + "SpeedDelta": 1.0, + "CriticalChanceBase": 0, + "CriticalDamageBase": 1.0, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 1.0, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.5, + "AttributeAddedRatio": 0.0 + }, + { + "role": "米沙", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.75, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "布洛妮娅", + "HPDelta": 0.75, + "HPAddedRatio": 0.75, + "AttackDelta": 0.5, + "AttackAddedRatio": 0.5, + "DefenceDelta": 0.5, + "DefenceAddedRatio": 0.5, + "SpeedDelta": 1.0, + "CriticalChanceBase": 0, + "CriticalDamageBase": 1.0, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 1.0, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.5, + "AttributeAddedRatio": 0.0 + }, + { + "role": "知更鸟", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 1, + "AttackAddedRatio": 1, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 0, + "CriticalDamageBase": 0.0, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 1.0, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 1.0, + "AttributeAddedRatio": 0.5 + }, + { + "role": "波提欧", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.5, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 1.0, + "HealRatio": 0, + "SPRatio": 0.0, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "杰帕德", + "HPDelta": 0.5, + "HPAddedRatio": 0.5, + "AttackDelta": 0.0, + "AttackAddedRatio": 0.0, + "DefenceDelta": 1.0, + "DefenceAddedRatio": 1.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 0, + "CriticalDamageBase": 0, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 1.0, + "StatusProbabilityBase": 0.5, + "StatusResistanceBase": 0.5, + "AttributeAddedRatio": 0 + }, + { + "role": "砂金", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.0, + "AttackAddedRatio": 0.0, + "DefenceDelta": 0.75, + "DefenceAddedRatio": 0.75, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.75, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "姬子", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.5, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "瓦尔特", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 1.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "卡芙卡", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 1.0, + "AttackAddedRatio": 1.0, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 0.5, + "CriticalDamageBase": 0.0, + "BreakDamageAddedRatioBase": 0.5, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.75, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "彦卿", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.75, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "镜流", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.75, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "白露", + "HPDelta": 1.0, + "HPAddedRatio": 1.0, + "AttackDelta": 0.0, + "AttackAddedRatio": 0.0, + "DefenceDelta": 0.5, + "DefenceAddedRatio": 0.5, + "SpeedDelta": 1.0, + "CriticalChanceBase": 0, + "CriticalDamageBase": 0, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 1, + "SPRatio": 1.0, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.75, + "AttributeAddedRatio": 0 + }, + { + "role": "玲可", + "HPDelta": 1.0, + "HPAddedRatio": 1.0, + "AttackDelta": 0.0, + "AttackAddedRatio": 0.0, + "DefenceDelta": 0.5, + "DefenceAddedRatio": 0.5, + "SpeedDelta": 1.0, + "CriticalChanceBase": 0, + "CriticalDamageBase": 0, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 1, + "SPRatio": 1.0, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.75, + "AttributeAddedRatio": 0 + }, + { + "role": "藿藿", + "HPDelta": 1.0, + "HPAddedRatio": 1.0, + "AttackDelta": 0.0, + "AttackAddedRatio": 0.0, + "DefenceDelta": 0.5, + "DefenceAddedRatio": 0.5, + "SpeedDelta": 1.0, + "CriticalChanceBase": 0, + "CriticalDamageBase": 0, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 1, + "SPRatio": 1.0, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.75, + "AttributeAddedRatio": 0 + }, + { + "role": "符玄", + "HPDelta": 1.0, + "HPAddedRatio": 1.0, + "AttackDelta": 0.0, + "AttackAddedRatio": 0.0, + "DefenceDelta": 0.5, + "DefenceAddedRatio": 0.5, + "SpeedDelta": 1.0, + "CriticalChanceBase": 0, + "CriticalDamageBase": 0, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0.0, + "SPRatio": 0.1, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 1.0, + "AttributeAddedRatio": 0 + }, + { + "role": "罗刹", + "HPDelta": 0.75, + "HPAddedRatio": 0.75, + "AttackDelta": 1.0, + "AttackAddedRatio": 1.0, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 0, + "CriticalDamageBase": 0, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 1, + "SPRatio": 1, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.75, + "AttributeAddedRatio": 0 + }, + { + "role": "桂乃芬", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 1, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "驭空", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.5, + "AttackAddedRatio": 0.5, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 1, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "克拉拉", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "三月七", + "HPDelta": 0.5, + "HPAddedRatio": 0.5, + "AttackDelta": 0.0, + "AttackAddedRatio": 0.0, + "DefenceDelta": 1.0, + "DefenceAddedRatio": 1.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 0, + "CriticalDamageBase": 0, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 1.0, + "StatusProbabilityBase": 0.5, + "StatusResistanceBase": 0.5, + "AttributeAddedRatio": 0 + }, + { + "role": "丹恒", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "阿兰", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "艾丝妲", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 0, + "CriticalDamageBase": 0, + "BreakDamageAddedRatioBase": 0.75, + "HealRatio": 0, + "SPRatio": 1.0, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "黑塔", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "希露瓦", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "娜塔莎", + "HPDelta": 1.0, + "HPAddedRatio": 1.0, + "AttackDelta": 0.0, + "AttackAddedRatio": 0.0, + "DefenceDelta": 0.5, + "DefenceAddedRatio": 0.5, + "SpeedDelta": 0.75, + "CriticalChanceBase": 0, + "CriticalDamageBase": 0, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 1, + "SPRatio": 0.75, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.5, + "AttributeAddedRatio": 0 + }, + { + "role": "佩拉", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 1.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "桑博", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 1.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "虎克", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "青雀", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "停云", + "HPDelta": 0.5, + "HPAddedRatio": 0.5, + "AttackDelta": 1.0, + "AttackAddedRatio": 1.0, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 0, + "CriticalDamageBase": 0, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 1.0, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 0 + }, + { + "role": "素裳", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.5, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "开拓者火", + "HPDelta": 0.5, + "HPAddedRatio": 0.5, + "AttackDelta": 0.0, + "AttackAddedRatio": 0.0, + "DefenceDelta": 0.1, + "DefenceAddedRatio": 0.1, + "SpeedDelta": 1.0, + "CriticalChanceBase": 0, + "CriticalDamageBase": 0, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.0, + "StatusProbabilityBase": 1.0, + "StatusResistanceBase": 0.5, + "AttributeAddedRatio": 0 + }, + { + "role": "开拓者物理", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "刃", + "HPDelta": 0.75, + "HPAddedRatio": 0.75, + "AttackDelta": 0.0, + "AttackAddedRatio": 0.0, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "丹恒•饮月", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "银狼", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1.0, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 1.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "托帕&账账", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "银枝", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 0.75, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 0.75, + "CriticalChanceBase": 1, + "CriticalDamageBase": 1, + "BreakDamageAddedRatioBase": 0.0, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 1 + }, + { + "role": "流萤", + "HPDelta": 0.0, + "HPAddedRatio": 0.0, + "AttackDelta": 1, + "AttackAddedRatio": 0.75, + "DefenceDelta": 0.0, + "DefenceAddedRatio": 0.0, + "SpeedDelta": 1, + "CriticalChanceBase": 0.0, + "CriticalDamageBase": 0.0, + "BreakDamageAddedRatioBase": 1.25, + "HealRatio": 0, + "SPRatio": 0.5, + "StatusProbabilityBase": 0.0, + "StatusResistanceBase": 0.0, + "AttributeAddedRatio": 0 + } ] \ No newline at end of file diff --git a/starrail_damage_cal/map/data/char_alias.json b/starrail_damage_cal/excel/char_alias.json similarity index 100% rename from starrail_damage_cal/map/data/char_alias.json rename to starrail_damage_cal/excel/char_alias.json diff --git a/starrail_damage_cal/excel/model.py b/starrail_damage_cal/excel/model.py index 4a94aff..724f967 100644 --- a/starrail_damage_cal/excel/model.py +++ b/starrail_damage_cal/excel/model.py @@ -1,6 +1,6 @@ import json from pathlib import Path -from typing import List, Union +from typing import Dict, List, Union from msgspec import Struct, convert @@ -67,6 +67,26 @@ class SingleRelicSubAffix(Struct): StepValue: PromotionAttr StepNum: int + +class SingleAvatarRelicScore(Struct): + role: str + HPDelta: float + HPAddedRatio: float + AttackDelta: float + AttackAddedRatio: float + DefenceDelta: float + DefenceAddedRatio: float + SpeedDelta: float + CriticalChanceBase: float + CriticalDamageBase: float + BreakDamageAddedRatioBase: float + HealRatio: float + SPRatio: float + StatusProbabilityBase: float + StatusResistanceBase: float + AttributeAddedRatio: float + + with Path.open(EXCEL / "RelicMainAffixConfig.json", encoding="utf8") as f: RelicMainAffixConfig = convert(json.load(f), List[SingleRelicMainAffix]) @@ -78,3 +98,9 @@ with Path.open(EXCEL / "AvatarPromotionConfig.json", encoding="utf8") as f: with Path.open(EXCEL / "EquipmentPromotionConfig.json", encoding="utf8") as f: EquipmentPromotionConfig = convert(json.load(f), List[SingleEquipmentPromotion]) + +with Path.open(EXCEL / "AvatarRelicScore.json", encoding="utf8") as f: + AvatarRelicScore = convert(json.load(f), List[SingleAvatarRelicScore]) + +with Path.open(EXCEL / "char_alias.json", encoding="utf8") as f: + CharAlias = convert(json.load(f), Dict[str, Dict[str, List[str]]]) diff --git a/starrail_damage_cal/excel/version.py b/starrail_damage_cal/excel/version.py deleted file mode 100644 index 8f8777a..0000000 --- a/starrail_damage_cal/excel/version.py +++ /dev/null @@ -1,2 +0,0 @@ -StarRailUID_version = "0.1.0" -StarRail_version = "2.5.0" diff --git a/starrail_damage_cal/map/SR_MAP_PATH.py b/starrail_damage_cal/map/SR_MAP_PATH.py index 1eee1c4..00d353c 100644 --- a/starrail_damage_cal/map/SR_MAP_PATH.py +++ b/starrail_damage_cal/map/SR_MAP_PATH.py @@ -13,6 +13,7 @@ version = StarRail_version avatarId2Name_fileName = f"avatarId2Name_mapping_{version}.json" avatarId2EnName_fileName = f"avatarId2EnName_mapping_{version}.json" EquipmentID2Name_fileName = f"EquipmentID2Name_mapping_{version}.json" +EquipmentID2EnName_fileName = f"EquipmentID2EnName_mapping_{version}.json" skillId2Name_fileName = f"skillId2Name_mapping_{version}.json" skillId2Type_fileName = f"skillId2Type_mapping_{version}.json" Property2Name_fileName = f"Property2Name_mapping_{version}.json" @@ -28,6 +29,7 @@ EquipmentID2AbilityProperty_fileName = ( RelicSetSkill_fileName = f"RelicSetSkill_mapping_{version}.json" skillId2AttackType_fileName = f"skillId2AttackType_mapping_{version}.json" EquipmentID2Rarity_fileName = f"EquipmentID2Rarity_mapping_{version}.json" +RelicId2Rarity_fileName = f"RelicId2Rarity_mapping_{version}.json" ItemId2Name_fileName = f"ItemId2Name_mapping_{version}.json" RelicId2MainAffixGroup_fileName = f"RelicId2MainAffixGroup_mapping_{version}.json" avatarRankSkillUp_fileName = f"avatarRankSkillUp_mapping_{version}.json" @@ -91,6 +93,9 @@ with Path.open(MAP / avatarId2EnName_fileName, encoding="UTF-8") as f: with Path.open(MAP / EquipmentID2Name_fileName, encoding="UTF-8") as f: EquipmentID2Name = msgjson.decode(f.read(), type=Dict[str, str]) +with Path.open(MAP / EquipmentID2EnName_fileName, encoding="UTF-8") as f: + EquipmentID2EnName = msgjson.decode(f.read(), type=Dict[str, str]) + with Path.open(MAP / skillId2Name_fileName, encoding="UTF-8") as f: skillId2Name = msgjson.decode(f.read(), type=Dict[str, str]) @@ -117,9 +122,6 @@ with Path.open(MAP / characterSkillTree_fileName, encoding="UTF-8") as f: with Path.open(MAP / avatarId2DamageType_fileName, encoding="UTF-8") as f: avatarId2DamageType = msgjson.decode(f.read(), type=Dict[str, str]) -with Path.open(MAP / "char_alias.json", encoding="UTF-8") as f: - alias_data = msgjson.decode(f.read(), type=Dict[str, Dict[str, List[str]]]) - with Path.open(MAP / avatarId2Rarity_fileName, encoding="UTF-8") as f: avatarId2Rarity = msgjson.decode(f.read(), type=Dict[str, str]) @@ -148,3 +150,6 @@ with Path.open(MAP / RelicId2MainAffixGroup_fileName, encoding="UTF-8") as f: with Path.open(MAP / avatarRankSkillUp_fileName, encoding="UTF-8") as f: AvatarRankSkillUp = msgjson.decode(f.read(), type=Dict[str, Union[List[LU], None]]) + +with Path.open(MAP / RelicId2Rarity_fileName, encoding="UTF-8") as f: + RelicId2Rarity = msgjson.decode(f.read(), type=Dict[str, int]) diff --git a/starrail_damage_cal/map/name_covert.py b/starrail_damage_cal/map/name_covert.py index 70d3b06..44729f5 100644 --- a/starrail_damage_cal/map/name_covert.py +++ b/starrail_damage_cal/map/name_covert.py @@ -1,5 +1,5 @@ +from ..excel.model import CharAlias from ..map.SR_MAP_PATH import ( - alias_data, avatarId2Name, ) @@ -14,7 +14,7 @@ def name_to_avatar_id(name: str) -> str: def alias_to_char_name(char_name: str) -> str: - for i in alias_data["characters"]: - if char_name in alias_data["characters"][i]: - return alias_data["characters"][i][0] + for i in CharAlias["characters"]: + if char_name in CharAlias["characters"][i]: + return CharAlias["characters"][i][0] return char_name