python-genshin-artifact/python_genshin_artifact/enka/weapon.py

213 lines
6.0 KiB
Python
Raw Normal View History

from typing import Dict, Final
2024-11-19 08:23:23 +00:00
__version__: Final[str] = "5.1"
2023-08-11 08:29:15 +00:00
weapon_name_map: Dict[int, str] = {
11101: "DullBlade",
11201: "SilverSword",
11301: "CoolSteel",
11302: "HarbingerOfDawn",
2023-10-24 06:44:43 +00:00
11303: "TravelersHandySword",
11304: "DarkIronSword",
2023-08-11 08:29:15 +00:00
11305: "FilletBlade",
11306: "SkyriderSword",
11401: "FavoniusSword",
11402: "TheFlute",
11403: "SacrificialSword",
11404: "RoyalLongsword",
2023-10-24 05:51:04 +00:00
11405: "LionsRoar",
2023-08-11 08:29:15 +00:00
11406: "PrototypeRancour",
11407: "IronSting",
11408: "BlackcliffLongsword",
11409: "TheBlackSword",
11410: "TheAlleyFlash",
11412: "SwordOfDescension",
11413: "FesteringDesire",
11414: "AmenomaKageuchi",
11415: "CinnabarSpindle",
11416: "CursedBlade",
2023-08-11 08:29:15 +00:00
11417: "SapwoodBlade",
11418: "XiphosMoonlight",
11422: "ToukabouShigure",
11424: "WolfFang",
11425: "FinaleOfTheDeep",
11426: "FleuveCendreFerryman",
11427: "TheDockhandsAssistant",
11428: "SwordOfNarzissenkreuz",
2024-11-19 08:23:23 +00:00
11430: "SturdyBone",
2024-09-23 12:31:46 +00:00
11431: "FluteOfEzpitzal",
2023-08-11 08:29:15 +00:00
11501: "AquilaFavonia",
11502: "SkywardBlade",
2023-10-24 05:51:04 +00:00
11503: "FreedomSworn",
2023-08-11 08:29:15 +00:00
11504: "SummitShaper",
11505: "PrimordialJadeCutter",
11509: "MistsplitterReforged",
11510: "HaranGeppakuFutsu",
2023-10-24 05:51:04 +00:00
11511: "KeyOfKhajNisut",
2023-08-11 08:29:15 +00:00
11512: "LightOfFoliarIncision",
11513: "SplendorOfTranquilWaters",
11514: "UrakuMisugiri",
2024-08-22 15:46:15 +00:00
11515: "Absolution",
2024-11-19 08:23:23 +00:00
11516: "PeakPatrolSong",
2023-08-11 08:29:15 +00:00
12101: "WasterGreatsword",
2023-10-24 06:44:43 +00:00
12201: "OldMercsPal",
2023-08-11 08:29:15 +00:00
12301: "FerrousShadow",
2023-10-24 06:44:43 +00:00
12302: "BloodstainedGreatsword",
2023-08-11 08:29:15 +00:00
12303: "WhiteIronGreatsword",
12305: "DebateClub",
12306: "SkyriderGreatsword",
12401: "FavoniusGreatsword",
12402: "TheBell",
12403: "SacrificialGreatsword",
12404: "RoyalGreatsword",
12405: "Rainslasher",
12406: "PrototypeArchaic",
12407: "Whiteblind",
12408: "BlackcliffSlasher",
12409: "SerpentSpine",
12410: "LithicBlade",
2023-10-24 05:51:04 +00:00
12411: "SnowTombedStarsilver",
12412: "LuxuriousSeaLord",
2023-08-11 08:29:15 +00:00
12414: "KatsuragikiriNagamasa",
12415: "MakhairaAquamarine",
12416: "Akuoumaru",
12417: "ForestRegalia",
12418: "MailedFlower",
12424: "TalkingStick",
12425: "TidalShadow",
12426: "UltimateOverlordsMegaMagicSword",
12427: "PortablePowerSaw",
2024-11-19 08:23:23 +00:00
12430: "FruitfulHook",
2024-09-23 12:31:46 +00:00
12431: "EarthShaker",
2023-08-11 08:29:15 +00:00
12501: "SkywardPride",
2023-10-24 06:44:43 +00:00
12502: "WolfsGravestone",
2023-08-11 08:29:15 +00:00
12503: "SongOfBrokenPines",
12504: "TheUnforged",
12510: "RedhornStonethresher",
12511: "BeaconOfTheReedSea",
12512: "Verdict",
2024-09-23 12:31:46 +00:00
12513: "FangOfTheMountainKing",
2023-10-24 06:44:43 +00:00
13101: "BeginnersProtector",
2023-08-11 08:29:15 +00:00
13201: "IronPoint",
13301: "WhiteTassel",
13302: "Halberd",
13303: "BlackTassel",
13401: "DragonsBane",
2023-08-11 08:29:15 +00:00
13402: "PrototypeStarglitter",
13403: "CrescentPike",
13404: "BlackcliffPole",
13405: "Deathmatch",
13406: "LithicSpear",
13407: "FavoniusLance",
13408: "RoyalSpear",
13409: "DragonspineSpear",
13414: "KitainCrossSpear",
13415: "TheCatch",
2023-10-24 06:44:43 +00:00
13416: "WavebreakersFin",
2023-08-11 08:29:15 +00:00
13417: "Moonpiercer",
13419: "MissiveWindspear",
13424: "BalladOfTheFjords",
13425: "RightfulReward",
13426: "DialoguesOfTheDesertSages",
2023-10-24 06:44:43 +00:00
13427: "ProspectorsDrill",
2024-11-19 08:23:23 +00:00
13430: "MountainBracingBolt",
2024-09-23 12:31:46 +00:00
13431: "FootprintOfTheRainbow",
2023-08-11 08:29:15 +00:00
13501: "StaffOfHoma",
13502: "SkywardSpine",
13504: "VortexVanquisher",
2023-10-24 04:11:27 +00:00
13505: "PrimordialJadeWingedSpear",
2023-08-11 08:29:15 +00:00
13507: "CalamityQueller",
13509: "EngulfingLightning",
13511: "StaffOfTheScarletSands",
2024-08-22 15:46:15 +00:00
13512: "CrimsonMoonsSemblance",
13513: "LumidouceElegy",
2023-10-24 06:44:43 +00:00
14101: "ApprenticesNotes",
2023-08-11 08:29:15 +00:00
14201: "PocketGrimoire",
14301: "MagicGuide",
14302: "ThrillingTalesOfDragonSlayers",
14303: "OtherworldlyStory",
14304: "EmeraldOrb",
14305: "TwinNephrite",
14401: "FavoniusCodex",
14402: "TheWidsith",
14403: "SacrificialFragments",
14404: "RoyalGrimoire",
14405: "SolarPearl",
14406: "PrototypeAmber",
14407: "MappaMare",
14408: "BlackcliffAgate",
14409: "EyeOfPerception",
14410: "WindAndSong", # WineAndSong
2023-08-11 08:29:15 +00:00
14412: "Frostbearer",
14413: "DodocoTales",
14414: "HakushinRing",
14415: "OathswornEye",
14416: "WanderingEvenstar",
14417: "FruitOfFulfillment",
14424: "SacrificialJade",
14425: "FlowingPurity",
14426: "BalladOfTheBoundlessBlue",
2024-09-23 12:31:46 +00:00
14427: "AshGravenDrinkingHorn",
14431: "RingOfYaxche",
2023-08-11 08:29:15 +00:00
14501: "SkywardAtlas",
14502: "LostPrayerToTheSacredWinds",
14504: "MemoryOfDust",
2023-10-24 06:44:43 +00:00
14505: "JadeFallsSplendor",
2023-08-11 08:29:15 +00:00
14506: "EverlastingMoonglow",
2023-10-24 06:44:43 +00:00
14509: "KagurasVerity",
2023-08-11 08:29:15 +00:00
14511: "AThousandFloatingDreams",
2023-10-24 06:44:43 +00:00
14512: "TulaytullahsRemembrance",
14513: "CashflowSupervision",
14514: "TomeOfTheEternalFlow",
14515: "CranesEchoingCall",
2024-09-23 12:31:46 +00:00
14516: "SurfsUp",
2023-10-24 06:44:43 +00:00
15101: "HuntersBow",
15201: "SeasonedHuntersBow",
2023-08-11 08:29:15 +00:00
15301: "RavenBow",
2023-10-24 06:44:43 +00:00
15302: "SharpshootersOath",
2023-08-11 08:29:15 +00:00
15303: "RecurveBow",
15304: "Slingshot",
15305: "Messenger",
15401: "FavoniusWarbow",
15402: "TheStringless",
15403: "SacrificialBow",
15404: "RoyalBow",
15405: "Rust",
15406: "PrototypeCrescent",
15407: "CompoundBow",
15408: "BlackcliffWarbow",
15409: "TheViridescentHunt",
15410: "AlleyHunter",
15411: "FadingTwilight",
15412: "MitternachtsWaltz",
15413: "WindblumeOde",
15414: "Hamayumi",
15415: "Predator",
2023-10-24 06:44:43 +00:00
15416: "MouunsMoon",
2023-10-24 05:51:04 +00:00
15417: "KingsSquire",
15418: "ElegyOfTheEnd", # EndOfTheLine
2023-08-11 08:29:15 +00:00
15419: "IbisPiercer",
15424: "ScionOfTheBlazingSun",
15425: "SongOfStillness",
2024-08-22 15:46:15 +00:00
15426: "Cloudforged",
15427: "RangeGauge",
2024-09-23 12:31:46 +00:00
15431: "ChainBreaker",
2023-08-11 08:29:15 +00:00
15501: "SkywardHarp",
15502: "AmosBow",
2023-10-24 06:44:43 +00:00
15503: "ElegyOfTheEnd",
15505: "PrimordialJadeVista",
2023-08-11 08:29:15 +00:00
15507: "PolarStar",
15508: "AquaSimulacra",
15509: "ThunderingPulse",
2023-10-24 06:44:43 +00:00
15511: "HuntersPath",
15512: "TheFirstGreatMagic",
2024-08-22 15:46:15 +00:00
15513: "SilvershowerHeartstrings",
2023-08-11 08:29:15 +00:00
}
test_weapon_name_map: Dict[int, str] = {
12505: "PrimordialJadeGreatSword",
15505: "PrimordialJadeVista",
15504: "KunwusWyrmbane",
}