From 22b684641b7316c85863d499d0d3dc1efa7dac0c Mon Sep 17 00:00:00 2001 From: omg-xtao <100690902+omg-xtao@users.noreply.github.com> Date: Mon, 23 Sep 2024 12:31:46 +0000 Subject: [PATCH] :art: Update Map to 5.0 --- dev-requirements.txt | 4 ++-- genshin_artifact | 2 +- python_genshin_artifact/enka/artifacts.py | 4 +++- python_genshin_artifact/enka/characters.py | 5 ++++- python_genshin_artifact/enka/weapon.py | 10 +++++++++- 5 files changed, 19 insertions(+), 6 deletions(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index 3e695a0..0e3cb27 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,2 +1,2 @@ -black~=23.10.1 -pytest~=4.1.0 \ No newline at end of file +black>=24.8.0 +pytest>=4.1.0 \ No newline at end of file diff --git a/genshin_artifact b/genshin_artifact index cb0d4ec..cbad254 160000 --- a/genshin_artifact +++ b/genshin_artifact @@ -1 +1 @@ -Subproject commit cb0d4ecca4efb9b523287d8b4bdb26256437b582 +Subproject commit cbad254e297b66de50983d79ab9c436098838ad7 diff --git a/python_genshin_artifact/enka/artifacts.py b/python_genshin_artifact/enka/artifacts.py index e5f324e..fc75a6d 100644 --- a/python_genshin_artifact/enka/artifacts.py +++ b/python_genshin_artifact/enka/artifacts.py @@ -1,6 +1,6 @@ from typing import Dict, Final -__version__: Final[str] = "4.6" +__version__: Final[str] = "5.0" equip_type_map: Dict[str, str] = { "EQUIP_BRACER": "Flower", @@ -62,4 +62,6 @@ artifacts_name_map: Dict[int, str] = { 15034: "NighttimeWhispersInTheEchoingWoods", 15035: "FragmentOfHarmonicWhimsy", 15036: "UnfinishedReverie", + 15037: "ScrollOfTheHeroOfCinderCity", + 15038: "ObsidianCodex", } diff --git a/python_genshin_artifact/enka/characters.py b/python_genshin_artifact/enka/characters.py index aed3dcf..36b43d8 100644 --- a/python_genshin_artifact/enka/characters.py +++ b/python_genshin_artifact/enka/characters.py @@ -1,6 +1,6 @@ from typing import Dict, Final -__version__: Final[str] = "4.8" +__version__: Final[str] = "5.0" characters_map: Dict[int, str] = { 10000002: "KamisatoAyaka", @@ -89,4 +89,7 @@ characters_map: Dict[int, str] = { 10000097: "Sethos", 10000098: "Clorinde", 10000099: "Emilie", + 10000100: "Kachina", + 10000101: "Kinich", + 10000102: "Mualani", } diff --git a/python_genshin_artifact/enka/weapon.py b/python_genshin_artifact/enka/weapon.py index 20af571..ffb48a4 100644 --- a/python_genshin_artifact/enka/weapon.py +++ b/python_genshin_artifact/enka/weapon.py @@ -1,6 +1,6 @@ from typing import Dict, Final -__version__: Final[str] = "4.8" +__version__: Final[str] = "5.0" weapon_name_map: Dict[int, str] = { 11101: "DullBlade", @@ -34,6 +34,7 @@ weapon_name_map: Dict[int, str] = { 11426: "FleuveCendreFerryman", 11427: "TheDockhandsAssistant", 11428: "SwordOfNarzissenkreuz", + 11431: "FluteOfEzpitzal", 11501: "AquilaFavonia", 11502: "SkywardBlade", 11503: "FreedomSworn", @@ -74,6 +75,7 @@ weapon_name_map: Dict[int, str] = { 12425: "TidalShadow", 12426: "UltimateOverlordsMegaMagicSword", 12427: "PortablePowerSaw", + 12431: "EarthShaker", 12501: "SkywardPride", 12502: "WolfsGravestone", 12503: "SongOfBrokenPines", @@ -81,6 +83,7 @@ weapon_name_map: Dict[int, str] = { 12510: "RedhornStonethresher", 12511: "BeaconOfTheReedSea", 12512: "Verdict", + 12513: "FangOfTheMountainKing", 13101: "BeginnersProtector", 13201: "IronPoint", 13301: "WhiteTassel", @@ -104,6 +107,7 @@ weapon_name_map: Dict[int, str] = { 13425: "RightfulReward", 13426: "DialoguesOfTheDesertSages", 13427: "ProspectorsDrill", + 13431: "FootprintOfTheRainbow", 13501: "StaffOfHoma", 13502: "SkywardSpine", 13504: "VortexVanquisher", @@ -139,6 +143,8 @@ weapon_name_map: Dict[int, str] = { 14424: "SacrificialJade", 14425: "FlowingPurity", 14426: "BalladOfTheBoundlessBlue", + 14427: "AshGravenDrinkingHorn", + 14431: "RingOfYaxche", 14501: "SkywardAtlas", 14502: "LostPrayerToTheSacredWinds", 14504: "MemoryOfDust", @@ -150,6 +156,7 @@ weapon_name_map: Dict[int, str] = { 14513: "CashflowSupervision", 14514: "TomeOfTheEternalFlow", 14515: "CranesEchoingCall", + 14516: "SurfsUp", 15101: "HuntersBow", 15201: "SeasonedHuntersBow", 15301: "RavenBow", @@ -180,6 +187,7 @@ weapon_name_map: Dict[int, str] = { 15425: "SongOfStillness", 15426: "Cloudforged", 15427: "RangeGauge", + 15431: "ChainBreaker", 15501: "SkywardHarp", 15502: "AmosBow", 15503: "ElegyOfTheEnd",