ZZZ-Plugin/model/damage/character/零号·安比/calc.js
2025-08-12 02:47:00 +08:00

69 lines
No EOL
1.5 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/** @type {import('../../BuffManager.ts').BuffManager['buffs']} */
export const buffs = [
{
name: '2影',
type: '暴击率',
value: 0.12
},
{
name: '4影',
type: '无视抗性',
value: 0.12,
element: 'Electric'
},
{
name: '核心被动:电位差',
type: '增伤',
value: 'T1'
},
{
name: '核心被动:电位差',
type: '暴击伤害',
value: ({ calc }) => calc.get_CRITDMG() * calc.calc_value('T2'),
range: ['追加攻击']
},
{
name: '额外能力:超频',
type: '暴击率',
value: 0.1
},
{
name: '额外能力:超频',
type: '增伤',
value: 0.25,
range: ['追加攻击'],
is: {
team: true
}
}
]
/** @type {import('../../Calculator.ts').Calculator['skills']} */
export const skills = [
{ name: '感电每次', type: '感电' },
{ name: '普攻:电击穿五段', type: 'AP5' },
{ name: '闪避反击:地闪回击', type: 'CF' },
{ name: '特殊技苍光0', type: 'EPC0', isHide: true },
{
name: '特殊技:苍光',
type: 'EPC',
redirect: ['EPC', '追加攻击'],
isMain: true,
after: ({ damage }) => damage.add('EPC0')
},
{
name: '特殊技:雷殛',
type: 'EPL',
redirect: ['EPL', '追加攻击']
},
{ name: '强化特殊技:极雷断空', type: 'EQ' },
{ name: '连携技:疾跃落雷', type: 'RL' },
{ name: '终结技:斩空掠电', type: 'RZ' },
{
name: '6影电磁涡流',
type: 'Y6',
check: 6,
multiplier: 10,
redirect: '追加攻击'
}
]