Skip to content

Commit 4ba83d8

Browse files
Merge pull request #82482 from Standing-Storm/more-nether-attunement
[MoM] More Nether Attunement backlashes
1 parent d8e8cc9 commit 4ba83d8

File tree

6 files changed

+240
-19
lines changed

6 files changed

+240
-19
lines changed

data/mods/MindOverMatter/NetherAttunementSpoilers.md

Lines changed: 47 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,22 @@ Once a consequence is selected, it has a chance to actually be applied. There is
5050
| [Vomit](#vomit) | 9 |
5151
| [Nosebleed](#nosebleed) | 12 |
5252
| [Stamina Loss](#stamina-loss) | 8 |
53+
| [Blurred Sight](#blurred-sight) | 6 |
5354
| [Power Surge](#power-surge)+ | 5 |
5455
| [Sleepiness](#sleepiness) | 5 |
5556
| [Nether Conduit](#nether-conduit) | 9 |
57+
| [Extra Weariness](#extra-weariness)+ | 7 |
5658
| [Feedback](#feedback) | 9 |
5759
| [Observed](#observed)+ | 6 |
5860
| [Incorporeality](#incorporeality) | 4 |
5961
| [Teleport Lock](#teleport-lock) | 5 |
6062
| [Metabolic Inversion](#metabolic-inversion) | 5 |
6163
| [Power Drain](#power-drain) | 5 |
64+
| [Pyrokinetic Fever](#pyrokinetic-fever) | 7 |
6265
| [Weakness](#weakness) | 5 |
66+
| [Pyrokinetic Fog](#pyrokinetic-fog) | 4 |
6367
| [KCal Consumption](#kcal-consumption) | 6 |
68+
| [Mindshock](#mindshock)+ | 6 |
6469
| [Attenuation](#attenuation)+ | 8 |
6570
| [Short of Breath](#short-of-breath) | 5 |
6671
| [Force Wave](#force-wave) | 5 |
@@ -121,6 +126,13 @@ Chance: 2% to 31%
121126
Description: You lose a random amount of stamina
122127
<sub>[Back to List](#attunement-consequences)</sub>
123128

129+
### Blurred Sight
130+
Minimum Attunement: 3
131+
Required School/Power: Clairsentience
132+
Chance: 3% to 35.75%
133+
Description: You have blurred sight, suffering from both farsightedness and nearsightened, for a random period of time based on your attunement vitamin
134+
<sub>[Back to List](#attunement-consequences)</sub>
135+
124136
### Power Surge
125137
Minimum Attunement: 4
126138
Chance: 1.5% to 38%
@@ -139,6 +151,12 @@ Chance: 3% to 38.25%
139151
Description: You gain an effect that unlocks nastier consequences and slowly increases your attunement vitamin for a random period of time based on your attunement vitamin
140152
<sub>[Back to List](#attunement-consequences)</sub>
141153

154+
### Extra Weariness
155+
Minimum Attunement: 3
156+
Chance: 1.5% to 38%
157+
Description: You immediately lose a large amount of stored calories with the attendant effect on your weariness
158+
<sub>[Back to List](#attunement-consequences)</sub>
159+
142160
### Feedback
143161
Minimum Attunement: 5
144162
Chance: 3% to 39.5%
@@ -153,40 +171,64 @@ Description: You gain an effect that unlocks nastier consequences, comes with ni
153171

154172
### Incorporeality
155173
Minimum Attunement: 4
174+
Required School/Power: Teleportation (Ephemeral Walk)
156175
Chance: 4% to 37%
157-
Description: When using the ephemeral walk power, you become incorporeal for a brief period based on your attunement vitamin
176+
Description: You become incorporeal for a brief period based on your attunement vitamin
158177
<sub>[Back to List](#attunement-consequences)</sub>
159178

160179
### Teleport Lock
161180
Minimum Attunement: 4
181+
Required School/Power: Teleporter
162182
Chance: 2% to 33.5%
163183
Description: You are unable to teleport yourself for a brief period based on your attunement vitamin
164184
<sub>[Back to List](#attunement-consequences)</sub>
165185

166186
### Metabolic Inversion
167187
Minimum Attunement: 4
188+
Required School/Power: Biokinesis
168189
Chance: 1% to 29%
169-
Description: Only applicable if you have the Biokinetic power path. The effects of the Efficient System trait and Metabolic Hyperefficiency power are inverted for a random length of time based on your attunement vitamin
190+
Description: The effects of the Efficient System trait and Metabolic Hyperefficiency power are inverted for a random length of time based on your attunement vitamin
170191
<sub>[Back to List](#attunement-consequences)</sub>
171192

172193
### Power Drain
173194
Minimum Attunement: 4
195+
Required School/Power: Electrokinesis
174196
Chance: 1% to 29%
175197
Description: Your electronics slowly lose power and you cannot activate Electron Overflow for a random period of time based on your attunement vitamin
176198
<sub>[Back to List](#attunement-consequences)</sub>
177199

200+
### Pyrokinetic Fever
201+
Minimum Attunement: 4
202+
Required School/Power: Pyrokinesis
203+
Chance: 2.5% to 32.5%
204+
Description: You sweat more, have reduced lifting and balance limb scores, and have a higer internal body temperature for a random period of time based on your attunement vitamin
205+
<sub>[Back to List](#attunement-consequences)</sub>
206+
178207
### Weakness
179208
Minimum Attunement: 5
180209
Chance: 2% to 31%
181210
Description: You have lowered strength and dexterity along with increased stamina usage in melee for a short period based on your attunement vitamin
182211
<sub>[Back to List](#attunement-consequences)</sub>
183212

213+
### Pyrokinetic Fog
214+
Minimum Attunement: 5
215+
Required School/Power: Pyrokinesis
216+
Chance: 1% to 29%
217+
Description: Fog condenses out of the air around you for a random period based on your attunement vitamin
218+
<sub>[Back to List](#attunement-consequences)</sub>
219+
184220
### KCal Consumption
185221
Minimum Attunement: 5
186222
Chance: 4% to 38%
187223
Description: The KCal consumption of your powers is tripled
188224
<sub>[Back to List](#attunement-consequences)</sub>
189225

226+
### Mindshock
227+
Minimum Attunement: 6
228+
Chance: 3% to 33.5%
229+
Description: You are stunned for a few seconds, cancelling all ongoing powers.
230+
<sub>[Back to List](#attunement-consequences)</sub>
231+
190232
### Attenuation
191233
Minimum Attunement: 6
192234
Chance: 4% to 25.5%
@@ -207,14 +249,16 @@ Description: When using a telekinetic power, a wave of force knocks you and ever
207249

208250
### Teleport Misjump
209251
Minimum Attunement: 7
252+
Required School/Power: Teleporter (Blink, Phase, Transposition, Farstep, Loci Technique, Gateway, Dialated Gateway)
210253
Chance: 3% to 21%
211254
Description: When using a power that teleports you, you get sent somewhere far away and gain an effect that will summon the hounds of tindalos if you use a teleportation power before it wears off
212255
<sub>[Back to List](#attunement-consequences)</sub>
213256

214257
### EMP Blast
215258
Minimum Attunement: 8
259+
Required School/Power: Photokinesis
216260
Chance: 2% to 18.75%
217-
Description: Only applicable if you have the Photokinetic power path. You emit an EMP blast centered on yourself
261+
Description: You emit an EMP blast centered on yourself
218262
<sub>[Back to List](#attunement-consequences)</sub>
219263

220264
### Lightning Blast

data/mods/MindOverMatter/effectoncondition/eoc_nether_attunement_events.json

Lines changed: 139 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,17 +342,22 @@
342342
[ "EOC_NETHER_EFFECT_CHECK_VOMIT", 9 ],
343343
[ "EOC_DRAIN_EFFECT_CHECK_NOSEBLEED", 12 ],
344344
[ "EOC_DRAIN_EFFECT_CHECK_STAMINA_LOSS", 8 ],
345+
[ "EOC_NETHER_EFFECT_CHECK_CLAIR_BLURRED_SIGHT", 6 ],
345346
[ "EOC_DRAIN_EFFECT_CHECK_POWER_SURGE", 5 ],
346347
[ "EOC_DRAIN_EFFECT_CHECK_SLEEPINESS", 5 ],
347348
[ "EOC_NETHER_EFFECT_CHECK_ATTUNEMENT_RAISING_EFFECT", 9 ],
349+
[ "EOC_NETHER_EFFECT_CHECK_WEARINESS_EXTRA_CALORIE_EFFECT", 7 ],
348350
[ "EOC_NETHER_EFFECT_CHECK_FEEDBACK", 9 ],
349351
[ "EOC_NETHER_EFFECT_CHECK_OBSERVED", 6 ],
352+
[ "EOC_NETHER_EFFECT_CHECK_PYROKINETIC_FEVER", 7 ],
350353
[ "EOC_NETHER_EFFECT_CHECK_TELEPORTATION_INCORPOREALITY", 4 ],
351354
[ "EOC_DRAIN_EFFECT_CHECK_TELEPORT_LOCK", 5 ],
352355
[ "EOC_NETHER_EFFECT_CHECK_BIOKIN_METABOLIC_INVERSION", 5 ],
353356
[ "EOC_NETHER_EFFECT_CHECK_ELECTROKINETIC_POWER_DRAIN", 5 ],
354357
[ "EOC_DRAIN_EFFECT_CHECK_WEAKNESS", 5 ],
358+
[ "EOC_NETHER_EFFECT_CHECK_PYROKINETIC_FOG", 4 ],
355359
[ "EOC_NETHER_EFFECT_CHECK_EXTRA_KCAL", 6 ],
360+
[ "EOC_NETHER_EFFECT_CHECK_MINDSHOCK_STUN", 6 ],
356361
[ "EOC_NETHER_EFFECT_CHECK_ATTENUATION", 8 ],
357362
[ "EOC_NETHER_EFFECT_CHECK_BREATHING", 5 ],
358363
[ "EOC_NETHER_EFFECT_CHECK_FORCE_WAVE", 5 ],
@@ -551,6 +556,41 @@
551556
],
552557
"false_effect": [ { "run_eocs": "EOC_PSIONICS_NETHER_ATTUNEMENT_CONSEQUENCES" } ]
553558
},
559+
{
560+
"type": "effect_on_condition",
561+
"id": "EOC_NETHER_EFFECT_CHECK_CLAIR_BLURRED_SIGHT",
562+
"//": "Base is 3% chance from 55 attunement to 95 attunement, then scaling up 0.15% per attunement up to 12% chance at 155 attunement, then scaling up 0.25% chance per attunement up to 35.75% chance at max, plus 1/10th the Difficulty squared.",
563+
"condition": {
564+
"and": [
565+
{ "compare_string": [ "CLAIRSENTIENT", { "context_val": "school" } ] },
566+
{ "math": [ "u_vitamin('vitamin_psionic_drain') >= 55" ] }
567+
]
568+
},
569+
"effect": [
570+
{
571+
"if": {
572+
"x_in_y_chance": {
573+
"x": {
574+
"math": [
575+
"( clamp( ( (u_vitamin('vitamin_psionic_drain') - 95) * 1.5 ), 0, 90) + clamp( ( (u_vitamin('vitamin_psionic_drain') - 155) * 2.5 ), 0, 300) + (nether_attune_difficulty_scaler(u_latest_channeled_power_difficulty)) + 30) + nether_attune_torrential_channeling_influence()"
576+
]
577+
},
578+
"y": 1000
579+
}
580+
},
581+
"then": [
582+
{ "u_message": "As you unleash your powers, your vision blurs!", "type": "bad" },
583+
{
584+
"u_add_effect": "effect_nether_attunement_clair_blurred_sight",
585+
"duration": {
586+
"math": [ "time(' 20 m') * rng( ( u_vitamin('vitamin_psionic_drain') / 2 ), ( u_vitamin('vitamin_psionic_drain') * 2 ) )" ]
587+
}
588+
}
589+
]
590+
}
591+
],
592+
"false_effect": [ { "run_eocs": "EOC_PSIONICS_NETHER_ATTUNEMENT_CONSEQUENCES" } ]
593+
},
554594
{
555595
"type": "effect_on_condition",
556596
"id": "EOC_DRAIN_EFFECT_CHECK_SLEEPINESS",
@@ -606,6 +646,35 @@
606646
],
607647
"false_effect": [ { "run_eocs": "EOC_PSIONICS_NETHER_ATTUNEMENT_CONSEQUENCES" } ]
608648
},
649+
{
650+
"type": "effect_on_condition",
651+
"id": "EOC_NETHER_EFFECT_CHECK_WEARINESS_EXTRA_CALORIE_EFFECT",
652+
"//": "Base is 3% chance from 70 attunement to 90 attunement, then scaling up 0.15% per attunement up to 15.75% chance at 175 attunement, then scaling up 0.3% chance per attunement up to 38.25% chance at max, plus 1/10th the Difficulty squared.",
653+
"condition": {
654+
"or": [ { "math": [ "u_vitamin('vitamin_psionic_drain') >= 70" ] }, { "u_has_trait": "PSI_TORRENTIAL_CHANNELING_active" } ]
655+
},
656+
"effect": [
657+
{
658+
"if": {
659+
"x_in_y_chance": {
660+
"x": {
661+
"math": [
662+
"( clamp( ( (u_vitamin('vitamin_psionic_drain') - 90) * 1.5), 0, 127.5) + clamp( ( (u_vitamin('vitamin_psionic_drain') - 175) * 3 ), 0, 375) + (nether_attune_difficulty_scaler(u_latest_channeled_power_difficulty)) + 30) + nether_attune_torrential_channeling_influence()"
663+
]
664+
},
665+
"y": 1000
666+
}
667+
},
668+
"then": [
669+
{ "u_message": "You feel a wave of bone-deep weariness.", "type": "bad" },
670+
{
671+
"math": [ "u_calories() -= rng( ( u_vitamin('vitamin_psionic_drain') * 4), ( u_vitamin('vitamin_psionic_drain') * 10) )" ]
672+
}
673+
]
674+
}
675+
],
676+
"false_effect": [ { "run_eocs": "EOC_PSIONICS_NETHER_ATTUNEMENT_CONSEQUENCES" } ]
677+
},
609678
{
610679
"type": "effect_on_condition",
611680
"id": "EOC_NETHER_EFFECT_CHECK_FEEDBACK",
@@ -702,6 +771,41 @@
702771
],
703772
"false_effect": [ { "run_eocs": "EOC_PSIONICS_NETHER_ATTUNEMENT_CONSEQUENCES" } ]
704773
},
774+
{
775+
"type": "effect_on_condition",
776+
"id": "EOC_NETHER_EFFECT_CHECK_PYROKINETIC_FEVER",
777+
"//": "Base is 2.5% chance from 75 attunement to 120 attunement, then scaling up 0.15% per attunement up to 11.5% chance at 180 attunement, then scaling up 0.3% chance per attunement up to 32.5% chance at max, plus 1/10th the Difficulty squared.",
778+
"condition": {
779+
"and": [
780+
{ "compare_string": [ "PYROKINETIC", { "context_val": "school" } ] },
781+
{ "math": [ "u_vitamin('vitamin_psionic_drain') >= 75" ] }
782+
]
783+
},
784+
"effect": [
785+
{
786+
"if": {
787+
"x_in_y_chance": {
788+
"x": {
789+
"math": [
790+
"( clamp( ( (u_vitamin('vitamin_psionic_drain') - 120) * 1.5), 0, 105) + clamp( ( (u_vitamin('vitamin_psionic_drain') - 180) * 3 ), 0, 375) + (nether_attune_difficulty_scaler(u_latest_channeled_power_difficulty)) + 25) + nether_attune_torrential_channeling_influence()"
791+
]
792+
},
793+
"y": 1000
794+
}
795+
},
796+
"then": [
797+
{ "u_message": "You feel feverish and weak.", "type": "bad" },
798+
{
799+
"u_add_effect": "effect_nether_attunement_pyrokinetic_fever",
800+
"duration": {
801+
"math": [ "time(' 10 m') * rng( ( u_vitamin('vitamin_psionic_drain') / 2 ), ( u_vitamin('vitamin_psionic_drain') * 2 ) )" ]
802+
}
803+
}
804+
]
805+
}
806+
],
807+
"false_effect": [ { "run_eocs": "EOC_PSIONICS_NETHER_ATTUNEMENT_CONSEQUENCES" } ]
808+
},
705809
{
706810
"type": "effect_on_condition",
707811
"id": "EOC_NETHER_EFFECT_CHECK_TELEPORTATION_INCORPOREALITY",
@@ -903,7 +1007,7 @@
9031007
{
9041008
"u_add_effect": "effect_nether_attunement_pyrokinetic_fog",
9051009
"duration": {
906-
"math": [ "time(' 15 m') * rng( ( u_vitamin('vitamin_psionic_drain') / 2 ), ( u_vitamin('vitamin_psionic_drain') * 2 ) )" ]
1010+
"math": [ "time(' 4 m') * rng( ( u_vitamin('vitamin_psionic_drain') / 2 ), ( u_vitamin('vitamin_psionic_drain') * 2 ) )" ]
9071011
}
9081012
}
9091013
]
@@ -936,6 +1040,40 @@
9361040
],
9371041
"false_effect": [ { "run_eocs": "EOC_PSIONICS_NETHER_ATTUNEMENT_CONSEQUENCES" } ]
9381042
},
1043+
{
1044+
"type": "effect_on_condition",
1045+
"id": "EOC_NETHER_EFFECT_CHECK_MINDSHOCK_STUN",
1046+
"//": "Base is 3% chance from 115 attunement to 150 attunement, then scaling up 0.2% per attunement up to 9% chance at 180 attunement, then scaling up 0.35% chance per attunement up to 33.5% chance at max, plus 1/10th the Difficulty squared.",
1047+
"condition": {
1048+
"or": [ { "math": [ "u_vitamin('vitamin_psionic_drain') >= 115" ] }, { "u_has_trait": "PSI_TORRENTIAL_CHANNELING_active" } ]
1049+
},
1050+
"effect": [
1051+
{
1052+
"if": {
1053+
"x_in_y_chance": {
1054+
"x": {
1055+
"math": [
1056+
"( clamp( (( u_vitamin('vitamin_psionic_drain') - 150 ) * 2), 0, 60) + clamp( ( (u_vitamin('vitamin_psionic_drain') - 180) * 3.5 ), 0, 300) + (nether_attune_difficulty_scaler(u_latest_channeled_power_difficulty)) + 30) + nether_attune_torrential_channeling_influence()"
1057+
]
1058+
},
1059+
"y": 1000
1060+
}
1061+
},
1062+
"then": [
1063+
{ "u_message": "Power floods into your mind, washing away all other thought!", "type": "bad" },
1064+
{
1065+
"u_add_effect": "stunned",
1066+
"duration": { "math": [ "2 + rand( (u_vitamin('vitamin_psionic_drain') / 50 ) )" ] }
1067+
},
1068+
{
1069+
"u_add_effect": "psi_stunned",
1070+
"duration": { "math": [ "2 + rand( (u_vitamin('vitamin_psionic_drain') / 50 ) )" ] }
1071+
}
1072+
]
1073+
}
1074+
],
1075+
"false_effect": [ { "run_eocs": "EOC_PSIONICS_NETHER_ATTUNEMENT_CONSEQUENCES" } ]
1076+
},
9391077
{
9401078
"type": "effect_on_condition",
9411079
"id": "EOC_NETHER_EFFECT_CHECK_ATTENUATION",

data/mods/MindOverMatter/effectoncondition/eoc_on_power_use_events.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,11 @@
206206
},
207207
{
208208
"u_add_effect": "blind_clair_overload",
209-
"duration": { "math": [ "time(' 15 s') * (1 + ( u_vitamin('vitamin_psionic_drain') / 2 ) ) * rng(1, _difficulty)" ] }
209+
"duration": { "math": [ "time(' 2 s') * (1 + ( u_vitamin('vitamin_psionic_drain') / 2 ) ) * rng(1, _difficulty)" ] }
210210
},
211211
{
212212
"u_add_effect": "deaf_clair_overload",
213-
"duration": { "math": [ "time(' 15 s') * (1 + ( u_vitamin('vitamin_psionic_drain') / 2 ) ) * rng(1, _difficulty)" ] }
213+
"duration": { "math": [ "time(' 2 s') * (1 + ( u_vitamin('vitamin_psionic_drain') / 2 ) ) * rng(1, _difficulty)" ] }
214214
}
215215
]
216216
},

0 commit comments

Comments
 (0)