新增剩余所有角色伤害计算

This commit is contained in:
UCPr 2025-01-24 16:46:42 +08:00
parent a62109a6c0
commit afce42af23
31 changed files with 744 additions and 11 deletions

View file

@ -0,0 +1,33 @@
/** @type {import('../../BuffManager.ts').BuffManager['buffs']} */
export const buffs = [
{
name: '4影',
type: '增伤',
value: 0.3,
range: ['EQG1']
},
{
name: '额外能力:协议合同',
type: '暴击率',
value: 0.16
}
]
/** @type {import('../../Calculator.ts').Calculator['skills']} */
export const skills = [
{ name: '普攻:对账三段', type: 'AP3', element: 'Physical' },
{ name: '闪避反击:清算', type: 'CF' },
{
name: '2影格挡反击额外伤害',
type: 'Y2',
check: ({ avatar }) => avatar.rank >= 2,
isHide: true,
before: ({ areas, calc }) => {
areas.BasicArea = 3 * calc.get_DEF()
}
},
{ name: '强化E到期还拳(格挡反击)', type: 'EQG1', after: ({ damage }) => damage.add('Y2') },
{ name: '强化E到期还拳(格挡追击)', type: 'EQG2' },
{ name: '连携技:盖章,结算', type: 'RL' },
{ name: '终结技:拳债,全面清偿', type: 'RZ' }
]

View file

@ -0,0 +1,22 @@
{
"skill": {
"AP3": [
3.483,3.8,4.117,4.434,4.751,5.068,5.385,5.702,6.019,6.336,6.653,6.97,7.287,7.604,7.921,8.238
],
"CF": [
2.257,2.463,2.669,2.875,3.081,3.287,3.493,3.699,3.905,4.111,4.317,4.523,4.729,4.935,5.141,5.347
],
"EQG1": [
5.005,5.46,5.915,6.37,6.825,7.28,7.735,8.19,8.645,9.1,9.555,10.01,10.465,10.92,11.375,11.83
],
"EQG2": [
5.512,6.014,6.516,7.018,7.52,8.022,8.524,9.026,9.528,10.03,10.532,11.034,11.536,12.038,12.54,13.042
],
"RL": [
6.273,6.844,7.415,7.986,8.557,9.128,9.699,10.27,10.841,11.412,11.983,12.554,13.125,13.696,14.267,14.838
],
"RZ": [
16.43,17.924,19.418,20.912,22.406,23.9,25.394,26.888,28.382,29.876,31.37,32.864,34.358,35.852,37.346,38.84
]
}
}