Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MoM] Concentrating on powers at higher Nether Attunement has a chance of backlash #79163

Merged
merged 5 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@
]
},
"effect": [
{ "u_message": "As you unleash your powers, your head begins to throb.", "type": "bad" },
{ "u_message": "Your head begins to throb.", "type": "bad" },
{
"u_add_effect": "psionic_overload",
"duration": {
Expand Down Expand Up @@ -592,7 +592,7 @@
]
},
"effect": [
{ "u_message": "As you unleash your powers, the temperature suddenly drops!", "type": "bad" },
{ "u_message": "The temperature suddenly drops!", "type": "bad" },
{ "u_cast_spell": { "id": "nether_attunement_cold_chill", "hit_self": true } }
]
},
Expand All @@ -616,7 +616,7 @@
]
},
"effect": [
{ "u_message": "As you unleash your powers, you feel a strange tingling sensation.", "type": "mixed" },
{ "u_message": "You feel a strange tingling sensation.", "type": "mixed" },
{ "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rand(5) + 2" ] }
]
},
Expand Down Expand Up @@ -647,11 +647,11 @@
"condition": { "math": [ "rand(1) >= 1" ] },
"effect": [
{ "u_add_effect": "effect_nether_attunement_health_bonus", "duration": "30 seconds" },
{ "u_message": "As you unleash your powers, you bloom with vitality.", "type": "good" }
{ "u_message": "You feel filled with vigor.", "type": "good" }
],
"false_effect": [
{ "u_add_effect": "effect_nether_attunement_health_penalty", "duration": "30 seconds" },
{ "u_message": "As you unleash your powers, you are struck with malaise.", "type": "bad" }
{ "u_message": "You feel drained of vitality.", "type": "bad" }
]
}
]
Expand All @@ -678,7 +678,7 @@
]
},
"effect": [
{ "u_message": "As you unleash your powers, blood drips from your nose.", "type": "bad" },
{ "u_message": "Blood drips from your nose.", "type": "bad" },
{ "u_add_effect": "bleed", "intensity": 1, "target_part": "head", "duration": "5 minutes" },
{ "math": [ "u_hp('head')", "-=", "1" ] }
]
Expand All @@ -703,7 +703,7 @@
]
},
"effect": [
{ "u_message": "As you unleash your powers, they take more out of you than you expected.", "type": "bad" },
{ "u_message": "You feel a sudden wave of fatigue.", "type": "bad" },
{ "math": [ "u_val('stamina')", "-=", "rng(3000,9000)" ] }
]
},
Expand All @@ -727,7 +727,7 @@
]
},
"effect": [
{ "u_message": "As you unleash your powers, you feel tired.", "type": "bad" },
{ "u_message": "You feel a sudden wave of exhaustion.", "type": "bad" },
{ "math": [ "u_val('sleepiness')", "+=", "rng(30,90)" ] }
]
},
Expand Down Expand Up @@ -756,10 +756,7 @@
"id": "EOC_NETHER_EFFECT_CHECK_ATTUNEMENT_RAISING_EFFECT_2",
"condition": { "not": { "u_has_proficiency": "effect_nether_attunement_attenuation" } },
"effect": [
{
"u_message": "As you unleash your powers, you feel a strange tingling sensation that does not go away.",
"type": "mixed"
},
{ "u_message": "You feel a strange tingling sensation that does not go away.", "type": "mixed" },
{
"u_add_effect": "effect_nether_attunement_raiser",
"duration": {
Expand Down Expand Up @@ -791,7 +788,7 @@
]
},
"effect": [
{ "u_message": "As you unleash your powers, you feel a stabbing pain!", "type": "good" },
{ "u_message": "You feel a stabbing pain!", "type": "good" },
{ "math": [ "u_pain()", "+=", "rand(7) + 3" ] },
{
"u_add_effect": "effect_nether_attunement_feedback",
Expand Down Expand Up @@ -821,7 +818,7 @@
]
},
"effect": [
{ "u_message": "As you unleash your powers, you feel a surge of strength!", "type": "good" },
{ "u_message": "You feel a surge of strength!", "type": "good" },
{
"u_add_effect": "effect_nether_attunement_power_surge",
"duration": { "math": [ "u_vitamin('vitamin_psionic_drain') * rng(1,10)" ] }
Expand All @@ -848,7 +845,7 @@
]
},
"effect": [
{ "u_message": "As you unleash your powers, your skin feels tight!", "type": "bad" },
{ "u_message": "Your skin feels tight!", "type": "bad" },
{
"u_add_effect": "effect_psi_teleport_lock",
"duration": {
Expand Down Expand Up @@ -877,7 +874,7 @@
]
},
"effect": [
{ "u_message": "As you unleash your powers, your muscles tremble and weaken.", "type": "bad" },
{ "u_message": "Your muscles tremble and weaken.", "type": "bad" },
{
"u_add_effect": "effect_biokin_overload",
"duration": {
Expand Down Expand Up @@ -911,7 +908,7 @@
"id": "EOC_NETHER_EFFECT_CHECK_ATTENUATION_2",
"condition": { "not": { "u_has_proficiency": "effect_nether_attunement_raiser" } },
"effect": [
{ "u_message": "As you unleash your powers, the flow of energy slows to a trickle!", "type": "bad" },
{ "u_message": "The flow of Netherum energy slows to a trickle!", "type": "bad" },
{
"u_add_effect": "effect_nether_attunement_attenuation",
"duration": {
Expand Down Expand Up @@ -943,7 +940,7 @@
]
},
"effect": [
{ "u_message": "As you unleash your powers, you gasp and your breath gives out.", "type": "bad" },
{ "u_message": "You gasp and your breath gives out.", "type": "bad" },
{
"u_add_effect": "effect_psi_reduced_breathing",
"duration": {
Expand Down Expand Up @@ -972,7 +969,7 @@
]
},
"effect": [
{ "u_message": "As you unleash your powers, you begin to feel a sudden sense of dread and paranoia!", "type": "bad" },
{ "u_message": "You begin to feel a sudden sense of dread and paranoia!", "type": "bad" },
{
"u_add_effect": "hallu",
"duration": {
Expand Down Expand Up @@ -1001,7 +998,7 @@
]
},
"effect": [
{ "u_message": "As you unleash your powers, a soundless explosion hurls you off your feet.", "type": "bad" },
{ "u_message": "A soundless explosion hurls you off your feet.", "type": "bad" },
{ "u_cast_spell": { "id": "nether_attunement_everyone_downed", "hit_self": true } }
]
},
Expand All @@ -1025,10 +1022,7 @@
]
},
"effect": [
{
"u_message": "As you unleash your powers, the flow of Nether energy you are channeling is suddenly cut off!",
"type": "bad"
},
{ "u_message": "The flow of Nether energy is suddenly cut off!", "type": "bad" },
{
"u_add_effect": "effect_psi_null_unbound",
"duration": {
Expand Down Expand Up @@ -1058,7 +1052,7 @@
]
},
"effect": [
{ "u_message": "As you unleash your powers, crackling energy erupts all around you!", "type": "bad" },
{ "u_message": "Crackling energy erupts all around you!", "type": "bad" },
{ "u_cast_spell": { "id": "nether_attunement_nether_lightning", "hit_self": false } }
]
},
Expand All @@ -1084,7 +1078,7 @@
},
"effect": [
{ "u_add_effect": "tindrift", "duration": "1 day" },
{ "u_message": "As you unleash your powers, you feel a horrible sensation of watching eyes.", "type": "bad" }
{ "u_message": "You feel a horrible sensation of watching eyes.", "type": "bad" }
]
},
{
Expand All @@ -1108,7 +1102,7 @@
},
"effect": [
{ "run_eocs": "EOC_NETHER_ATTUNEMENT_MUTATION_GAINER" },
{ "u_message": "As you unleash your powers, feel an internal wrenching sensation.", "type": "bad" }
{ "u_message": "You feel an internal wrenching sensation.", "type": "bad" }
]
},
{
Expand All @@ -1133,7 +1127,7 @@
},
"effect": [
{ "u_set_field": "fd_fatigue", "radius": 0, "intensity": 3, "hit_player": false },
{ "u_message": "As you unleash your powers, the air around you twists and warps in on itself.", "type": "bad" }
{ "u_message": "The air around you twists and warps in on itself.", "type": "bad" }
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,8 @@
},
{
"math": [ "u_skill_exp('metaphysics', 'format': 'raw')", "+=", "(15 * u_latest_channeled_power_difficulty)" ]
}
},
{ "run_eocs": "EOC_CONCENTRATION_CHECK_FOR_NETHER_ATTUNEMENT_BACKLASH" }
],
"false_effect": [
{
Expand All @@ -627,6 +628,7 @@
"EOC_CONCENTRATION_IN_NETHER_AREAS_ATTUNEMENT",
"EOC_NETHER_ATTUNEMENT_FEEDBACK_CHECK_CONCENTRATION",
"EOC_CONCENTRATION_SUCCESS_REDUCE_FOCUS",
"EOC_CONCENTRATION_CHECK_FOR_NETHER_ATTUNEMENT_BACKLASH",
"EOC_CONCENTRATION_VS_LIMIT_CALCULATIONS"
]
},
Expand Down Expand Up @@ -687,6 +689,20 @@
"condition": { "and": [ { "math": [ "u_vitamin('vitamin_maintained_powers') > 0" ] }, { "math": [ "u_val('focus') >= 20" ] } ] },
"effect": [ { "math": [ "u_val('focus')", "-=", "5" ] } ]
},
{
"type": "effect_on_condition",
"id": "EOC_CONCENTRATION_CHECK_FOR_NETHER_ATTUNEMENT_BACKLASH",
"condition": {
"and": [
{ "math": [ "u_vitamin('vitamin_psionic_drain') >= 15" ] },
{ "x_in_y_chance": { "x": { "math": [ "u_vitamin('vitamin_psionic_drain')" ] }, "y": 2500 } }
]
},
"effect": [
{ "u_message": "Your concentration wavers for just a moment.", "type": "bad" },
{ "run_eocs": "EOC_PSIONICS_NETHER_ATTUNEMENT_CONSEQUENCES" }
]
},
{
"type": "effect_on_condition",
"id": "EOC_PSIONICS_CHANNEL_MAINTENANCE_CHECK",
Expand Down
Loading