mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 12:51:30 +00:00
65 lines
1.8 KiB
JavaScript
65 lines
1.8 KiB
JavaScript
export const details = [{
|
||
title: '满蓄力重击伤害',
|
||
params: { a2: true },
|
||
dmg: ({ talent }, dmg) => dmg(talent.a['隐具魔术箭伤害'], 'a2')
|
||
}, {
|
||
title: '礼花术弹伤害',
|
||
params: { catcathat: true },
|
||
dmg: ({ talent, attr, calc }, { basic }) => {
|
||
const atk = calc(attr.atk)
|
||
const a2dmg = atk * 0.8 + atk * talent.a['礼花术弹伤害'] / 100
|
||
return basic(a2dmg, 'a2')
|
||
}
|
||
}, {
|
||
title: '满层E伤害',
|
||
dmg: ({ talent }, dmg) => {
|
||
let eDmg = dmg(talent.e['技能伤害'], 'e')
|
||
let ePlusDmg = dmg(talent.e['技能伤害加成'] * 5, 'e')
|
||
return {
|
||
dmg: eDmg.dmg + ePlusDmg.dmg,
|
||
avg: eDmg.avg + ePlusDmg.avg
|
||
}
|
||
}
|
||
}, {
|
||
title: 'Q总伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'] + talent.q['引爆礼花伤害'], 'q')
|
||
}]
|
||
|
||
export const defDmgIdx = 0
|
||
export const mainAttr = 'atk,cpct,cdmg'
|
||
|
||
export const buffs = [{
|
||
check: ({ params }) => params.catcathat === true,
|
||
title: '天赋-惊险演出:基于攻击力的80%,提高怪笑猫猫帽造成的伤害'
|
||
}, {
|
||
title: '天赋-完场喝彩:队伍有三名火元素角色时,对处于火元素影响下的敌人造成的伤害提升[dmg]%',
|
||
data: {
|
||
dmg: 100
|
||
}
|
||
}, {
|
||
title: '双火共鸣:攻击力提高[atkPct]%',
|
||
data: {
|
||
atkPct: 25
|
||
}
|
||
}, {
|
||
title: '林尼2命:在场6秒后,暴击伤害提高60%',
|
||
cons: 2,
|
||
data: {
|
||
cdmg: 60
|
||
}
|
||
}, {
|
||
title: '林尼4命:重击命中敌人后,降低敌人火元素抗性20%',
|
||
cons: 4,
|
||
data: {
|
||
kx: 20
|
||
}
|
||
}, {
|
||
check: ({ params }) => params.a2 === true,
|
||
title: '林尼6命:发射隐具魔术箭时,额外发射一枚礼花术弹·重奏,造成礼花术弹80%的伤害',
|
||
sort: 9,
|
||
cons: 6,
|
||
data: {
|
||
a2Plus: ({ talent, attr, calc }) => talent.a['礼花术弹伤害'] / 100 * calc(attr.atk) * 0.8
|
||
}
|
||
}]
|