mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-24 17:19:25 +00:00
b2b9cfd555
* 组队计算中不可叠加类圣遗物不再会重复计算buff
50 lines
1.6 KiB
JavaScript
50 lines
1.6 KiB
JavaScript
export const details = [{
|
||
title: 'E点按伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.e['点按伤害'], 'e',)
|
||
},{
|
||
title: 'E长按伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.e['长按伤害'], 'e')
|
||
},{
|
||
title: '「超量装药弹头」伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.e['「超量装药弹头」伤害'], 'e')
|
||
},{
|
||
title: '2命额外伤害',
|
||
check: ({ cons }) => cons >= 2,
|
||
dmg: ({ talent, calc, attr }, { basic }) => basic(calc(attr.atk) * 120 / 100, 'e')
|
||
},{
|
||
title: 'e持续治疗',
|
||
dmg: ({ attr, calc, talent }, { heal }) => heal(talent.e['持续治疗量2'][0] * calc(attr.hp) / 100 + talent.e['持续治疗量2'][1] * 1)
|
||
},{
|
||
title: '圆阵掷弹爆轰术害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.q['爆轰榴弹伤害'], 'q',)
|
||
},{
|
||
title: 'Q分裂弹伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.q['二重毁伤弹伤害'], 'q')
|
||
},{
|
||
title: '6命额外治疗',
|
||
check: ({ cons }) => cons >= 6,
|
||
dmg: ({ attr, calc, talent }, { heal }) => heal( calc(attr.hp) * 10 / 100 )
|
||
}]
|
||
|
||
export const defDmgIdx = 2
|
||
export const mainAttr = 'atk,hp,cpct,cdmg'
|
||
|
||
export const buffs = [{
|
||
title: '夏沃蕾天赋:火元素与雷元素抗性降低[kx]%',
|
||
data: {
|
||
kx: 40
|
||
}
|
||
},{
|
||
title: '夏沃蕾天赋:发射「超量装药弹头」后攻击力提升[atkPct]%',
|
||
data: {
|
||
atkPct: ({ calc, attr }) => Math.min( 40 , calc(attr.hp) / 1000 )
|
||
}
|
||
},{
|
||
title: '夏沃蕾6命:队伍中的角色受到「近迫式急促拦射」的治疗后,获得[dmg]%火元素伤害加成与雷元素伤害加成',
|
||
cons: 6,
|
||
data: {
|
||
dmg: 60
|
||
}
|
||
}]
|
||
|
||
export const createdBy = 'liangshi' |