mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-30 18:59:14 +00:00
57 lines
1.9 KiB
JavaScript
57 lines
1.9 KiB
JavaScript
|
export const details = [{
|
|||
|
title: '普攻伤害',
|
|||
|
dmg: ({ talent }, dmg) => dmg(talent.a['技能伤害'], 'a')
|
|||
|
}, {
|
|||
|
title: '战技治疗量',
|
|||
|
dmg: ({ talent, calc, attr }, { heal }) => heal(calc(attr.hp) * talent.e['治疗·百分比生命'] + talent.e['治疗·固定值'])
|
|||
|
}, {
|
|||
|
title: '战技治疗量(目标生命<=30%)',
|
|||
|
params: { tBuff: true },
|
|||
|
dmg: ({ talent, calc, attr }, { heal }) => heal(calc(attr.hp) * talent.e['治疗·百分比生命'] + talent.e['治疗·固定值'])
|
|||
|
}, {
|
|||
|
title: '战技持续治疗量',
|
|||
|
dmg: ({ talent, calc, attr }, { heal }) => heal(calc(attr.hp) * talent.e['复活·百分比生命'] + talent.e['复活·固定值'])
|
|||
|
}, {
|
|||
|
title: '战技持续治疗量(目标生命<=30%)',
|
|||
|
params: { tBuff: true },
|
|||
|
dmg: ({ talent, calc, attr }, { heal }) => heal(calc(attr.hp) * talent.e['复活·百分比生命'] + talent.e['复活·固定值'])
|
|||
|
}, {
|
|||
|
title: '终结技治疗量',
|
|||
|
dmg: ({ talent, calc, attr }, { heal }) => heal(calc(attr.hp) * talent.e['百分比生命'] + talent.e['固定值'])
|
|||
|
}, {
|
|||
|
title: '终结技治疗量(目标生命<=30%)',
|
|||
|
params: { tBuff: true },
|
|||
|
dmg: ({ talent, calc, attr }, { heal }) => heal(calc(attr.hp) * talent.e['百分比生命'] + talent.e['固定值'])
|
|||
|
}, {
|
|||
|
title: '1命治疗量',
|
|||
|
params: { tBuff: true },
|
|||
|
dmg: ({ calc, attr }, { heal }) => heal(calc(attr.hp) * 0.15 + 400)
|
|||
|
}, {
|
|||
|
title: '2命持续治疗量',
|
|||
|
params: { tBuff: true },
|
|||
|
dmg: ({ calc, attr }, { heal }) => heal(calc(attr.hp) * 0.06 + 160)
|
|||
|
}]
|
|||
|
|
|||
|
export const defDmgIdx = 1
|
|||
|
export const mainAttr = 'atk,cpct,cdmg,hp'
|
|||
|
|
|||
|
export const buffs = [{
|
|||
|
title: '娜塔莎6命',
|
|||
|
cons: 6,
|
|||
|
data: {
|
|||
|
aPlus: ({ calc, attr }) => calc(attr.hp) * 0.4
|
|||
|
}
|
|||
|
}, {
|
|||
|
title: '天赋-生机焕发:对生命值小于等于30%的目标提供治疗时,治疗量提高50%',
|
|||
|
check: ({ params }) => params.tBuff === true,
|
|||
|
data: {
|
|||
|
heal: 50
|
|||
|
}
|
|||
|
}, {
|
|||
|
title: '行迹-医者:治疗量提高10%',
|
|||
|
tree: 2,
|
|||
|
data: {
|
|||
|
heal: 10
|
|||
|
}
|
|||
|
}]
|