-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconstants.js
97 lines (92 loc) · 3.75 KB
/
constants.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
const sim_trials = 100000;
const piece_options = ["Hat", "Glove", "Body", "Boots", "Orb", "Rope"];
const main_stat_options =
[
[
["Hp"],
[1]
],
[
["Atk"],
[1]
],
[
["Hp%", "Atk%", "Def%", "CR", "CD", "Heal", "EHR"],
[19.72, 20.19, 19.13, 10.01, 10.47, 9.99, 10.51]
],
[
["Hp%", "Atk%", "Def%", "Spd"],
[27.90, 30.02, 29.51, 12.57]
],
[
["Hp%", "Atk%", "Def%", "Phys DMG", "Fire DMG", "Ice DMG", "Lightning DMG", "Wind DMG", "Quant DMG", "Img DMG"],
[12.73, 12.31, 11.74, 9.03, 9.03, 9.03, 9.03, 9.03, 9.03, 9.03]
],
[
["Hp%", "Atk%", "Def%", "BE", "ERR%"],
[26.74, 27.87, 24.62, 15.06, 5.72]
]
];
const main_value = {
"Hp": { "base": 112.896, "level": 39.5136 }
};
const sub_stat_options = ["Hp", "Atk", "Def", "Hp%", "Atk%", "Def%", "Spd", "CR", "CD", "EHR", "ER", "BE"];
const sub_stat_weights =
[
[
[0, 996, 1000, 976, 991, 984, 436, 644, 634, 819, 810, 820]
],
[
[974, 0, 1000, 976, 991, 984, 436, 644, 634, 819, 810, 820]
],
[
[974, 996, 1000, 0, 991, 984, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 0, 984, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 991, 0, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 991, 984, 436, 0, 634, 819, 810, 820],
[974, 996, 1000, 976, 991, 984, 436, 644, 0, 819, 810, 820],
[974, 996, 1000, 976, 991, 984, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 991, 984, 436, 644, 634, 0, 810, 820]
],
[
[974, 996, 1000, 0, 991, 984, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 0, 984, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 991, 0, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 991, 984, 0, 644, 634, 819, 810, 820]
],
[
[974, 996, 1000, 0, 991, 984, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 0, 984, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 991, 0, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 991, 984, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 991, 984, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 991, 984, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 991, 984, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 991, 984, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 991, 984, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 991, 984, 436, 644, 634, 819, 810, 820]
],
[
[974, 996, 1000, 0, 991, 984, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 0, 984, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 991, 0, 436, 644, 634, 819, 810, 820],
[974, 996, 1000, 976, 991, 984, 436, 644, 634, 819, 810, 0],
[974, 996, 1000, 976, 991, 984, 436, 644, 634, 819, 810, 820]
]
];
const base_sub_stat_weight = [100, 100, 100, 100, 100, 100, 40, 50, 50, 80, 80, 80];
const sub_stat_values =
[
[33.87, 38.103755, 42.33751],
[16.935, 19.051877, 21.168754],
[16.935, 19.051877, 21.168754],
[3.456, 3.888, 4.32],
[3.456, 3.888, 4.32],
[4.32, 4.86, 5.4],
[2, 2.3, 2.6],
[2.592, 2.916, 3.24],
[5.184, 5.832, 6.48],
[3.456, 3.888, 4.32],
[3.456, 3.888, 4.32],
[5.184, 5.832, 6.48]
];