mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-10-21 16:27:15 +08:00
修复心海治疗量不正确的问题
This commit is contained in:
parent
5103992b6e
commit
1b0f9bbf6d
@ -322,7 +322,7 @@ def weapon_common_fix(data: dict):
|
|||||||
extra_e['增伤'] += 3 * (0.09 + 0.03 * weapon['精炼等级'])
|
extra_e['增伤'] += 3 * (0.09 + 0.03 * weapon['精炼等级'])
|
||||||
data['伤害描述'].append('神乐满层')
|
data['伤害描述'].append('神乐满层')
|
||||||
elif weapon['名称'] == '不灭月华':
|
elif weapon['名称'] == '不灭月华':
|
||||||
attr['治疗加成'] += 0.075 + 0.025 * weapon['精炼等级']
|
# attr['治疗加成'] += 0.075 + 0.025 * weapon['精炼等级']
|
||||||
extra_a['普攻额外倍率'] += (0.005 + 0.005 * weapon['精炼等级']) * (attr['基础生命'] + attr['额外生命'])
|
extra_a['普攻额外倍率'] += (0.005 + 0.005 * weapon['精炼等级']) * (attr['基础生命'] + attr['额外生命'])
|
||||||
elif weapon['名称'] == '白辰之环':
|
elif weapon['名称'] == '白辰之环':
|
||||||
for i, k in enumerate(attr['伤害加成']):
|
for i, k in enumerate(attr['伤害加成']):
|
||||||
|
@ -71,8 +71,8 @@ def get_role_dmg(data: dict):
|
|||||||
dmg_data['开大普攻第一段'] = (str(int(ab[0]) + int(aq[0])), str(int(ab[1]) + int(aq[1])))
|
dmg_data['开大普攻第一段'] = (str(int(ab[0]) + int(aq[0])), str(int(ab[1]) + int(aq[1])))
|
||||||
dmg_data['开大战技伤害'] = udc(dm['水母伤害'] * attack + dm['E伤害提升'] * health, (cr + ve['暴击率'], cd), db[3] + ve['增伤'], level_role)
|
dmg_data['开大战技伤害'] = udc(dm['水母伤害'] * attack + dm['E伤害提升'] * health, (cr + ve['暴击率'], cd), db[3] + ve['增伤'], level_role)
|
||||||
dmg_data['大招释放伤害'] = udc(dm['大招伤害'] * health, (cr + vq['暴击率'], cd), db[3] + vq['增伤'], level_role)
|
dmg_data['大招释放伤害'] = udc(dm['大招伤害'] * health, (cr + vq['暴击率'], cd), db[3] + vq['增伤'], level_role)
|
||||||
dmg_data['开大普攻治疗量'] = (str(int((float(dm['大招治疗量'][0].replace('%生命值上限', '')) / 100.0 * health + float(dm['大招治疗量'][1]) * (1 + data['属性']['治疗加成'])))),)
|
dmg_data['开大普攻治疗量'] = (str(int((float(dm['大招治疗量'][0].replace('%生命值上限', '')) / 100.0 * health + float(dm['大招治疗量'][1])) * (1 + data['属性']['治疗加成']))),)
|
||||||
dmg_data['战技治疗量'] = (str(int((float(dm['水母治疗量'][0].replace('%生命值上限', '')) / 100.0 * health + float(dm['水母治疗量'][1]) * (1 + data['属性']['治疗加成'])))),)
|
dmg_data['战技治疗量'] = (str(int((float(dm['水母治疗量'][0].replace('%生命值上限', '')) / 100.0 * health + float(dm['水母治疗量'][1])) * (1 + data['属性']['治疗加成']))),)
|
||||||
else:
|
else:
|
||||||
dmg_data = get_dmg_data(data, dm, va, ve, vq)
|
dmg_data = get_dmg_data(data, dm, va, ve, vq)
|
||||||
if data['伤害描述']:
|
if data['伤害描述']:
|
||||||
|
Loading…
Reference in New Issue
Block a user