完全重构伤害计算;支持异常伤害计算;支持所有武器、套装计算;新增悠真计算等

This commit is contained in:
UCPr 2025-01-14 02:18:42 +08:00
parent f7e1066773
commit 3f8e64af66
99 changed files with 4243 additions and 1615 deletions

View file

@ -0,0 +1,43 @@
/**
* @param {import('../BuffManager.ts').BuffManager} buffM
* @param {number} count 套装数量
*/
export function calc(buffM, count) {
const name = buffM.defaultBuff.name
switch (true) {
case (count >= 4):
buffM.new({
name: name + '4',
type: ,
value: 0,
element: ,
range: ['']
})
case (count >= 2):
buffM.new({
name: name + '2',
type: ,
value: 0,
element: ,
range: ['']
})
}
}
/** @type {import('../BuffManager.ts').BuffManager['buffs']} */
export const buffs = [
{
type: ,
value: 0,
check: 2,
element: ,
range: ['']
},
{
type: ,
value: 0,
check: 4,
element: ,
range: ['']
}
]