mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-25 17:35:34 +00:00
118 lines
2.4 KiB
JavaScript
118 lines
2.4 KiB
JavaScript
import lodash from 'lodash'
|
|
|
|
// 元素反应类型及基数
|
|
export const erType = {
|
|
vaporize: { type: 'pct', num: ({ element }) => element === '水' ? 2 : 1.5, title: '蒸发' },
|
|
melt: { type: 'pct', num: ({ element }) => element === '火' ? 2 : 1.5, title: '融化' },
|
|
burning: { type: 'fusion', num: () => 1, title: '燃烧' },
|
|
superConduct: { type: 'fusion', num: () => 2, title: '超导' },
|
|
swirl: { type: 'fusion', num: () => 2.4, title: '扩散' },
|
|
electroCharged: { type: 'fusion', num: () => 4.8, title: '感电' },
|
|
shatter: { type: 'fusion', num: () => 6, title: '碎冰' },
|
|
overloaded: { type: 'fusion', num: () => 8, title: '超载' },
|
|
bloom: { type: 'fusion', num: () => 8, title: '绽放' },
|
|
burgeon: { type: 'fusion', num: () => 12, title: '烈绽放' },
|
|
hyperBloom: { type: 'fusion', num: () => 12, title: '超绽放' },
|
|
aggravate: { type: 'bonus', num: () => 4.6, title: '超激化' },
|
|
spread: { type: 'bonus', num: () => 5.0, title: '蔓激化' }
|
|
}
|
|
let erTmp = {}
|
|
lodash.forEach(erType, (er, key) => {
|
|
erTmp[er.title] = key
|
|
})
|
|
export const erTitle = erTmp
|
|
|
|
// 各等级精通基础伤害
|
|
export const eleBaseDmg = {
|
|
1: 4.291,
|
|
2: 4.634,
|
|
3: 4.976,
|
|
4: 5.319,
|
|
5: 5.661,
|
|
6: 6.162,
|
|
7: 6.660,
|
|
8: 7.217,
|
|
9: 7.842,
|
|
10: 8.536,
|
|
11: 9.300,
|
|
12: 10.165,
|
|
13: 11.112,
|
|
14: 12.141,
|
|
15: 13.437,
|
|
16: 14.770,
|
|
17: 16.105,
|
|
18: 17.431,
|
|
19: 18.781,
|
|
20: 20.146,
|
|
21: 21.528,
|
|
22: 22.926,
|
|
23: 24.311,
|
|
24: 25.703,
|
|
25: 27.102,
|
|
26: 28.300,
|
|
27: 29.526,
|
|
28: 30.745,
|
|
29: 32.432,
|
|
30: 34.073,
|
|
31: 35.668,
|
|
32: 37.257,
|
|
33: 38.854,
|
|
34: 40.456,
|
|
35: 42.277,
|
|
36: 44.130,
|
|
37: 46.018,
|
|
38: 47.927,
|
|
39: 49.889,
|
|
40: 51.846,
|
|
41: 53.850,
|
|
42: 56.041,
|
|
43: 58.376,
|
|
44: 60.838,
|
|
45: 64.016,
|
|
46: 67.136,
|
|
47: 70.382,
|
|
48: 73.753,
|
|
49: 77.267,
|
|
50: 80.900,
|
|
51: 84.189,
|
|
52: 87.633,
|
|
53: 91.121,
|
|
54: 94.655,
|
|
55: 99.650,
|
|
56: 104.100,
|
|
57: 108.597,
|
|
58: 113.238,
|
|
59: 118.152,
|
|
60: 123.221,
|
|
61: 128.392,
|
|
62: 134.776,
|
|
63: 141.378,
|
|
64: 148.135,
|
|
65: 156.111,
|
|
66: 162.868,
|
|
67: 169.874,
|
|
68: 176.949,
|
|
69: 184.168,
|
|
70: 191.410,
|
|
71: 198.693,
|
|
72: 206.169,
|
|
73: 212.789,
|
|
74: 219.436,
|
|
75: 228.557,
|
|
76: 236.687,
|
|
77: 244.853,
|
|
78: 252.806,
|
|
79: 261.198,
|
|
80: 269.361,
|
|
81: 277.499,
|
|
82: 285.744,
|
|
83: 294.092,
|
|
84: 302.546,
|
|
85: 313.459,
|
|
86: 322.238,
|
|
87: 331.371,
|
|
88: 340.864,
|
|
89: 351.274,
|
|
90: 361.713
|
|
}
|