diff --git a/simnet/models/starrail/calculator.py b/simnet/models/starrail/calculator.py index 4b29e62..fad1aa8 100644 --- a/simnet/models/starrail/calculator.py +++ b/simnet/models/starrail/calculator.py @@ -36,6 +36,7 @@ 5: StarRailDestiny.XuWu, 6: StarRailDestiny.CunHu, 7: StarRailDestiny.FengRao, + 8: StarRailDestiny.JiYi, } diff --git a/simnet/models/starrail/character.py b/simnet/models/starrail/character.py index e02af7b..1f21e55 100644 --- a/simnet/models/starrail/character.py +++ b/simnet/models/starrail/character.py @@ -15,6 +15,7 @@ class StarRailDestiny(str, Enum): FengRao = "丰饶" TongXie = "同谐" XuWu = "虚无" + JiYi = "记忆" class StarRailElement(str, Enum): diff --git a/tests/test_starrail_calculator_client.py b/tests/test_starrail_calculator_client.py index ab37f75..3873216 100644 --- a/tests/test_starrail_calculator_client.py +++ b/tests/test_starrail_calculator_client.py @@ -31,6 +31,7 @@ async def calculator_client( class TestCalculatorClient: @staticmethod async def test_character_details(calculator_client: "StarrailCalculatorClient"): + await calculator_client.get_calculator_characters(tab_from="TabAll") characters = await calculator_client.get_calculator_characters() character_details = await calculator_client.get_character_details(characters[-1].id) assert len(character_details.skills) == 4