diff --git a/resources/meta/character/莱依拉/calc.js b/resources/meta/character/莱依拉/calc.js index 14c22ab9..fb399b03 100644 --- a/resources/meta/character/莱依拉/calc.js +++ b/resources/meta/character/莱依拉/calc.js @@ -1,10 +1,12 @@ export const details = [{ title: '满层E护盾量', - dmg: ({ attr, calc, talent }, { shield }) => - shield(calc(attr.hp) * talent.e['护盾基础吸收量2'][0] / 100 + talent.e['护盾基础吸收量2'][1]) + dmg: ({ attr, calc, talent, cons }, { shield }) => { + const sheildPlus = cons >= 1 ? 1.2 : 1 + return shield((calc(attr.hp) * talent.e['护盾基础吸收量2'][0] / 100 + talent.e['护盾基础吸收量2'][1]) * sheildPlus) + } }, { title: 'E飞星单伤害', - dmg: ({ attr, talent }, dmg) => dmg(talent.e['飞星伤害'], 'e') + dmg: ({ talent }, dmg) => dmg(talent.e['飞星伤害'], 'e') }, { title: 'Q星光弹伤害', dmg: ({ attr, calc, talent }, { basic }) => basic(calc(attr.hp) * talent.q['星光弹伤害'] / 100) @@ -16,7 +18,7 @@ export const buffs = [{ title: '莱依拉1命:安眠帷幕护盾的伤害吸收量提高20%', cons: 1, data: { - shield: 20 + _shield: 20 } }, { title: '莱依拉6命:飞星与星光弹造成的伤害提升40%', diff --git a/resources/meta/character/迪奥娜/calc.js b/resources/meta/character/迪奥娜/calc.js index 585aa8a4..19e7b369 100644 --- a/resources/meta/character/迪奥娜/calc.js +++ b/resources/meta/character/迪奥娜/calc.js @@ -3,8 +3,11 @@ export const details = [{ dmg: ({ talent }, dmg) => dmg(talent.e['猫爪伤害'] * 5, 'e') }, { title: '长按E护盾量', - dmg: ({ talent, attr, calc }, { shield }) => - shield(talent.e['护盾基础吸收量2'][0] * calc(attr.hp) / 100 + talent.e['护盾基础吸收量2'][1] * 1) + dmg: ({ talent, attr, calc, cons }, { shield }) => { + const sheildPlus = cons >= 2 ? 1.15 : 1 + return shield((talent.e['护盾基础吸收量2'][0] * calc(attr.hp) / 100 + talent.e['护盾基础吸收量2'][1] * 1) * 1.75 * sheildPlus) + } + }, ({ cons }) => { return { title: `${cons === 6 ? '半血' : ''}Q每跳治疗`, @@ -19,14 +22,14 @@ export const mainAttr = 'atk,hp,cpct,cdmg' export const buffs = [{ title: '迪奥娜天赋:长按E获得75%护盾吸收量加成', data: { - shield: 75 + _shield: 75 } }, { title: '迪奥娜2命:猫爪冻冻造成的伤害提高15%,护盾吸收量提高15%', cons: 2, data: { eDmg: 15, - shield: 15 + _shield: 15 } }, { title: '迪奥娜6命:生命值低于50%时受治疗加成提升30%', diff --git a/resources/meta/character/钟离/calc.js b/resources/meta/character/钟离/calc.js index 43e3b5d5..24c26aa5 100644 --- a/resources/meta/character/钟离/calc.js +++ b/resources/meta/character/钟离/calc.js @@ -12,7 +12,6 @@ export const details = [{ dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q') }] -export const defDmgIdx = 2 export const mainAttr = 'hp,atk,cpct,cdmg' export const buffs = [{