dev
This commit is contained in:
@@ -636,7 +636,7 @@ class Character:
|
||||
# 贴膜
|
||||
if fusion is None:
|
||||
continue
|
||||
fun = effects.equ_func_list.get(str(fusion.id), None)
|
||||
fun = effects.stone_func_list.get(str(fusion.id), None)
|
||||
# 获取装备基础属性 并给角色设置(大写开头属性为角色属性)
|
||||
filtered_dict = {k: v for k, v in fusion.__dict__.items() if k[0].isupper()}
|
||||
self.SetStatus(**filtered_dict)
|
||||
@@ -719,7 +719,7 @@ class Character:
|
||||
pass
|
||||
pass
|
||||
|
||||
def calc_jade(self):
|
||||
def calc_jade(self,jade):
|
||||
"""计算辟邪玉效果"""
|
||||
pass
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@ def 强化技攻(强化等级:int, 强化类型:int, 部位:str):
|
||||
if 部位 not in ['武器', '耳环']:
|
||||
return 0
|
||||
else:
|
||||
return 强化技攻[强化等级]
|
||||
return 增幅技攻[强化等级]
|
||||
return 强化技攻[强化等级] / 100
|
||||
return 增幅技攻[强化等级] / 100
|
||||
|
||||
|
||||
# endregion
|
||||
|
||||
@@ -24,19 +24,19 @@ class CharacterInfo(enum.Enum):
|
||||
INT = '智力', '/ui/UI_ProfileIcon_003.png', lambda x: round(x, 0)
|
||||
"""智力"""
|
||||
|
||||
AtkP = '物理攻击力', '/ui/UI_ProfileIcon_006.png', lambda x: round(x, 0)
|
||||
AtkP = '物理攻击', '/ui/UI_ProfileIcon_006.png', lambda x: round(x, 0)
|
||||
"""物理攻击力"""
|
||||
|
||||
AtkM = '魔法攻击力', '/ui/UI_ProfileIcon_007.png', lambda x: round(x, 0)
|
||||
AtkM = '魔法攻击', '/ui/UI_ProfileIcon_007.png', lambda x: round(x, 0)
|
||||
"""魔法攻击力"""
|
||||
|
||||
AtkI = '独立攻击力', '/ui/UI_ProfileIcon_008.png', lambda x: round(x, 0)
|
||||
AtkI = '独立攻击', '/ui/UI_ProfileIcon_008.png', lambda x: round(x, 0)
|
||||
"""独立攻击力"""
|
||||
|
||||
ElementDB = '攻击属性', '/ui/UI_ProfileIcon_009.png', lambda x: f'火({int(x['火'])})/光({int(x['光'])})/冰({int(x['冰'])})/暗({int(x['暗'])})'
|
||||
ElementDB = '攻击属性', '/ui/UI_ProfileIcon_009.png', lambda x: f'火({int(x['火'])})/冰({int(x['冰'])})/光({int(x['光'])})/暗({int(x['暗'])})'
|
||||
"""攻击属性"""
|
||||
|
||||
SkillAttack = '技能攻击力增加', '/ui/UI_ProfileIcon_047.png', lambda x: f'{format(x * 100 - 100, ".2f")}%'
|
||||
SkillAttack = '技能伤害', '/ui/UI_ProfileIcon_047.png', lambda x: f'{format(x * 100 - 100, ".1f")}%'
|
||||
"""技能攻击力"""
|
||||
|
||||
SpeedA = '攻击速度', '/ui/UI_ProfileIcon_012.png', lambda x: f'{format(x * 100, ".2f")}%'
|
||||
@@ -48,7 +48,7 @@ class CharacterInfo(enum.Enum):
|
||||
SpeedR = '施放速度', '/ui/UI_ProfileIcon_013.png', lambda x: f'{format(x * 100, ".2f")}%'
|
||||
"""施放速度"""
|
||||
|
||||
Attack = '攻击强化', '/ui/UI_ProfileIcon_015.png', lambda x: f'{format(x * 100, ".2f")}%'
|
||||
Attack = '攻击强化', '/ui/UI_ProfileIcon_015.png', lambda x: f'{format(x, ".1f")}%'
|
||||
"""攻击强化"""
|
||||
|
||||
AttackP = '攻击强化%', '/ui/UI_ProfileIcon_015.png', lambda x: f'{format(x * 100 - 100, ".2f")}%'
|
||||
|
||||
Reference in New Issue
Block a user