Skip to content

Commit

Permalink
[MoM] Tweak formula for gaining Observed so repeated channeling is th…
Browse files Browse the repository at this point in the history
…e most important factor (#73464)

* Initial commit

* Kick tests

* Kick tests
  • Loading branch information
Standing-Storm authored May 4, 2024
1 parent cad7474 commit 801fdaf
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
13 changes: 11 additions & 2 deletions data/mods/MindOverMatter/effectoncondition/eoc_observed.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"required_event": "spellcasting_finish",
"condition": {
"and": [
{ "not": { "u_has_effect": "effect_observed_rate_limiter" } },
{ "test_eoc": "EOC_CONDITION_SPELLCASTING_FINISH_TRAIT_AND_SCHOOL_LIST" },
{
"or": [
Expand All @@ -28,7 +29,7 @@
"x_in_y_chance": {
"x": {
"math": [
"rand(50 * (1 + (nether_attune_difficulty_scaler(u_latest_channeled_power_difficulty)) - ( u_skill('metaphysics') / 2 ) ) )"
"rand(((1 + nether_attune_difficulty_scaler(u_latest_channeled_power_difficulty)) * 4) + (u_nether_conduit_repeated_channeling_value * 12))"
]
},
"y": 1000
Expand All @@ -41,7 +42,15 @@
"u_message": "The hairs stand up on the back of your neck. You have a strong feeling that you're being watched.",
"type": "bad"
},
{ "u_add_effect": "psi_nether_attention", "duration": "7 days" }
{ "u_add_effect": "psi_nether_attention", "duration": "7 days" },
{
"u_add_effect": "effect_observed_rate_limiter",
"duration": {
"math": [
"3600 - (u_latest_channeled_power_difficulty * rng(10,200)) - (u_effect_intensity('psi_nether_attention') * rng(10,200))"
]
}
}
]
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,12 @@
"name": [ "Feedback" ],
"desc": [ "You feel a persistent itching that will not go away." ],
"rating": "bad"
},
{
"type": "effect_type",
"id": "effect_observed_rate_limiter",
"//": "Hidden effect, used as a tracker",
"name": [ "" ],
"desc": [ "" ]
}
]

0 comments on commit 801fdaf

Please sign in to comment.