This commit is contained in:
CalixTang 2021-01-06 00:42:26 -08:00
parent 1e7e13b966
commit 299eaf1144
3 changed files with 172 additions and 0 deletions

20
build.js Normal file
View file

@ -0,0 +1,20 @@
//Turns the input amount of skill points into a 3-decimal precision percentage.
function skillPointsToPercentage(skp){
if (skp<=0){
return 0.0;
}else if(skp>=150){
return 0.808;
}else{
return(-0.0000000066695* Math.pow(Math.E, -0.00924033 * skp + 18.9) + 1.0771);
//return(-0.0000000066695* Math.pow(Math.E, -0.00924033 * skp + 18.9) + 1.0771).toFixed(3);
}
}
for (i = 0; i < 151; i++) {
console.log(i, ", ",skillPointsToPercentage(i));
}
class Build{
}

1
script.py Normal file
View file

@ -0,0 +1 @@
#A workspace for processing info/one-time operations

151
skillpoints.csv Normal file
View file

@ -0,0 +1,151 @@
a,b
1,0.01
2,0.02
3,0.029
4,0.039
5,0.049
6,0.058
7,0.067
8,0.077
9,0.086
10,0.095
11,0.104
12,0.113
13,0.122
14,0.131
15,0.139
16,0.148
17,0.157
18,0.165
19,0.173
20,0.182
21,0.19
22,0.198
23,0.206
24,0.214
25,0.222
26,0.23
27,0.238
28,0.246
29,0.253
30,0.261
31,0.268
32,0.276
33,0.283
34,0.29
35,0.298
36,0.305
37,0.312
38,0.319
39,0.326
40,0.333
41,0.34
42,0.346
43,0.353
44,0.36
45,0.366
46,0.373
47,0.379
48,0.386
49,0.392
50,0.399
51,0.405
52,0.411
53,0.417
54,0.423
55,0.429
56,0.435
57,0.441
58,0.447
59,0.453
60,0.458
61,0.464
62,0.47
63,0.475
64,0.481
65,0.486
66,0.492
67,0.497
68,0.503
69,0.508
70,0.513
71,0.518
72,0.523
73,0.528
74,0.534
75,0.539
76,0.543
77,0.548
78,0.553
79,0.558
80,0.563
81,0.568
82,0.572
83,0.577
84,0.581
85,0.586
86,0.591
87,0.595
88,0.599
89,0.604
90,0.608
91,0.613
92,0.617
93,0.621
94,0.625
95,0.629
96,0.633
97,0.638
98,0.642
99,0.646
100,0.65
101,0.654
102,0.657
103,0.661
104,0.665
105,0.669
106,0.673
107,0.676
108,0.68
109,0.684
110,0.687
111,0.691
112,0.694
113,0.698
114,0.701
115,0.705
116,0.708
117,0.712
118,0.715
119,0.718
120,0.722
121,0.725
122,0.728
123,0.731
124,0.735
125,0.738
126,0.741
127,0.744
128,0.747
129,0.75
130,0.753
131,0.756
132,0.759
133,0.762
134,0.765
135,0.768
136,0.771
137,0.773
138,0.776
139,0.779
140,0.782
141,0.784
142,0.787
143,0.79
144,0.792
145,0.795
146,0.798
147,0.8
148,0.803
149,0.805
150,0.808
1 a b
2 1 0.01
3 2 0.02
4 3 0.029
5 4 0.039
6 5 0.049
7 6 0.058
8 7 0.067
9 8 0.077
10 9 0.086
11 10 0.095
12 11 0.104
13 12 0.113
14 13 0.122
15 14 0.131
16 15 0.139
17 16 0.148
18 17 0.157
19 18 0.165
20 19 0.173
21 20 0.182
22 21 0.19
23 22 0.198
24 23 0.206
25 24 0.214
26 25 0.222
27 26 0.23
28 27 0.238
29 28 0.246
30 29 0.253
31 30 0.261
32 31 0.268
33 32 0.276
34 33 0.283
35 34 0.29
36 35 0.298
37 36 0.305
38 37 0.312
39 38 0.319
40 39 0.326
41 40 0.333
42 41 0.34
43 42 0.346
44 43 0.353
45 44 0.36
46 45 0.366
47 46 0.373
48 47 0.379
49 48 0.386
50 49 0.392
51 50 0.399
52 51 0.405
53 52 0.411
54 53 0.417
55 54 0.423
56 55 0.429
57 56 0.435
58 57 0.441
59 58 0.447
60 59 0.453
61 60 0.458
62 61 0.464
63 62 0.47
64 63 0.475
65 64 0.481
66 65 0.486
67 66 0.492
68 67 0.497
69 68 0.503
70 69 0.508
71 70 0.513
72 71 0.518
73 72 0.523
74 73 0.528
75 74 0.534
76 75 0.539
77 76 0.543
78 77 0.548
79 78 0.553
80 79 0.558
81 80 0.563
82 81 0.568
83 82 0.572
84 83 0.577
85 84 0.581
86 85 0.586
87 86 0.591
88 87 0.595
89 88 0.599
90 89 0.604
91 90 0.608
92 91 0.613
93 92 0.617
94 93 0.621
95 94 0.625
96 95 0.629
97 96 0.633
98 97 0.638
99 98 0.642
100 99 0.646
101 100 0.65
102 101 0.654
103 102 0.657
104 103 0.661
105 104 0.665
106 105 0.669
107 106 0.673
108 107 0.676
109 108 0.68
110 109 0.684
111 110 0.687
112 111 0.691
113 112 0.694
114 113 0.698
115 114 0.701
116 115 0.705
117 116 0.708
118 117 0.712
119 118 0.715
120 119 0.718
121 120 0.722
122 121 0.725
123 122 0.728
124 123 0.731
125 124 0.735
126 125 0.738
127 126 0.741
128 127 0.744
129 128 0.747
130 129 0.75
131 130 0.753
132 131 0.756
133 132 0.759
134 133 0.762
135 134 0.765
136 135 0.768
137 136 0.771
138 137 0.773
139 138 0.776
140 139 0.779
141 140 0.782
142 141 0.784
143 142 0.787
144 143 0.79
145 144 0.792
146 145 0.795
147 146 0.798
148 147 0.8
149 148 0.803
150 149 0.805
151 150 0.808