Skip to content

Commit

Permalink
[MoM] Rework Passive traits to use spell_level_sum (#73569)
Browse files Browse the repository at this point in the history
* Change variables

* Rework lifting field application

* Update lifting field recipe description

* Fix tools

* Update data/mods/MindOverMatter/mutations/psi_passives.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/mutations/psi_passives.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/mutations/psi_passives.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/mutations/psi_passives.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/mutations/psi_passives.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/mutations/psi_passives.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Vitamins, update documentation

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Standing-Storm and github-actions[bot] authored May 9, 2024
1 parent 677a59c commit d268840
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 56 deletions.
16 changes: 8 additions & 8 deletions data/mods/MindOverMatter/PowerDescriptionSpoilers.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ All powers have a kCal cost equal to (Difficulty of power * 5) times a randomize
# Biokinesis
**Note**: No biokinetic powers have a target listed because they only affect the psion.

**Passive Power: Efficient System**: Reduces hunger, thirst, and metabolic burn rate by 3% plus 1.5% times the highest single biokinetic power the psion knows.
**Passive Power: Efficient System**: Reduces hunger, thirst, and metabolic burn rate by 3% plus 0.075% times the sum total levels of the psion's biokinetic powers, and increases the number of vitamins absorbed from food by a similar amount.

## Overcome Pain (C)
*Difficulty*: 1<br />
Expand Down Expand Up @@ -149,7 +149,7 @@ This is natural painkiller and so has natural effects (reduces speed slightly)<b

# Clairsentience

**Passive Power: Psionic Senses**: Enhances mundane senses, allowing farther overmap sight, enhanced hearing, and the ability to always know the exact time even without a watch. The psion can also sense Nether creaturs within a radius of 2 squares plus 1.5 squares times the level of the psion's highest-level clairsentience power.
**Passive Power: Psionic Senses**: Enhances mundane senses, allowing farther overmap sight, enhanced hearing, and the ability to always know the exact time even without a watch. The psion can also sense Nether creatures within a radius of 2 squares plus 0.075 squares times the sum total of the levels of the psion's clairsentience powers.

## Night Eyes (C)
*Difficulty*: 1<br />
Expand Down Expand Up @@ -297,7 +297,7 @@ This is natural painkiller and so has natural effects (reduces speed slightly)<b

# Electrokinesis

**Passive Power: Galvanic Armor**: Reduces incoming electrical damage by 1 per four levels of the psion's highest-leveled electrokinetic power and reduces incoming pain by 0.7% times the level of the psion's highest-level electrokinetic power.
**Passive Power: Galvanic Armor**: Reduces incoming electrical damage by 0.2 per level of the psion's electrokinetic powers and reduces incoming pain by 0.035% times the sum total of the psion's levels in electrokinetic powers.

## Spark Sight (C)
*Difficulty*: 1<br />
Expand Down Expand Up @@ -596,7 +596,7 @@ Powers causing photokinetic damage have a 40% chance to blind the target for 3 s

# Pyrokinesis

**Passive Power: Internal Fire**: The pyrokinetic slightly heats the air around themselves, gaining a small amount of warmth at all times (and more in colder temperatures) and becoming more comfortable when sleeping, as well as ignoring the first 10 points of wetness on any part of their body.
**Passive Power: Internal Fire**: The pyrokinetic slightly heats the air around themselves, gaining a small amount of warmth at all times (and more in colder temperatures) and increasing their temperature when sleeping by 0.05 times the total levels in the psion's pyrokinetic powers, as well as ignoring the first 10 points of wetness on any part of their body.

## Brilliant Flash
*Difficulty*: 1<br />
Expand Down Expand Up @@ -726,7 +726,7 @@ Powers causing photokinetic damage have a 40% chance to blind the target for 3 s

# Telekinesis

**Passive Power: Lifting Hand**: The telekinetic may carry a single item next to them in a field of telekinetic force. The item's weight increases proportional to their highest telekinetic power, though they must use the recipe Contemplate Lifting Field to increase it.
**Passive Power: Lifting Hand**: The telekinetic may carry a single item next to them in a field of telekinetic force. The item's weight increases proportional to their total levels in their telekinetic powers, increasing by one rank per 8 total telekinetic levels, though they must use the recipe Contemplate Lifting Field to increase it.

Powers causing telekinetic damage have a 40% chance to stagger the target for 2 seconds and a 20% chance to down the target. Each of these is checked independently.

Expand Down Expand Up @@ -876,7 +876,7 @@ Powers causing telekinetic damage have a 40% chance to stagger the target for 2

# Telepathy

**Passive Power: Telepathic Suggestion**: Influence the attitude of those the psion is speaking to, increasing Persuade, Lie, and Intimidate chances by 5% plus 1.5% times the psion's highest-leveled telepathy power.
**Passive Power: Telepathic Suggestion**: Influence the attitude of those the psion is speaking to, increasing Persuade, Lie, and Intimidate chances by 5% plus 0.075% times the psion's total levels in telepathic powers.

Powers causing telepathic damage have a 5% chance to down the target, a 33% chance to stun the target for 1 second, and a 66% chance to daze the target for 1 second. Each of these is checked independently.

Expand Down Expand Up @@ -999,7 +999,7 @@ Powers causing telepathic damage have a 5% chance to down the target, a 33% chan

# Teleportation

**Passive Power: Spacial Recalibration**: Immunity to teleglow and a small chance to avoid incoming damage: a 1% chance per attack plus 0.5% times the psion's highest-leveled teleportation power.
**Passive Power: Spacial Recalibration**: Immunity to teleglow and a small chance to avoid incoming damage: a 1% chance per attack plus 0.025% times the psion's total levels in teleportation powers.

## Blink
*Difficulty*: 1<br />
Expand Down Expand Up @@ -1102,7 +1102,7 @@ Powers causing telepathic damage have a 5% chance to down the target, a 33% chan

# Vitakinesis

**Passive Power: Bloom of Vitality**: Increased max HP equal to 5% plus 1% times the psion's highest-leveled vitakinetic power, faster healing equal to 10% plus 1% times the psion's highest-leveled vitakinetic power, the ability to heal broken limbs without a splint, and 5x faster processing of mutant toxins.
**Passive Power: Bloom of Vitality**: Increased max HP equal to 5% plus 0.05% times the psion's total levels in vitakinetic powers, faster healing equal to 10% plus 0.05% times the psion's total levels in vitakinetic powers, the ability to heal broken limbs without a splint, and 5x faster processing of mutant toxins.

## Healthy Glow (C)
*Difficulty*: 1<br />
Expand Down
62 changes: 31 additions & 31 deletions data/mods/MindOverMatter/effectoncondition/eoc_mutations.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,242 +4,242 @@
"id": "EOC_TELEKINETIC_LIFTER",
"condition": { "u_has_trait": "TELEKINETIC" },
"effect": {
"switch": { "math": [ "u_school_level('TELEKINETIC')" ] },
"switch": { "math": [ "u_spell_level_sum('school': 'TELEKINETIC') / 8" ] },
"cases": [
{
"case": 2,
"case": 0,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_1" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 3,
"case": 1,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_2" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 4,
"case": 2,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_3" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 5,
"case": 3,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_4" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 6,
"case": 4,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_5" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 7,
"case": 5,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_6" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 8,
"case": 6,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_7" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 9,
"case": 7,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_8" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 10,
"case": 8,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_9" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 11,
"case": 9,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_10" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 12,
"case": 10,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_11" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 13,
"case": 11,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_12" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 14,
"case": 12,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_13" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 15,
"case": 13,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_14" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 16,
"case": 14,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_15" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 17,
"case": 15,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_16" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 18,
"case": 16,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_17" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 19,
"case": 17,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_18" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 20,
"case": 18,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_19" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 21,
"case": 19,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_20" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 22,
"case": 20,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_21" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 23,
"case": 21,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_22" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 24,
"case": 22,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_23" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 25,
"case": 23,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_24" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 26,
"case": 24,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_25" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 27,
"case": 25,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_26" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 28,
"case": 26,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_27" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 29,
"case": 27,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_28" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 30,
"case": 28,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_29" },
{ "u_message": "You meditate on your lifting field.", "type": "good" }
]
},
{
"case": 31,
"case": 29,
"effect": [
{ "run_eocs": "EOC_TELEKIN_REMOVE_LIFTING_FIELD" },
{ "u_add_trait": "TELEKINETIC_LIFTER_30" },
Expand Down
Loading

0 comments on commit d268840

Please sign in to comment.