From 8e59babf1ca2f547ff9cf84c4e794eff66168182 Mon Sep 17 00:00:00 2001 From: ishkong <19740260+ishkong@users.noreply.github.com> Date: Wed, 9 Apr 2025 22:36:25 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Support=20SR=203.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ishkong <19740260+ishkong@users.noreply.github.com> --- StarRailUID/utils/excel/light_cone_ranks.json | 77 +++++++++++++++++++ StarRailUID/version.py | 2 +- pyproject.toml | 4 +- 3 files changed, 80 insertions(+), 3 deletions(-) diff --git a/StarRailUID/utils/excel/light_cone_ranks.json b/StarRailUID/utils/excel/light_cone_ranks.json index 009da49..5c1dd8d 100644 --- a/StarRailUID/utils/excel/light_cone_ranks.json +++ b/StarRailUID/utils/excel/light_cone_ranks.json @@ -1870,6 +1870,35 @@ ] ] }, + "22004": { + "id": "22004", + "skill": "互惠", + "desc": "使装备者的攻击力提高#1[i]%。敌方目标每拥有1个不同属性的弱点,装备者对其造成的伤害提高#2[i]%,最多计入7个。", + "params": [ + [0.08, 0.04], + [0.1, 0.05], + [0.12, 0.06], + [0.14, 0.07], + [0.16, 0.08] + ], + "properties": [ + [ + { "type": "AttackAddedRatio", "value": 0.08 } + ], + [ + { "type": "AttackAddedRatio", "value": 0.1 } + ], + [ + { "type": "AttackAddedRatio", "value": 0.12 } + ], + [ + { "type": "AttackAddedRatio", "value": 0.14 } + ], + [ + { "type": "AttackAddedRatio", "value": 0.16 } + ] + ] + }, "23000": { "id": "23000", "skill": "流星群", @@ -3015,6 +3044,54 @@ ] ] }, + "23040": { + "id": "23040", + "skill": "铭刻", + "desc": "使装备者的生命上限提高#1[i]%,装备者或装备者的忆灵在自身回合内损失生命值时,装备者获得【冥花】,【冥花】可以使装备者和装备者的忆灵造成伤害时,无视目标#2[i]%的防御力,持续#3[i]回合。\n当装备者的忆灵消失时,使装备者行动提前#4[i]%。该效果最多触发1次,装备者每次施放终结技时重置触发次数。", + "params": [ + [0.3, 0.3, 2, 0.12], + [0.375, 0.35, 2, 0.15], + [0.45, 0.4, 2, 0.18], + [0.525, 0.45, 2, 0.21], + [0.6, 0.5, 2, 0.24] + ], + "properties": [ + [ + { "type": "HPAddedRatio", "value": 0.3 } + ], + [ + { "type": "HPAddedRatio", "value": 0.375 } + ], + [ + { "type": "HPAddedRatio", "value": 0.45 } + ], + [ + { "type": "HPAddedRatio", "value": 0.525 } + ], + [ + { "type": "HPAddedRatio", "value": 0.6 } + ] + ] + }, + "23041": { + "id": "23041", + "skill": "熔炼", + "desc": "装备者回合开始时恢复#5[i]点能量。若敌方目标拥有装备者添加的弱点,装备者对其造成的伤害提高#3[i]%。\n当敌方目标受到装备者攻击时,装备者使其防御力降低#2[i]%,持续#4[i]回合。同类效果无法叠加。", + "params": [ + [0, 0.12, 0.6, 2, 10], + [0, 0.15, 0.7, 2, 10], + [0, 0.18, 0.8, 2, 10], + [0, 0.21, 0.9, 2, 10], + [0, 0.24, 1, 2, 10] + ], + "properties": [ + [], + [], + [], + [], + [] + ] + }, "24000": { "id": "24000", "skill": "扑火", diff --git a/StarRailUID/version.py b/StarRailUID/version.py index 868d74a..8b03cf7 100644 --- a/StarRailUID/version.py +++ b/StarRailUID/version.py @@ -1,2 +1,2 @@ StarRailUID_version = "0.1.0" -StarRail_version = "3.1.0" +StarRail_version = "3.2.0" diff --git a/pyproject.toml b/pyproject.toml index 1481e39..0903c9b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,12 +71,12 @@ dependencies = [ "msgspec>=0.18.6", "httpx>=0.27.2", "pillow>=10.4.0", - "starrail-damage-cal>=3.1.0", + "starrail-damage-cal>=3.2.0", ] requires-python = ">=3.8.1,<4.0" readme = "README.md" license = { text = "GPL-3.0-or-later" } -gscore_auto_update_dep = ["starrail-damage-cal>=3.1.0"] +gscore_auto_update_dep = ["starrail-damage-cal>=3.2.0"] [tool.pdm.dev-dependencies]