genshin-wiki/model/enums.py
2023-08-21 19:32:46 +08:00

127 lines
2.4 KiB
Python

from enum import StrEnum
class AvatarQuality(StrEnum):
Orange = "ORANGE"
"""五星"""
Purple = "PURPLE"
"""四星"""
Special = "SPECIAL"
"""特殊"""
class ItemType(StrEnum):
Virtual = "VIRTUAL"
Material = "MATERIAL"
class WeaponType(StrEnum):
Sword = "SWORD"
"""单手剑"""
Claymore = "CLAYMORE"
"""双手剑"""
Bow = "BOW"
""""""
Catalyst = "CATALYST"
"""法器"""
Polearm = "POLEARM"
"""长柄武器"""
class Element(StrEnum):
Pyro = "PYRO"
""""""
Hydro = "HYDRO"
""""""
Anemo = "ANEMO"
""""""
Electro = "ELECTRO"
""""""
Dendro = "DENDRO"
""""""
Cryo = "CRYO"
""""""
Geo = "GEO"
""""""
Null = "NULL"
""""""
class PropType(StrEnum):
HP = "HP"
"""生命值"""
HP_P = "HPPercent"
"""生命值百分比"""
Defense = "Defense"
"""防御力"""
Defense_P = "DefensePercent"
"""防御力百分比"""
Attack = "Attack"
"""攻击力"""
Attack_P = "AttackPercent"
"""攻击力百分比"""
Critical = "Critical"
"""暴击率"""
CriticalHurt = "CriticalHurt"
"""暴击伤害"""
Heal = "HealAdd"
"""治疗加成"""
Element = "ElementMastery"
"""元素精通"""
Charge = "ChargeEfficiency"
"""元素充能效率"""
Physical = "PhysicalAddHurt"
"""物理伤害加成"""
Pyro = "PyroAddHurt"
"""火元素伤害加成"""
Hydro = "HydroAddHurt"
"""水元素伤害加成"""
Anemo = "AnemoAddHurt"
"""风元素伤害加成"""
Electro = "ElectroAddHurt"
"""雷元素伤害加成"""
Dendro = "DendroAddHurt"
"""草元素伤害加成"""
Cryo = "CryoAddHurt"
"""冰元素伤害加成"""
Geo = "GeoAddHurt"
"""岩元素伤害加成"""
class FoodQuality(StrEnum):
STRANGE = "Strange"
"""奇怪的"""
ORDINARY = "Ordinary"
"""普通的"""
DELICIOUS = "Delicious"
"""美味的"""
class Association(StrEnum):
Inazuma = "INAZUMA"
"""稻妻"""
Mondstadt = "MONDSTADT"
"""蒙德"""
Liyue = "LIYUE"
"""璃月"""
Sumeru = "SUMERU"
"""须弥"""
Fontaine = "FONTAINE"
"""枫丹"""
Natlan = "NATLAN"
"""纳塔"""
Snezhnaya = "SNEZHNAYA"
"""至冬"""
Mainactor = "MAINACTOR"
"""主角"""
Fatui = "FATUI"
"""愚人众"""
Ranger = "RANGER"
"""游侠"""