miao-plugin/resources/meta-gs/character/千织/calc.js

37 lines
1.2 KiB
JavaScript
Raw Normal View History

2024-02-19 11:44:55 +00:00
export const details = [{
2024-02-19 10:49:03 +00:00
title: 'E后普攻一段',
dmg: ({ talent }, dmg) => dmg(talent.a['一段伤害'], 'a')
2024-02-19 11:44:55 +00:00
},{
2024-02-19 10:49:03 +00:00
title: 'E突刺伤害',
dmg: ({ talent, attr }, { basic }) => basic(talent.e['上挑攻击伤害2'][0] * attr.atk / 100 + talent.e['上挑攻击伤害2'][1] * attr.def / 100 , 'e')
2024-02-19 11:44:55 +00:00
},{
2024-02-19 10:49:03 +00:00
title: 'E人偶伤害',
dmg: ({ talent, attr }, { basic }) => basic(talent.e['袖伤害2'][0] * attr.atk / 100 + talent.e['袖伤害2'][1] * attr.def / 100 , 'e')
2024-02-19 11:44:55 +00:00
},{
2024-02-19 10:49:03 +00:00
title: '2命人偶切斩伤害',
check: ({ cons }) => cons >= 2,
dmg: ({ talent, attr }, { basic }) => basic( ( talent.e['袖伤害2'][0] * attr.atk / 100 + talent.e['袖伤害2'][1] * attr.def / 100 ) * 1.7 , 'e')
2024-02-19 11:44:55 +00:00
},{
2024-02-19 10:49:03 +00:00
title: 'Q伤害',
dmg: ({ talent, attr }, { basic }) => basic(talent.q['技能伤害2'][0] * attr.atk / 100 + talent.q['技能伤害2'][1] * attr.def / 100 , 'q')
}]
export const defDmgIdx = 2
export const mainAttr = 'atk,def,cpct,cdmg,dmg'
2024-02-19 11:44:55 +00:00
export const buffs = [{
2024-02-19 10:49:03 +00:00
title: '千织天赋:队伍中角色创造岩造物时,获得[dmg]%岩伤加成',
data: {
dmg: 20
}
2024-02-19 11:44:55 +00:00
},{
2024-02-19 10:49:03 +00:00
title: '千织6命普攻造成的伤害提升[aPlus]',
2024-02-19 11:44:55 +00:00
sort: 9,
2024-02-19 10:49:03 +00:00
cons: 6,
data: {
aPlus: ({ attr }) => attr.def * 235 / 100
}
}]
export const createdBy = 'liangshi'