miao-plugin/resources/meta-gs/character/夏洛蒂/calc.js
2023-11-17 23:24:13 +08:00

49 lines
1.5 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export const details = [{
title: 'E点按拍照伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['点按拍照伤害'], 'e')
}, {
title: 'E长按拍照伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['长按拍照伤害'], 'e')
}, {
title: 'Q释放伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q')
}, {
title: 'Q释放治疗量',
dmg: ({ talent, attr }, { heal }) => heal(talent.q['施放治疗量2'][0] / 100 * attr.atk + talent.q['施放治疗量2'][1])
}, {
title: 'Q持续治疗量',
dmg: ({ talent, attr }, { heal }) => heal(talent.q['相机持续治疗量2'][0] / 100 * attr.atk + talent.q['相机持续治疗量2'][1])
}, {
title: '六命额外治疗量',
cons: 6,
dmg: ({ attr }, { heal }) => heal(0.42 * attr.atk)
}]
export const mainAttr = 'atk,cpct,cdmg,heal'
export const defDmgIdx = 3
export const buffs = [{
title: '天赋-多样性调查按队伍存在2位枫丹角色2位非枫丹角色计算自身获得[heal]%治疗加成,[dmg]%冰元素伤害加成',
data: {
heal: 5,
dmg: 10
}
}, {
title: '夏洛蒂2命E攻击命中3名及以上敌人时自身攻击力提升[atk]%',
cons: 2,
data: {
atk: 30
}
}, {
title: '夏洛蒂4命Q命中带有E印记的敌人时Q造成的伤害提升[dmg]%',
cons: 4,
data: {
qDmg: 10
}
}, {
title: '夏洛蒂6命场上角色普攻或重击命中E标记敌人时产生相当于夏洛蒂42%攻击的额外治疗',
cons: 6
}]
export const createdBy = 'Aluxes'