forked from Vegetabs/MindOverMatter-CTLG
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjmath.json
More file actions
142 lines (142 loc) · 6.13 KB
/
jmath.json
File metadata and controls
142 lines (142 loc) · 6.13 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
[
{
"type": "jmath_function",
"id": "int_to_level",
"num_args": 1,
"return": "(u_val('intelligence') * 1.5) * (_0)"
},
{
"type": "jmath_function",
"id": "scaling_factor",
"num_args": 1,
"return": "( ( _0 + 10) / 20 )"
},
{
"type": "jmath_function",
"id": "psionic_power_experience_formula_channeling",
"num_args": 0,
"return": "(u_val('focus') / 100 ) * 80 * ( ( u_val('intelligence') + 10) / 20 ) * min( ( 0.5 + ( u_skill('metaphysics') / 20) ), 1) * u_nether_attunement_power_scaling"
},
{
"type": "jmath_function",
"id": "psionic_power_experience_formula",
"num_args": 0,
"return": "(u_val('focus') / 100) * 80 * ( ( u_val('intelligence') + 10) / 20 ) * min( ( 0.5 + ( u_skill('metaphysics') / 20) ), 1) * u_nether_attunement_power_scaling"
},
{
"type": "jmath_function",
"id": "nether_attune_difficulty_scaler",
"num_args": 1,
"return": "_0 * _0"
},
{
"type": "jmath_function",
"id": "psionics_kcal_cost",
"num_args": 1,
"return": "(4 * _0) * rng( 0.3, 1.7) * u_nether_attunement_power_scaling * (u_effect_intensity('effect_nether_attunement_extra_kcal') > 0 ? 3 : 1)"
},
{
"type": "jmath_function",
"id": "psionics_contemplation_kcal_cost",
"num_args": 1,
"return": "(1.2 * _0) * rng( 0.3, 1.7) * u_nether_attunement_power_scaling * (u_effect_intensity('effect_nether_attunement_extra_kcal') > 0 ? 3 : 1)"
},
{
"type": "jmath_function",
"id": "matrix_awakening_odds",
"num_args": 1,
"return": "(100 - (100 * (e ^ (_0 / -1.7) ) ) )"
},
{
"type": "jmath_function",
"id": "concentration_trait_bonuses",
"num_args": 0,
"return": "(u_has_trait('CONCENTRATION_GOOD')) + (u_has_trait('CONCENTRATION_BAD') ? -1 : 0) + (u_has_trait('INT_ALPHA')) + (u_has_trait('NOMAD2') ? -1 : 0) + (u_has_trait('NOMAD3') ? -1 : 0) + (u_has_trait('CONCENTRATION_DEBUG') ? 50 : 0) + (u_has_proficiency('prof_concentration_basic')) + (u_has_proficiency('prof_concentration_intermediate')) + (u_has_proficiency('prof_concentration_master')) + (u_effect_intensity('hallu') > 0 ? -1 : 0) + (u_effect_intensity('winded') > 0 ? -2 : 0) + (u_effect_intensity('nausea') > 0 ? -1 : 0) + (u_effect_intensity('nausea') > 3 ? -1 : 0) + (u_effect_intensity('cold') > 1 ? -1 : 0) + (u_effect_intensity('hot') > 1 ? -1 : 0) + (u_effect_intensity('asthma') > 0 ? -3 : 0) + (u_effect_intensity('datura') > 0 ? -3 : 0)"
},
{
"type": "jmath_function",
"id": "contemplation_factor",
"num_args": 1,
"//": "This equates to about 400 XP per hour of contemplation when at minimum focus, modified by Nether Attunement",
"return": "(u_val('focus') * 0.004) * (_0) * u_nether_attunement_power_scaling"
},
{
"type": "jmath_function",
"id": "learn_new_power_lower_time_bound",
"num_args": 1,
"return": "(((_0 + 2) * 60) * 60) * 0.8"
},
{
"type": "jmath_function",
"id": "learn_new_power_upper_time_bound",
"num_args": 1,
"return": "(((_0 + 2) * 60) * 60) * 1.2"
},
{
"type": "jmath_function",
"id": "jmath_psi_learning_counter_time_low",
"num_args": 1,
"//": "Reduces time between insight moments by 3% per point of Intelligence above 10 (increase by 3% per point below 10), to a max of 60% faster from intelligence, and by 5% per point of Metaphysics skill above 5.",
"return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * clamp(( 1 - (((u_skill('metaphysics') - 4) + 20 ) / 21) + 1),0.75,1)"
},
{
"type": "jmath_function",
"id": "jmath_psi_learning_counter_time_high",
"num_args": 1,
"return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * clamp(( 1 - (((u_skill('metaphysics') - 4) + 20 ) / 21) + 1),0.75,1)"
},
{
"type": "jmath_function",
"id": "jmath_biokinesis_learning_eocs_modifiers",
"num_args": 1,
"return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_biokinesis')))"
},
{
"type": "jmath_function",
"id": "jmath_clairsentience_learning_eocs_modifiers",
"num_args": 1,
"return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_clairsentience')))"
},
{
"type": "jmath_function",
"id": "jmath_electrokinesis_learning_eocs_modifiers",
"num_args": 1,
"return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_electrokinesis')))"
},
{
"type": "jmath_function",
"id": "jmath_photokinesis_learning_eocs_modifiers",
"num_args": 1,
"return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_photokinesis')))"
},
{
"type": "jmath_function",
"id": "jmath_pyrokinesis_learning_eocs_modifiers",
"num_args": 1,
"return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_pyrokinesis')))"
},
{
"type": "jmath_function",
"id": "jmath_telekinesis_learning_eocs_modifiers",
"num_args": 1,
"return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_telekinesis')))"
},
{
"type": "jmath_function",
"id": "jmath_telepathy_learning_eocs_modifiers",
"num_args": 1,
"return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_telepathy')))"
},
{
"type": "jmath_function",
"id": "jmath_teleportation_learning_eocs_modifiers",
"num_args": 1,
"return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_teleportation')))"
},
{
"type": "jmath_function",
"id": "jmath_vitakinesis_learning_eocs_modifiers",
"num_args": 1,
"return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_vitakinesis')))"
}
]