PamGram/modules/playercards/fight_prop.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

69 lines
2.6 KiB
Python
Raw Normal View History

import enum
class FightProp(enum.Enum):
BASE_HP = "基础血量"
FIGHT_PROP_BASE_ATTACK = "基础攻击力"
FIGHT_PROP_BASE_DEFENSE = "基础防御力"
FIGHT_PROP_BASE_HP = "基础血量"
FIGHT_PROP_ATTACK = "攻击力"
FIGHT_PROP_ATTACK_PERCENT = "攻击力百分比"
FIGHT_PROP_HP = "生命值"
FIGHT_PROP_HP_PERCENT = "生命值百分比"
FIGHT_PROP_DEFENSE = "防御力"
FIGHT_PROP_DEFENSE_PERCENT = "防御力百分比"
FIGHT_PROP_ELEMENT_MASTERY = "元素精通"
FIGHT_PROP_CRITICAL = "暴击率"
FIGHT_PROP_CRITICAL_HURT = "暴击伤害"
FIGHT_PROP_CHARGE_EFFICIENCY = "元素充能效率"
FIGHT_PROP_FIRE_SUB_HURT = "火元素抗性"
FIGHT_PROP_ELEC_SUB_HURT = "雷元素抗性"
FIGHT_PROP_ICE_SUB_HURT = "冰元素抗性"
FIGHT_PROP_WATER_SUB_HURT = "水元素抗性"
FIGHT_PROP_WIND_SUB_HURT = "风元素抗性"
FIGHT_PROP_ROCK_SUB_HURT = "岩元素抗性"
FIGHT_PROP_GRASS_SUB_HURT = "草元素抗性"
FIGHT_PROP_FIRE_ADD_HURT = "火元素伤害加成"
FIGHT_PROP_ELEC_ADD_HURT = "雷元素伤害加成"
FIGHT_PROP_ICE_ADD_HURT = "冰元素伤害加成"
FIGHT_PROP_WATER_ADD_HURT = "水元素伤害加成"
FIGHT_PROP_WIND_ADD_HURT = "风元素伤害加成"
FIGHT_PROP_ROCK_ADD_HURT = "岩元素伤害加成"
FIGHT_PROP_GRASS_ADD_HURT = "草元素伤害加成"
FIGHT_PROP_PHYSICAL_ADD_HURT = "物理伤害加成"
FIGHT_PROP_HEAL_ADD = "治疗加成"
class FightPropScore(enum.Enum):
_value_: float
value: float
FIGHT_PROP_BASE_ATTACK = 1
FIGHT_PROP_BASE_DEFENSE = 1
FIGHT_PROP_BASE_HP = 1
FIGHT_PROP_ATTACK = 662 / 3110 # 攻击力
FIGHT_PROP_ATTACK_PERCENT = 4 / 3 # 攻击力百分比
FIGHT_PROP_HP = 662 / 47800 # 生命
FIGHT_PROP_HP_PERCENT = 4 / 3 # 生命百分比
FIGHT_PROP_DEFENSE = 662 / 3890 # 防御力
FIGHT_PROP_DEFENSE_PERCENT = 662 / 583 # 防御力百分比
FIGHT_PROP_ELEMENT_MASTERY = 1 / 3 # 元素精通
FIGHT_PROP_CRITICAL = 2 # 暴击率
FIGHT_PROP_CRITICAL_HURT = 1 # 暴击伤害
FIGHT_PROP_CHARGE_EFFICIENCY = 662 / 518 # 元素充能效率
FIGHT_PROP_FIRE_SUB_HURT = 1
FIGHT_PROP_ELEC_SUB_HURT = 1
FIGHT_PROP_ICE_SUB_HURT = 1
FIGHT_PROP_WATER_SUB_HURT = 1
FIGHT_PROP_WIND_SUB_HURT = 1
FIGHT_PROP_ROCK_SUB_HURT = 1
FIGHT_PROP_GRASS_SUB_HURT = 1
FIGHT_PROP_FIRE_ADD_HURT = 1
FIGHT_PROP_ELEC_ADD_HURT = 1
FIGHT_PROP_ICE_ADD_HURT = 1
FIGHT_PROP_WATER_ADD_HURT = 1
FIGHT_PROP_WIND_ADD_HURT = 1
FIGHT_PROP_ROCK_ADD_HURT = 1
FIGHT_PROP_GRASS_ADD_HURT = 1
FIGHT_PROP_PHYSICAL_ADD_HURT = 1
FIGHT_PROP_HEAL_ADD = 1