mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
橘福福伤害计算
This commit is contained in:
parent
38024f4fa5
commit
607b85c922
4 changed files with 151 additions and 0 deletions
17
model/damage/set/山大王.js
Normal file
17
model/damage/set/山大王.js
Normal 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
|
||||
}
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue