ZZZ-Plugin/model/damage/set/山大王.js
2025-08-16 02:01:59 +08:00

17 lines
No EOL
393 B
JavaScript

/** @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
}
}
]