mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
完全重构伤害计算;支持异常伤害计算;支持所有武器、套装计算;新增悠真计算等
This commit is contained in:
parent
f7e1066773
commit
3f8e64af66
99 changed files with 4243 additions and 1615 deletions
50
model/damage/character/朱鸢/calc.js
Normal file
50
model/damage/character/朱鸢/calc.js
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
/** @type {import('../../BuffManager.ts').BuffManager['buffs']} */
|
||||
export const buffs = [
|
||||
{
|
||||
name: '4影',
|
||||
type: '无视抗性',
|
||||
value: 0.25,
|
||||
range: ['AQ', 'CCQ']
|
||||
},
|
||||
{
|
||||
name: '2影',
|
||||
type: '增伤',
|
||||
value: 0.1 * 5,
|
||||
element: 'Ether',
|
||||
range: ['AQ', 'CCQ']
|
||||
},
|
||||
{
|
||||
name: '核心被动:特种弹药',
|
||||
type: '增伤',
|
||||
value: 'T',
|
||||
range: ['AQ', 'CCQ']
|
||||
},
|
||||
{
|
||||
name: '额外能力:武装协同',
|
||||
type: '暴击率',
|
||||
value: 0.3
|
||||
}
|
||||
]
|
||||
|
||||
/** @type {import('../../Calculator.ts').Calculator['skills']} */
|
||||
export const skills = [
|
||||
{ name: '普攻三段(以太)', type: 'AQY3' },
|
||||
{ name: '冲刺攻击:火力压制', type: 'CCQ' },
|
||||
{
|
||||
name: '强化特殊技:全弹连射',
|
||||
type: 'EQ',
|
||||
after: ({ damage, calc }) => {
|
||||
if (calc.avatar.rank >= 6) {
|
||||
const EQ2 = calc.calc_skill({
|
||||
name: '6影以太鹿弹',
|
||||
type: 'EQ2',
|
||||
fixedMultiplier: 2.2 * 4,
|
||||
element: 'Ether'
|
||||
})
|
||||
damage.add(EQ2)
|
||||
}
|
||||
}
|
||||
},
|
||||
{ name: '连携技:歼灭模式', type: 'RL' },
|
||||
{ name: '终结技:歼灭模式MAX', type: 'RZ' }
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue