mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-17 05:37:46 +00:00
完全重构伤害计算;支持异常伤害计算;支持所有武器、套装计算;新增悠真计算等
This commit is contained in:
parent
f7e1066773
commit
3f8e64af66
99 changed files with 4243 additions and 1615 deletions
53
model/damage/character/青衣/calc.js
Normal file
53
model/damage/character/青衣/calc.js
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
/** @type {import('../../BuffManager.ts').BuffManager['buffs']} */
|
||||
export const buffs = [
|
||||
{
|
||||
name: '6影',
|
||||
type: '暴击伤害',
|
||||
value: 1,
|
||||
range: ['AQ'],
|
||||
isForever: true
|
||||
},
|
||||
{
|
||||
name: '6影',
|
||||
type: '无视抗性',
|
||||
value: 0.2
|
||||
},
|
||||
{
|
||||
name: '1影',
|
||||
type: '无视防御',
|
||||
value: 0.15
|
||||
},
|
||||
{
|
||||
name: '1影',
|
||||
type: '暴击率',
|
||||
value: 0.2
|
||||
},
|
||||
{
|
||||
name: '额外能力:阳关三叠',
|
||||
type: '攻击力',
|
||||
isForever: true,
|
||||
value: ({ calc }) => Math.max(0, Math.min((calc.get_Impact() - 120) * 6, 600))
|
||||
},
|
||||
{
|
||||
name: '连携技:太平令',
|
||||
type: '增伤',
|
||||
value: 0.03 * 20,
|
||||
range: ['RL']
|
||||
},
|
||||
{
|
||||
name: '闪络',
|
||||
source: 'Skill',
|
||||
type: '增伤',
|
||||
value: 0.01 * 25,
|
||||
range: ['AQ']
|
||||
}
|
||||
]
|
||||
|
||||
/** @type {import('../../Calculator.ts').Calculator['skills']} */
|
||||
export const skills = [
|
||||
{ name: '普攻:醉花月云转', type: 'AQ' },
|
||||
{ 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": {
|
||||
"AQ": [
|
||||
4.487,4.895,5.303,5.711,6.119,6.527,6.935,7.343,7.751,8.159,8.567,8.975,9.383,9.791,10.199,10.607
|
||||
],
|
||||
"CF": [
|
||||
2.84,3.099,3.358,3.617,3.876,4.135,4.394,4.653,4.912,5.171,5.43,5.689,5.948,6.207,6.466,6.725
|
||||
],
|
||||
"EQ": [
|
||||
6.028,6.577,7.126,7.675,8.224,8.773,9.322,9.871,10.42,10.969,11.518,12.067,12.616,13.165,13.714,14.263
|
||||
],
|
||||
"RL": [
|
||||
6.479,7.068,7.657,8.246,8.835,9.424,10.013,10.602,11.191,11.78,12.369,12.958,13.547,14.136,14.725,15.314
|
||||
],
|
||||
"RZ": [
|
||||
16.707,18.226,19.745,21.264,22.783,24.302,25.821,27.34,28.859,30.378,31.897,33.416,34.935,36.454,37.973,39.492
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue