Skip to content

Commit

Permalink
[MoM] Allow Enhance Mobility to scale with Nether Attunement and inte…
Browse files Browse the repository at this point in the history
…lligence (#79042)

* Initial commit

* Update documentation

* Fix obsolete EoC syntax
  • Loading branch information
Standing-Storm authored Jan 10, 2025
1 parent ddf2499 commit 0df6e42
Show file tree
Hide file tree
Showing 5 changed files with 548 additions and 21 deletions.
2 changes: 1 addition & 1 deletion data/mods/MindOverMatter/PowerDescriptionSpoilers.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ This is natural painkiller and so has natural effects (reduces speed slightly)<b
*Duration*: 5 minutes to 15 minutes, plus 45 seconds to 120 seconds per level<br />
*Stamina Cost*: 4500, minus 150 per level to a minimum of 2500<br />
*Channeling Time*: 275 moves, minus 15 moves per level to a minimum of 50.<br />
*Effects*: Reduces encumbrance on every body part, improving every 4 levels. Other than -2 at level 0 through 3, encumbrance reduction is equal to power threshold level: -4 from levels 4 to 7, -8 from levels 8 to 11, and so on.<br />
*Effects*: Reduces encumbrance on every body part, starting at -2 and improving by -2 every 2 levels, to a maximum of -32 at level 30.<br />
*Prerequisites*: Overcome Pain 4, Heightened Reflexes 6 *or* Flexibility 9, Burst of Speed 10 *or* Combat Dance 4 *or* Physical Enhancement 10.<br />

## Hammerhand (C)
Expand Down
329 changes: 328 additions & 1 deletion data/mods/MindOverMatter/effects/effects_psionic.json
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,334 @@
"apply_message": "",
"remove_message": "Your gear suddenly seems to weigh you down.",
"rating": "good",
"max_duration": "7 days"
"max_duration": "7 days",
"enchantments": [
{
"condition": {
"and": [
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
">=",
"0"
]
},
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
"<",
"2"
]
}
]
},
"mutations": [ "BIOKIN_ENHANCE_MOBILITY_01" ]
},
{
"condition": {
"and": [
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
">=",
"2"
]
},
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
"<",
"4"
]
}
]
},
"mutations": [ "BIOKIN_ENHANCE_MOBILITY_02" ]
},
{
"condition": {
"and": [
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
">=",
"4"
]
},
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
"<",
"6"
]
}
]
},
"mutations": [ "BIOKIN_ENHANCE_MOBILITY_03" ]
},
{
"condition": {
"and": [
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
">=",
"6"
]
},
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
"<",
"8"
]
}
]
},
"mutations": [ "BIOKIN_ENHANCE_MOBILITY_04" ]
},
{
"condition": {
"and": [
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
">=",
"8"
]
},
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
"<",
"10"
]
}
]
},
"mutations": [ "BIOKIN_ENHANCE_MOBILITY_05" ]
},
{
"condition": {
"and": [
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
">=",
"10"
]
},
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
"<",
"12"
]
}
]
},
"mutations": [ "BIOKIN_ENHANCE_MOBILITY_06" ]
},
{
"condition": {
"and": [
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
">=",
"12"
]
},
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
"<",
"14"
]
}
]
},
"mutations": [ "BIOKIN_ENHANCE_MOBILITY_07" ]
},
{
"condition": {
"and": [
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
">=",
"14"
]
},
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
"<",
"16"
]
}
]
},
"mutations": [ "BIOKIN_ENHANCE_MOBILITY_08" ]
},
{
"condition": {
"and": [
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
">=",
"16"
]
},
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
"<",
"18"
]
}
]
},
"mutations": [ "BIOKIN_ENHANCE_MOBILITY_09" ]
},
{
"condition": {
"and": [
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
">=",
"18"
]
},
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
"<",
"20"
]
}
]
},
"mutations": [ "BIOKIN_ENHANCE_MOBILITY_10" ]
},
{
"condition": {
"and": [
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
">=",
"20"
]
},
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
"<",
"22"
]
}
]
},
"mutations": [ "BIOKIN_ENHANCE_MOBILITY_11" ]
},
{
"condition": {
"and": [
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
">=",
"22"
]
},
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
"<",
"24"
]
}
]
},
"mutations": [ "BIOKIN_ENHANCE_MOBILITY_12" ]
},
{
"condition": {
"and": [
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
">=",
"24"
]
},
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
"<",
"26"
]
}
]
},
"mutations": [ "BIOKIN_ENHANCE_MOBILITY_13" ]
},
{
"condition": {
"and": [
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
">=",
"26"
]
},
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
"<",
"28"
]
}
]
},
"mutations": [ "BIOKIN_ENHANCE_MOBILITY_14" ]
},
{
"condition": {
"and": [
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
">=",
"28"
]
},
{
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
"<",
"30"
]
}
]
},
"mutations": [ "BIOKIN_ENHANCE_MOBILITY_15" ]
},
{
"condition": {
"math": [
"u_spell_level('biokin_enhance_mobility') * scaling_factor(u_val('intelligence') ) * u_nether_attunement_power_scaling",
">=",
"30"
]
},
"mutations": [ "BIOKIN_ENHANCE_MOBILITY_16" ]
}
]
},
{
"type": "effect_type",
Expand Down
Loading

0 comments on commit 0df6e42

Please sign in to comment.