mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-18 05:30:32 +00:00
89769be51a
伤害计算增加 万叶ⁿᵉʷ、久岐忍ⁿᵉʷ,温迪增加扩散伤害计算 部分角色评分权重微调
28 lines
871 B
JavaScript
28 lines
871 B
JavaScript
export const details = [{
|
||
title: "E每跳治疗",
|
||
dmg: ({ talent, calc, attr }, { heal }) => {
|
||
let ec = talent.e['越祓草轮治疗量2'];
|
||
return heal(calc(attr.hp) * ec[0] / 100 + ec[1] * 1 + calc(attr.mastery) * 0.75)
|
||
}
|
||
}, {
|
||
title: "E释放伤害",
|
||
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e')
|
||
}, {
|
||
title: "Q每跳伤害",
|
||
dmg: ({ talent, calc, attr }, { basic }) => basic(talent.q['单次伤害'] * calc(attr.hp) / 100, 'q')
|
||
}];
|
||
|
||
export const mainAttr = "atk,cpct,cdmg,mastery";
|
||
|
||
export const buffs = [{
|
||
title: "久岐忍被动:生命低于50%时提高治疗加成15%",
|
||
data: {
|
||
heal: 15
|
||
}
|
||
}, {
|
||
title: "久岐忍被动:基于元素精通提高治疗量[healInc],伤害[ePlus]",
|
||
data: {
|
||
healInc: ({ attr, calc }) => calc(attr.mastery) * 0.75,
|
||
ePlus: ({ attr, calc }) => calc(attr.mastery) * 0.25
|
||
}
|
||
}]; |