橘福福伤害计算

This commit is contained in:
UCPr 2025-08-16 02:01:59 +08:00
parent 38024f4fa5
commit 607b85c922
4 changed files with 151 additions and 0 deletions

View file

@ -0,0 +1,17 @@
/** @type {import('../BuffManager.ts').BuffManager['buffs']} */
export const buffs = [
{
type: '暴击伤害',
value: ({ calc }) => {
if (calc.get_CRITRate() >= 0.5) {
return 0.3
}
return 0.15
},
check: ({ buffM, avatar }) => buffM.setCount.山大王 >= 4 && avatar.avatar_profession === 2,
is: {
team: true,
stack: false
}
}
]