mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 05:07:46 +00:00
新增剩余所有角色伤害计算
This commit is contained in:
parent
a62109a6c0
commit
afce42af23
31 changed files with 744 additions and 11 deletions
|
|
@ -296,7 +296,6 @@ export class ZZZAvatarInfo {
|
|||
penratio: this.getProperty('穿透率'),
|
||||
sprecover: this.getProperty('能量自动回复'),
|
||||
};
|
||||
logger.debug('basic_properties', data);
|
||||
return data;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ export interface buff {
|
|||
* @function
|
||||
* 函数返回值则为提高值
|
||||
* @string
|
||||
* 角色自身的buff提高值可能随技能/天赋等级提高而提高,此时可以于data.json的"buff"中添加对应的倍率信息,此时value即为键名,其首字母必须为对应技能的基类(参考技能类型命名标准)
|
||||
* 角色自身的buff提高值可能随技能/天赋等级提高而提高,此时可以于data.json的"buff"中添加对应的倍率信息(同上支持百分比提高),此时value即为键名,其首字母必须为对应技能的基类(参考技能类型命名标准)
|
||||
*/
|
||||
value: number | (({ avatar, buffM, calc }: {
|
||||
avatar: ZZZAvatarInfo
|
||||
|
|
|
|||
|
|
@ -129,9 +129,9 @@ export class Calculator {
|
|||
critDMG: (CriticalArea !== 1) ? BasicArea * 异常暴击伤害 * BoostArea * VulnerabilityArea * ResistanceArea * DefenceArea * AnomalyProficiencyArea * LevelArea * AnomalyBoostArea : 0,
|
||||
expectDMG: BasicArea * CriticalArea * BoostArea * VulnerabilityArea * ResistanceArea * DefenceArea * AnomalyProficiencyArea * LevelArea * AnomalyBoostArea
|
||||
} : {
|
||||
critDMG: BasicArea * 暴击伤害 * BoostArea * VulnerabilityArea * ResistanceArea * DefenceArea,
|
||||
expectDMG: BasicArea * CriticalArea * BoostArea * VulnerabilityArea * ResistanceArea * DefenceArea
|
||||
};
|
||||
critDMG: BasicArea * 暴击伤害 * BoostArea * VulnerabilityArea * ResistanceArea * DefenceArea,
|
||||
expectDMG: BasicArea * CriticalArea * BoostArea * VulnerabilityArea * ResistanceArea * DefenceArea
|
||||
};
|
||||
const damage = { skill, props, areas, result };
|
||||
if (skill.after) {
|
||||
damage.add = (d) => {
|
||||
|
|
@ -276,7 +276,7 @@ export class Calculator {
|
|||
}
|
||||
else {
|
||||
add = this.calc_value(value, buff);
|
||||
if (add < 1 && isRatio && Array.isArray(value))
|
||||
if (add < 1 && isRatio && (typeof value === 'string' || Array.isArray(value)))
|
||||
add *= initial;
|
||||
}
|
||||
logger.debug(`\tBuff:${buff.name}对${buff.range || '全类型'}增加${add}${buff.element || ''}${type}`);
|
||||
|
|
|
|||
|
|
@ -413,7 +413,7 @@ export class Calculator {
|
|||
add = value * initial
|
||||
} else {
|
||||
add = this.calc_value(value, buff)
|
||||
if (add < 1 && isRatio && Array.isArray(value))
|
||||
if (add < 1 && isRatio && (typeof value === 'string' || Array.isArray(value)))
|
||||
add *= initial
|
||||
}
|
||||
logger.debug(`\tBuff:${buff.name}对${buff.range || '全类型'}增加${add}${buff.element || ''}${type}`)
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
* @function
|
||||
* 函数返回值则为提高值
|
||||
* @string
|
||||
* 角色自身的buff提高值可能随技能/天赋等级提高而提高,此时可以于data.json的"buff"中添加对应的倍率信息,此时value即为键名,其首字母必须为对应技能的基类(参考技能类型命名标准)
|
||||
* 角色自身的buff提高值可能随技能/天赋等级提高而提高,此时可以于data.json的"buff"中添加对应的倍率信息(同上支持百分比提高),此时value即为键名,其首字母必须为对应技能的基类(参考技能类型命名标准)
|
||||
*/
|
||||
value: number | number[] | Function | string
|
||||
/** Buff增益技能类型范围,无则对全部生效;参考技能类型命名标准 */
|
||||
|
|
|
|||
37
model/damage/character/丽娜/calc.js
Normal file
37
model/damage/character/丽娜/calc.js
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/** @type {import('../../BuffManager.ts').BuffManager['buffs']} */
|
||||
export const buffs = [
|
||||
{
|
||||
name: '2影',
|
||||
type: '增伤',
|
||||
value: 0.15
|
||||
},
|
||||
{
|
||||
name: '6影',
|
||||
type: '增伤',
|
||||
value: 0.15,
|
||||
element: 'Electric'
|
||||
},
|
||||
{
|
||||
name: '额外能力:完美舞会',
|
||||
type: '异常持续时间',
|
||||
value: 3,
|
||||
range: ['感电']
|
||||
},
|
||||
{
|
||||
name: '额外能力:完美舞会',
|
||||
type: '增伤',
|
||||
value: 0.1,
|
||||
element: 'Electric'
|
||||
}
|
||||
]
|
||||
|
||||
/** @type {import('../../Calculator.ts').Calculator['skills']} */
|
||||
export const skills = [
|
||||
{ name: '感电每次', type: '感电' },
|
||||
{ name: '紊乱', type: '紊乱' },
|
||||
{ name: '蓄力普攻:赶走傻瓜', type: 'AX' },
|
||||
{ name: '闪避反击:邦布回魂', type: 'CF' },
|
||||
{ name: '强化特殊技:笨蛋消失魔法', type: 'EQ' },
|
||||
{ name: '连携技:侍者守则', type: 'RL' },
|
||||
{ name: '终结技:女王的侍从们', type: 'RZ' }
|
||||
]
|
||||
19
model/damage/character/丽娜/data.json
Normal file
19
model/damage/character/丽娜/data.json
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"skill": {
|
||||
"AX": [
|
||||
3.151,3.438,3.725,4.012,4.299,4.586,4.873,5.16,5.447,5.734,6.021,6.308,6.595,6.882,7.169,7.456
|
||||
],
|
||||
"CF": [
|
||||
2.276,2.483,2.69,2.897,3.104,3.311,3.518,3.725,3.932,4.139,4.346,4.553,4.76,4.967,5.174,5.381
|
||||
],
|
||||
"EQ": [
|
||||
5.46,5.957,6.454,6.951,7.448,7.945,8.442,8.939,9.436,9.933,10.43,10.927,11.424,11.921,12.418,12.915
|
||||
],
|
||||
"RL": [
|
||||
10.13,11.051,11.972,12.893,13.814,14.735,15.656,16.577,17.498,18.419,19.34,20.261,21.182,22.103,23.024,23.945
|
||||
],
|
||||
"RZ": [
|
||||
21.167,23.092,25.017,26.942,28.867,30.792,32.717,34.642,36.567,38.492,40.417,42.342,44.267,46.192,48.117,50.042
|
||||
]
|
||||
}
|
||||
}
|
||||
64
model/damage/character/凯撒/calc.js
Normal file
64
model/damage/character/凯撒/calc.js
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
/** @type {import('../../BuffManager.ts').BuffManager['buffs']} */
|
||||
export const buffs = [
|
||||
{
|
||||
name: '1影',
|
||||
type: '无视抗性',
|
||||
value: 0.15
|
||||
},
|
||||
{
|
||||
name: '2影',
|
||||
type: '攻击力',
|
||||
value: ({ calc }) => calc.calc_value('T') * 0.5
|
||||
},
|
||||
{
|
||||
name: '6影',
|
||||
type: '暴击率',
|
||||
value: 1,
|
||||
isForever: true,
|
||||
range: ['EQQ', 'LT']
|
||||
},
|
||||
{
|
||||
name: '6影',
|
||||
type: '增伤',
|
||||
value: 1,
|
||||
isForever: true,
|
||||
range: ['EQQ', 'LT']
|
||||
},
|
||||
{
|
||||
name: '6影',
|
||||
type: '暴击率',
|
||||
value: 0.3
|
||||
},
|
||||
{
|
||||
name: '6影',
|
||||
type: '暴击伤害',
|
||||
value: 0.6
|
||||
},
|
||||
{
|
||||
name: '核心被动:坚韧之壁',
|
||||
type: '攻击力',
|
||||
value: 'T'
|
||||
},
|
||||
{
|
||||
name: '额外能力:战意激昂',
|
||||
type: '增伤',
|
||||
value: 0.25
|
||||
},
|
||||
{
|
||||
name: '技能:攻防转换',
|
||||
type: '冲击力',
|
||||
value: 'E'
|
||||
}
|
||||
]
|
||||
|
||||
/** @type {import('../../Calculator.ts').Calculator['skills']} */
|
||||
export const skills = [
|
||||
{ name: '普攻:横行斩打六段', type: 'AP6' },
|
||||
{ name: '蓄力普攻:此路不通!', type: 'AX' },
|
||||
{ name: '冲刺攻击:猪突猛进', type: 'CC' },
|
||||
{ name: '闪避反击:以牙还牙', type: 'CF' },
|
||||
{ name: '强化特殊技:招架反击', type: 'EQP' },
|
||||
{ name: '强化特殊技:超强力盾击', type: 'EQQ' },
|
||||
{ name: '连携技:路怒震打', type: 'RL' },
|
||||
{ name: '终结技:暴君猛击', type: 'RZ' }
|
||||
]
|
||||
36
model/damage/character/凯撒/data.json
Normal file
36
model/damage/character/凯撒/data.json
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
"skill": {
|
||||
"AP6": [
|
||||
3.999,4.363,4.727,5.091,5.455,5.819,6.183,6.547,6.911,7.275,7.639,8.003,8.367,8.731,9.095,9.459
|
||||
],
|
||||
"AX": [
|
||||
1.263,1.378,1.493,1.608,1.723,1.838,1.953,2.068,2.183,2.298,2.413,2.528,2.643,2.758,2.873,2.988
|
||||
],
|
||||
"CC": [
|
||||
0.623,0.68,0.737,0.794,0.851,0.908,0.965,1.022,1.079,1.136,1.193,1.25,1.307,1.364,1.421,1.478
|
||||
],
|
||||
"CF": [
|
||||
1.935,2.111,2.287,2.463,2.639,2.815,2.991,3.167,3.343,3.519,3.695,3.871,4.047,4.223,4.399,4.575
|
||||
],
|
||||
"EQP": [
|
||||
3.872,4.224,4.576,4.928,5.28,5.632,5.984,6.336,6.688,7.04,7.392,7.744,8.096,8.448,8.8,9.152
|
||||
],
|
||||
"EQQ": [
|
||||
4.257,4.644,5.031,5.418,5.805,6.192,6.579,6.966,7.353,7.74,8.127,8.514,8.901,9.288,9.675,10.062
|
||||
],
|
||||
"RL": [
|
||||
6.388,6.969,7.55,8.131,8.712,9.293,9.874,10.455,11.036,11.617,12.198,12.779,13.36,13.941,14.522,15.103
|
||||
],
|
||||
"RZ": [
|
||||
20.123,21.953,23.783,25.613,27.443,29.273,31.103,32.933,34.763,36.593,38.423,40.253,42.083,43.913,45.743,47.573
|
||||
]
|
||||
},
|
||||
"buff": {
|
||||
"T": [
|
||||
40,135,240,400,650,900,1000
|
||||
],
|
||||
"E": [
|
||||
0.09,0.1,0.11,0.12,0.13,0.14,0.15,0.16,0.17,0.18,0.19,0.2,0.21,0.22,0.23,0.24
|
||||
]
|
||||
}
|
||||
}
|
||||
41
model/damage/character/可琳/calc.js
Normal file
41
model/damage/character/可琳/calc.js
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/** @type {import('../../BuffManager.ts').BuffManager['buffs']} */
|
||||
export const buffs = [
|
||||
{
|
||||
name: '1影',
|
||||
type: '增伤',
|
||||
value: 0.12
|
||||
},
|
||||
{
|
||||
name: '2影',
|
||||
type: '无视抗性',
|
||||
value: 0.005 * 20
|
||||
},
|
||||
{
|
||||
name: '6影',
|
||||
type: '倍率',
|
||||
value: 0.03 * 40,
|
||||
range: ['CF', 'EQ0', 'LK', 'LT'] // EQ只能加1次
|
||||
},
|
||||
{
|
||||
name: '核心被动:专注',
|
||||
type: '增伤',
|
||||
value: 'T',
|
||||
range: ['AP3', 'EQ']
|
||||
}
|
||||
]
|
||||
|
||||
/** @type {import('../../Calculator.ts').Calculator['skills']} */
|
||||
export const skills = [
|
||||
{ name: '强击', type: '强击' },
|
||||
{ name: '普攻:扫除开始五段', type: 'AP5' },
|
||||
{ name: '闪避反击:[舍]', type: 'CF' },
|
||||
{
|
||||
name: '强化特殊技:小心裙角',
|
||||
type: 'EQ0',
|
||||
isHide: true,
|
||||
after: ({ damage }) => damage.x(2)
|
||||
},
|
||||
{ name: '强化特殊技:小心裙角', type: 'EQ', after: ({ damage }) => damage.add('EQ0') },
|
||||
{ name: '连携技:抱歉…', type: 'RL' },
|
||||
{ name: '终结技:非、非常抱歉!', type: 'RZ' }
|
||||
]
|
||||
27
model/damage/character/可琳/data.json
Normal file
27
model/damage/character/可琳/data.json
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"skill": {
|
||||
"AP5": [
|
||||
4.212,4.595,4.978,5.361,5.744,6.127,6.51,6.893,7.276,7.659,8.042,8.425,8.808,9.191,9.574,9.957
|
||||
],
|
||||
"CF": [
|
||||
2.712,2.96,3.208,3.456,3.704,3.952,4.2,4.448,4.696,4.944,5.192,5.44,5.688,5.936,6.184,6.432
|
||||
],
|
||||
"EQ0": [
|
||||
3.451,3.765,4.079,4.393,4.707,5.021,5.335,5.649,5.963,6.277,6.591,6.905,7.219,7.533,7.847,8.161
|
||||
],
|
||||
"EQ": [
|
||||
10.352,11.29,12.236,13.178,14.12,15.062,16.004,16.946,17.888,18.83,19.772,20.714,21.656,22.598,23.54,24.482
|
||||
],
|
||||
"RL": [
|
||||
6.873,7.498,8.123,8.748,9.373,9.998,10.623,11.248,11.873,12.498,13.123,13.748,14.373,14.998,15.623,16.247
|
||||
],
|
||||
"RZ": [
|
||||
20.288,22.133,23.978,25.823,27.668,29.513,31.358,33.203,35.048,36.893,38.738,40.583,42.428,44.273,46.118,47.963
|
||||
]
|
||||
},
|
||||
"buff": {
|
||||
"T": [
|
||||
0.187,0.218,0.25,0.281,0.312,0.343,0.375
|
||||
]
|
||||
}
|
||||
}
|
||||
31
model/damage/character/妮可/calc.js
Normal file
31
model/damage/character/妮可/calc.js
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
/** @type {import('../../BuffManager.ts').BuffManager['buffs']} */
|
||||
export const buffs = [
|
||||
{
|
||||
name: '6影',
|
||||
type: '暴击率',
|
||||
value: 0.015 * 10
|
||||
},
|
||||
{
|
||||
name: '核心被动:机关箱',
|
||||
type: '无视防御',
|
||||
value: 'T'
|
||||
},
|
||||
{
|
||||
name: '额外能力:狡兔三窟',
|
||||
type: '增伤',
|
||||
value: 0.25,
|
||||
element: 'Ether'
|
||||
}
|
||||
]
|
||||
|
||||
/** @type {import('../../Calculator.ts').Calculator['skills']} */
|
||||
export const skills = [
|
||||
{ name: '侵蚀每次', type: '侵蚀' },
|
||||
{ name: '闪避反击:牵制炮击', type: 'CF' },
|
||||
{ name: '强化E:夹心糖衣炮弹炮击', type: 'EQP0', isHide: true },
|
||||
{ name: '强化E:夹心糖衣炮弹(点按)', type: 'EQP', after: ({ damage }) => damage.add('EQP0') },
|
||||
{ name: '连携技:高价以太爆弹炮击', type: 'RL0', isHide: true },
|
||||
{ name: '连携技:高价以太爆弹', type: 'RL', after: ({ damage }) => damage.add('RL0') },
|
||||
{ name: '终结技:特制以太榴弹炮击', type: 'RZ0', isHide: true },
|
||||
{ name: '终结技:特制以太榴弹', type: 'RZ', after: ({ damage }) => damage.add('RZ0') },
|
||||
]
|
||||
30
model/damage/character/妮可/data.json
Normal file
30
model/damage/character/妮可/data.json
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"skill": {
|
||||
"CF": [
|
||||
1.824,1.99,2.156,2.322,2.488,2.654,2.82,2.986,3.152,3.318,3.484,3.65,3.816,3.982,4.148,4.314
|
||||
],
|
||||
"EQP0": [
|
||||
2.15,2.346,2.542,2.738,2.934,3.13,3.326,3.522,3.718,3.914,4.11,4.306,4.502,4.698,4.894,5.09
|
||||
],
|
||||
"EQP": [
|
||||
3.87,4.222,4.574,4.926,5.278,5.63,5.982,6.334,6.686,7.038,7.39,7.742,8.094,8.446,8.798,9.15
|
||||
],
|
||||
"RL0": [
|
||||
2.096,2.288,2.48,2.672,2.864,3.056,3.248,3.44,3.632,3.824,4.016,4.208,4.4,4.592,4.784,4.976
|
||||
],
|
||||
"RL": [
|
||||
2.83,3.088,3.346,3.604,3.862,4.12,4.378,4.636,4.894,5.152,5.41,5.668,5.926,6.184,6.442,6.7
|
||||
],
|
||||
"RZ0": [
|
||||
6.468,7.056,7.644,8.232,8.82,9.408,9.996,10.584,11.172,11.76,12.348,12.936,13.524,14.112,14.7,15.288
|
||||
],
|
||||
"RZ": [
|
||||
8.732,9.526,10.32,11.114,11.908,12.702,13.496,14.29,15.084,15.878,16.672,17.466,18.26,19.054,19.848,20.642
|
||||
]
|
||||
},
|
||||
"buff": {
|
||||
"T": [
|
||||
0.2,0.25,0.3,0.34,0.36,0.38,0.4
|
||||
]
|
||||
}
|
||||
}
|
||||
19
model/damage/character/安比/calc.js
Normal file
19
model/damage/character/安比/calc.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/** @type {import('../../BuffManager.ts').BuffManager['buffs']} */
|
||||
export const buffs = [
|
||||
{
|
||||
name: '6影',
|
||||
type: '增伤',
|
||||
value: 0.45,
|
||||
range: ['A', 'CC']
|
||||
}
|
||||
]
|
||||
|
||||
/** @type {import('../../Calculator.ts').Calculator['skills']} */
|
||||
export const skills = [
|
||||
{ name: '感电每段', type: '感电' },
|
||||
{ name: '普攻:落雷', type: 'AX' },
|
||||
{ name: '闪避反击:迅雷', type: 'CF' },
|
||||
{ name: '强化特殊技:苍雷斩', type: 'EQ' },
|
||||
{ name: '连携技:电磁引擎', type: 'RL' },
|
||||
{ name: '终结技:过载引擎', type: 'RZ' }
|
||||
]
|
||||
19
model/damage/character/安比/data.json
Normal file
19
model/damage/character/安比/data.json
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"skill": {
|
||||
"AX": [
|
||||
3.286,3.585,3.884,4.183,4.482,4.781,5.08,5.379,5.678,5.977,6.276,6.575,6.874,7.173,7.472,7.771
|
||||
],
|
||||
"CF": [
|
||||
1.802,1.966,2.13,2.294,2.458,2.622,2.786,2.95,3.114,3.278,3.442,3.606,3.77,3.934,4.098,4.262
|
||||
],
|
||||
"EQ": [
|
||||
5.83,6.36,6.89,7.42,7.95,8.48,9.01,9.54,10.07,10.6,11.13,11.66,12.19,12.72,13.25,13.78
|
||||
],
|
||||
"RL": [
|
||||
5.424,5.918,6.412,6.906,7.4,7.894,8.388,8.882,9.376,9.87,10.364,10.858,11.352,11.846,12.34,12.834
|
||||
],
|
||||
"RZ": [
|
||||
15.126,16.502,17.878,19.254,20.63,22.006,23.382,24.758,26.134,27.51,28.886,30.262,31.638,33.014,34.39,35.766
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -82,7 +82,7 @@
|
|||
// type: 'AX3',
|
||||
// after: ({ avatar, damage }) => avatar.rank >= 6 && damage.add('AX2')
|
||||
// })
|
||||
// calc.new({ name: '强化特殊技:飞雪', type: 'EQ' })
|
||||
// calc.new({ name: '强化特殊技:飞雪', type: 'EQ1' })
|
||||
// calc.new({ name: '强化特殊技:飞雪(二段)', type: 'EQ2' })
|
||||
// calc.new({ name: '连携技:春临', type: 'RL' })
|
||||
// calc.new({ name: '终结技:名残雪', type: 'RZ' })
|
||||
|
|
@ -166,7 +166,7 @@ export const skills = [
|
|||
type: 'AX3',
|
||||
after: ({ avatar, damage }) => avatar.rank >= 6 && damage.add('AX2')
|
||||
},
|
||||
{ name: '强化特殊技:飞雪', type: 'EQ' },
|
||||
{ name: '强化特殊技:飞雪', type: 'EQ1' },
|
||||
{ name: '强化特殊技:飞雪(二段)', type: 'EQ2' },
|
||||
{ name: '连携技:春临', type: 'RL' },
|
||||
{ name: '终结技:名残雪', type: 'RZ' }
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
"AX3": [
|
||||
21.411,23.358,25.305,27.252,29.199,31.146,33.093,35.04,36.987,38.934,40.881,42.828,44.775,46.722,48.669,50.616
|
||||
],
|
||||
"EQ": [
|
||||
"EQ1": [
|
||||
3.934,4.293,4.652,5.011,5.37,5.729,6.088,6.447,6.806,7.165,7.524,7.883,8.242,8.601,8.96,9.319
|
||||
],
|
||||
"EQ2": [
|
||||
|
|
|
|||
33
model/damage/character/本/calc.js
Normal file
33
model/damage/character/本/calc.js
Normal 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' }
|
||||
]
|
||||
22
model/damage/character/本/data.json
Normal file
22
model/damage/character/本/data.json
Normal 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
|
||||
]
|
||||
}
|
||||
}
|
||||
30
model/damage/character/格莉丝/calc.js
Normal file
30
model/damage/character/格莉丝/calc.js
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/** @type {import('../../BuffManager.ts').BuffManager['buffs']} */
|
||||
export const buffs = [
|
||||
{
|
||||
name: '2影',
|
||||
type: '无视抗性',
|
||||
value: 0.085
|
||||
},
|
||||
{
|
||||
name: '额外能力:技术支持班组',
|
||||
type: '异常增伤',
|
||||
value: 0.18 * 2,
|
||||
range: ['感电']
|
||||
}
|
||||
]
|
||||
|
||||
/** @type {import('../../Calculator.ts').Calculator['skills']} */
|
||||
export const skills = [
|
||||
{ name: '感电每次', type: '感电' },
|
||||
{ name: '紊乱', type: '紊乱' },
|
||||
{ name: '闪避反击:违章处罚', type: 'CF' },
|
||||
{
|
||||
name: '强化特殊技:超规工程清障',
|
||||
type: 'EQ',
|
||||
after: ({ avatar, damage }) => {
|
||||
damage.x(avatar.rank >= 6 ? 6 : 2)
|
||||
}
|
||||
},
|
||||
{ name: '连携技:协作施工', type: 'RL' },
|
||||
{ name: '终结技:工程爆破请勿接近', type: 'RZ' }
|
||||
]
|
||||
16
model/damage/character/格莉丝/data.json
Normal file
16
model/damage/character/格莉丝/data.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"skill": {
|
||||
"CF": [
|
||||
1.642,1.792,1.942,2.092,2.242,2.392,2.542,2.692,2.842,2.992,3.142,3.292,3.442,3.592,3.742,3.892
|
||||
],
|
||||
"EQ": [
|
||||
1.669,1.821,1.973,2.125,2.277,2.429,2.581,2.733,2.885,3.037,3.189,3.341,3.493,3.645,3.797,3.949
|
||||
],
|
||||
"RL": [
|
||||
5.713,6.233,6.753,7.273,7.793,8.313,8.833,9.353,9.873,10.393,10.913,11.433,11.953,12.473,12.993,13.513
|
||||
],
|
||||
"RZ": [
|
||||
14.788,16.132,17.478,18.823,20.168,21.513,22.858,24.203,25.548,26.893,28.238,29.583,30.928,32.272,33.618,34.963
|
||||
]
|
||||
}
|
||||
}
|
||||
37
model/damage/character/比利/calc.js
Normal file
37
model/damage/character/比利/calc.js
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/** @type {import('../../BuffManager.ts').BuffManager['buffs']} */
|
||||
export const buffs = [
|
||||
{
|
||||
name: '2影',
|
||||
type: '增伤',
|
||||
value: 0.25,
|
||||
isForever: true,
|
||||
range: ['CF']
|
||||
},
|
||||
{
|
||||
name: '4影',
|
||||
type: '暴击率',
|
||||
value: 0.32,
|
||||
range: ['EQ']
|
||||
},
|
||||
{
|
||||
name: '6影',
|
||||
type: '增伤',
|
||||
value: 0.06 * 5
|
||||
},
|
||||
{
|
||||
name: '额外能力:骑士战队',
|
||||
type: '增伤',
|
||||
value: 0.5 * 2,
|
||||
range: ['RZ']
|
||||
}
|
||||
]
|
||||
|
||||
/** @type {import('../../Calculator.ts').Calculator['skills']} */
|
||||
export const skills = [
|
||||
{ name: '强击', type: '强击' },
|
||||
{ name: '冲刺攻击(周身射击)', type: 'CCS' },
|
||||
{ name: '闪避反击:公平决斗', type: 'CF' },
|
||||
{ name: '强化特殊技:清场时间', type: 'EQ' },
|
||||
{ name: '连携技:星徽荣耀幻影', type: 'RL' },
|
||||
{ name: '终结技:星徽在此闪耀', type: 'RZ' }
|
||||
]
|
||||
19
model/damage/character/比利/data.json
Normal file
19
model/damage/character/比利/data.json
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"skill": {
|
||||
"CCS": [
|
||||
0.63,0.688,0.746,0.804,0.862,0.92,0.978,1.036,1.094,1.152,1.21,1.268,1.326,1.384,1.442,1.5
|
||||
],
|
||||
"CF": [
|
||||
2.214,2.416,2.618,2.82,3.022,3.224,3.426,3.628,3.83,4.032,4.234,4.436,4.638,4.84,5.042,5.244
|
||||
],
|
||||
"EQ": [
|
||||
5.438,5.933,6.428,6.923,7.418,7.913,8.408,8.903,9.398,9.893,10.388,10.883,11.378,11.873,12.368,12.863
|
||||
],
|
||||
"RL": [
|
||||
7.352,8.021,8.69,9.359,10.028,10.697,11.366,12.035,12.704,13.373,14.042,14.711,15.38,16.049,16.718,17.387
|
||||
],
|
||||
"RZ": [
|
||||
15.977,17.43,18.883,20.336,21.789,23.242,24.695,26.148,27.601,29.054,30.507,31.96,33.413,34.866,36.319,37.772
|
||||
]
|
||||
}
|
||||
}
|
||||
26
model/damage/character/派派/calc.js
Normal file
26
model/damage/character/派派/calc.js
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/** @type {import('../../BuffManager.ts').BuffManager['buffs']} */
|
||||
export const buffs = [
|
||||
{
|
||||
name: '2影',
|
||||
type: '增伤',
|
||||
value: 0.1 + 0.3,
|
||||
element: 'Physical',
|
||||
range: ['EY', 'EQF', 'RZ'] // 大招下砸攻击倍率不知道,直接当做整个技能的增伤吧
|
||||
},
|
||||
{
|
||||
name: '额外能力:同步疾驰',
|
||||
type: '增伤',
|
||||
value: 0.18
|
||||
}
|
||||
]
|
||||
|
||||
/** @type {import('../../Calculator.ts').Calculator['skills']} */
|
||||
export const skills = [
|
||||
{ name: '强击', type: '强击' },
|
||||
{ name: '普攻:准备发车四段', type: 'AP4' },
|
||||
{ name: '闪避反击:动力漂移', type: 'CF' },
|
||||
{ name: '强化特殊技:引擎转(每圈)', type: 'EQZ' },
|
||||
{ name: '强化特殊技:非常重', type: 'EQF' },
|
||||
{ name: '连携技:系好安全带', type: 'RL' },
|
||||
{ name: '终结技:坐~稳~啦~', type: 'RZ' }
|
||||
]
|
||||
22
model/damage/character/派派/data.json
Normal file
22
model/damage/character/派派/data.json
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"skill": {
|
||||
"AP4": [
|
||||
3.206,3.498,3.79,4.082,4.374,4.666,4.958,5.25,5.542,5.834,6.126,6.418,6.71,7.002,7.294,7.586
|
||||
],
|
||||
"CF": [
|
||||
2.69,2.935,3.18,3.425,3.67,3.915,4.16,4.405,4.65,4.895,5.14,5.385,5.63,5.875,6.12,6.365
|
||||
],
|
||||
"EQZ": [
|
||||
0.935,1.021,1.106,1.192,1.277,1.363,1.448,1.534,1.619,1.705,1.79,1.876,1.961,2.046,2.132,2.218
|
||||
],
|
||||
"EQF": [
|
||||
6.129,6.687,7.245,7.803,8.361,8.919,9.477,10.035,10.593,11.151,11.709,12.267,12.825,13.383,13.941,14.499
|
||||
],
|
||||
"RL": [
|
||||
6.523,7.116,7.709,8.302,8.895,9.488,10.081,10.674,11.267,11.86,12.453,13.046,13.639,14.232,14.825,15.418
|
||||
],
|
||||
"RZ": [
|
||||
16.604,18.114,19.624,21.134,22.644,24.154,25.664,27.174,28.684,30.194,31.704,33.214,34.724,36.234,37.744,39.254
|
||||
]
|
||||
}
|
||||
}
|
||||
36
model/damage/character/珂蕾妲/calc.js
Normal file
36
model/damage/character/珂蕾妲/calc.js
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/** @type {import('../../BuffManager.ts').BuffManager['buffs']} */
|
||||
export const buffs = [
|
||||
{
|
||||
name: '4影',
|
||||
type: '增伤',
|
||||
value: 0.18 * 2,
|
||||
range: ['RL', 'RZ']
|
||||
}
|
||||
]
|
||||
|
||||
/** @type {import('../../Calculator.ts').Calculator['skills']} */
|
||||
export const skills = [
|
||||
{ name: '灼烧', type: '灼烧' },
|
||||
{ name: '强化普攻二段', type: 'AQ2' },
|
||||
{ name: '闪避反击:别小看我', type: 'CF' },
|
||||
{
|
||||
name: '6影额外伤害',
|
||||
type: 'Y6',
|
||||
isHide: true,
|
||||
fixedMultiplier: 3.6,
|
||||
check: ({ avatar }) => avatar.rank >= 6
|
||||
},
|
||||
{ name: '强化特殊技:沸腾熔炉0', type: 'EQP0', isHide: true },
|
||||
{
|
||||
name: '强化特殊技:沸腾熔炉',
|
||||
type: 'EQP',
|
||||
after: ({ avatar, damage }) => {
|
||||
damage.add('EQP0')
|
||||
if (avatar.rank >= 6) {
|
||||
damage.add('Y6')
|
||||
}
|
||||
}
|
||||
},
|
||||
{ name: '连携技:天崩-地裂', type: 'RL', after: ({ avatar, damage }) => avatar.rank >= 6 && damage.add('Y6') },
|
||||
{ name: '终结技:锤进地心', type: 'RZP', after: ({ avatar, damage }) => avatar.rank >= 6 && damage.add('Y6') }
|
||||
]
|
||||
22
model/damage/character/珂蕾妲/data.json
Normal file
22
model/damage/character/珂蕾妲/data.json
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"skill": {
|
||||
"AQ2": [
|
||||
4.048,4.418,4.787,5.156,5.525,5.894,6.263,6.632,7.001,7.37,7.739,8.108,8.477,8.846,9.215,9.584
|
||||
],
|
||||
"CF": [
|
||||
3.439,3.752,4.065,4.378,4.691,5.004,5.317,5.63,5.943,6.256,6.569,6.882,7.195,7.508,7.821,8.134
|
||||
],
|
||||
"EQP0": [
|
||||
1.523,1.662,1.801,1.94,2.079,2.218,2.357,2.496,2.635,2.774,2.913,3.052,3.191,3.33,3.469,3.608
|
||||
],
|
||||
"EQP": [
|
||||
6.06,6.611,7.162,7.713,8.264,8.815,9.366,9.917,10.468,11.019,11.57,12.121,12.672,13.223,13.774,14.325
|
||||
],
|
||||
"RL": [
|
||||
6.36,6.939,7.518,8.097,8.676,9.255,9.834,10.413,10.992,11.571,12.15,12.729,13.308,13.887,14.466,15.045
|
||||
],
|
||||
"RZP": [
|
||||
15.488,16.896,18.304,19.712,21.12,22.528,23.936,25.344,26.752,28.16,29.568,30.976,32.384,33.792,35.2,36.608
|
||||
]
|
||||
}
|
||||
}
|
||||
44
model/damage/character/苍角/calc.js
Normal file
44
model/damage/character/苍角/calc.js
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
/** @type {import('../../BuffManager.ts').BuffManager['buffs']} */
|
||||
export const buffs = [
|
||||
{
|
||||
name: '4影',
|
||||
type: '无视抗性',
|
||||
value: 0.1,
|
||||
element: 'Ice'
|
||||
},
|
||||
{
|
||||
name: '6影',
|
||||
type: '增伤',
|
||||
value: 0.45,
|
||||
range: ['AQ', 'CCQ']
|
||||
},
|
||||
{
|
||||
name: '核心被动:刃旗助威',
|
||||
type: '攻击力',
|
||||
value: ({ avatar, calc }) => Math.min(1000, avatar.initial_properties.ATK * calc.calc_value('T') * 2)
|
||||
},
|
||||
{
|
||||
name: '额外能力:团膳套餐',
|
||||
type: '增伤',
|
||||
value: 0.2,
|
||||
element: 'Ice'
|
||||
},
|
||||
{
|
||||
name: '技能:终结技:大份鹅鸡斩',
|
||||
type: '暴击率',
|
||||
value: 0.15,
|
||||
range: ['RZ'] // 覆盖率较低
|
||||
}
|
||||
]
|
||||
|
||||
/** @type {import('../../Calculator.ts').Calculator['skills']} */
|
||||
export const skills = [
|
||||
{ name: '碎冰', type: '碎冰' },
|
||||
{ name: '普攻:打年糕三段(霜染刃旗)', type: 'AQ3' },
|
||||
{ name: '冲刺攻击:对半分(霜染刃旗)', type: 'CCQ' },
|
||||
{ name: '闪避反击:别抢零食', type: 'CF' },
|
||||
{ name: '强化特殊技:扇走蚊虫0', type: 'EQ0', isHide: true },
|
||||
{ name: '强化特殊技:扇走蚊虫', type: 'EQ', after: ({ damage }) => damage.add('EQ0') },
|
||||
{ name: '连携技:鹅鸡斩', type: 'RL' },
|
||||
{ name: '终结技:大份鹅鸡斩', type: 'RZ' }
|
||||
]
|
||||
30
model/damage/character/苍角/data.json
Normal file
30
model/damage/character/苍角/data.json
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"skill": {
|
||||
"AQ3": [
|
||||
5.114,5.579,6.044,6.509,6.974,7.439,7.904,8.369,8.834,9.299,9.764,10.229,10.694,11.159,11.624,12.089
|
||||
],
|
||||
"CCQ": [
|
||||
1.315,1.435,1.555,1.675,1.795,1.915,2.035,2.155,2.275,2.395,2.515,2.635,2.755,2.875,2.995,3.115
|
||||
],
|
||||
"CF": [
|
||||
2.473,2.698,2.923,3.148,3.373,3.598,3.823,4.048,4.273,4.498,4.723,4.948,5.173,5.398,5.623,5.848
|
||||
],
|
||||
"EQ0": [
|
||||
1.021,1.114,1.207,1.3,1.393,1.486,1.579,1.672,1.765,1.858,1.951,2.043,2.135,2.23,2.323,2.411
|
||||
],
|
||||
"EQ": [
|
||||
1.312,1.431,1.551,1.67,1.79,1.909,2.029,2.148,2.268,2.387,2.507,2.626,2.746,2.865,2.985,3.104
|
||||
],
|
||||
"RL": [
|
||||
7.458,8.135,8.814,9.492,10.17,10.848,11.526,12.204,12.882,13.56,14.238,14.916,15.594,16.272,16.935,17.628
|
||||
],
|
||||
"RZ": [
|
||||
19.898,21.707,23.516,25.325,27.134,28.943,30.752,32.561,34.37,36.179,37.988,39.797,41.606,43.415,45.224,47.033
|
||||
]
|
||||
},
|
||||
"buff": {
|
||||
"T": [
|
||||
0.1,0.125,0.15,0.17,0.18,0.19,0.2
|
||||
]
|
||||
}
|
||||
}
|
||||
47
model/damage/character/赛斯/calc.js
Normal file
47
model/damage/character/赛斯/calc.js
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
/** @type {import('../../BuffManager.ts').BuffManager['buffs']} */
|
||||
export const buffs = [
|
||||
{
|
||||
name: '6影',
|
||||
type: '暴击伤害',
|
||||
value: 0.6,
|
||||
isForever: true,
|
||||
range: ['Y6']
|
||||
},
|
||||
{
|
||||
name: '核心被动:守望者',
|
||||
type: '异常精通',
|
||||
value: 'T'
|
||||
}
|
||||
]
|
||||
|
||||
/** @type {import('../../Calculator.ts').Calculator['skills']} */
|
||||
export const skills = [
|
||||
{ name: '感电每次', type: '感电' },
|
||||
{
|
||||
name: '6影额外伤害',
|
||||
type: 'Y6',
|
||||
isHide: true,
|
||||
check: ({ avatar }) => avatar.rank >= 6,
|
||||
fixedMultiplier: 5,
|
||||
props: {
|
||||
暴击率: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
name: '蓄力普攻:雷霆击-感电(连续攻击)',
|
||||
type: 'AX0',
|
||||
isHide: true
|
||||
},
|
||||
{
|
||||
name: '蓄力普攻:雷霆击-感电',
|
||||
type: 'AX',
|
||||
after: ({ avatar, damage }) => {
|
||||
damage.add('AX0')
|
||||
if (avatar.rank >= 6) damage.add('Y6')
|
||||
}
|
||||
},
|
||||
{ name: '闪避反击:以退为进', type: 'CF' },
|
||||
{ name: '强化E:电光盾冲(蓄力)', type: 'EQX' },
|
||||
{ name: '连携技:最终制裁', type: 'RL' },
|
||||
{ name: '终结技:正义必胜', type: 'RZ' }
|
||||
]
|
||||
27
model/damage/character/赛斯/data.json
Normal file
27
model/damage/character/赛斯/data.json
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"skill": {
|
||||
"AX0": [
|
||||
3.828,4.176,4.524,4.872,5.22,5.568,5.916,6.264,6.612,6.96,7.308,7.656,8.004,8.352,8.7,9.048
|
||||
],
|
||||
"AX": [
|
||||
4.242,4.628,5.014,5.4,5.786,6.172,6.558,6.944,7.33,7.716,8.102,8.488,8.874,9.26,9.646,10.032
|
||||
],
|
||||
"CF": [
|
||||
2.3,2.51,2.72,2.93,3.14,3.35,3.56,3.77,3.98,4.19,4.4,4.61,4.82,5.03,5.24,5.45
|
||||
],
|
||||
"EQX": [
|
||||
9.998,10.907,11.816,12.725,13.634,14.543,15.452,16.361,17.27,18.179,19.088,19.997,20.906,21.815,22.724,23.633
|
||||
],
|
||||
"RL": [
|
||||
7.041,7.682,8.323,8.964,9.605,10.246,10.887,11.528,12.169,12.81,13.451,14.092,14.733,15.374,16.015,16.656
|
||||
],
|
||||
"RZ": [
|
||||
20.243,22.084,23.925,25.766,27.607,29.448,31.289,33.13,34.971,36.812,38.653,40.494,42.335,44.176,46.017,47.858
|
||||
]
|
||||
},
|
||||
"buff": {
|
||||
"T": [
|
||||
50,62,75,85,90,95,100
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue