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
34
model/damage/weapon/霰落星殿.js
Normal file
34
model/damage/weapon/霰落星殿.js
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
// 函数导出:
|
||||
|
||||
/**
|
||||
* @param {import('../BuffManager.ts').BuffManager} buffM
|
||||
* @param {number} star 进阶星数
|
||||
*/
|
||||
// export function calc(buffM, star) {
|
||||
// buffM.new({
|
||||
// type: '暴击伤害',
|
||||
// value: [0.5, 0.57, 0.65, 0.72, 0.8][star - 1],
|
||||
// isForever: true
|
||||
// })
|
||||
// buffM.new({
|
||||
// type: '增伤',
|
||||
// value: [0.2, 0.23, 0.26, 0.29, 0.32][star - 1] * 2,
|
||||
// element: 'Ice'
|
||||
// })
|
||||
// }
|
||||
|
||||
// 直接导出:
|
||||
|
||||
/** @type {import('../BuffManager.ts').BuffManager['buffs']} */
|
||||
export const buffs = [
|
||||
{
|
||||
type: '暴击伤害',
|
||||
value: [0.5, 0.57, 0.65, 0.72, 0.8],
|
||||
isForever: true
|
||||
},
|
||||
{
|
||||
type: '增伤',
|
||||
value: [0.2, 0.23, 0.26, 0.29, 0.32].map(v => v * 2),
|
||||
element: 'Ice'
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue