From d6e3fc6c20422d9ef16c90d28b46d79fe9de3979 Mon Sep 17 00:00:00 2001
From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com>
Date: Wed, 3 Jan 2024 07:05:42 -0600
Subject: [PATCH] [MoM] Power learning revamp: Electrokinesis (#70539)
* Line breaks to markdown
* Add powers
* Update nether attunement values
* Spelling
* Remove missed learn_spells fields
* re-add learning EoC for hobby
---
.../PowerDescriptionSpoilers.md | 333 +++--
.../effectoncondition/eoc_learn_recipes.json | 15 +-
data/mods/MindOverMatter/hobbies.json | 3 +-
.../mods/MindOverMatter/mutations/traits.json | 1 -
.../upgrade_eocs/electrokinetic_upgrades.json | 130 ++
.../MindOverMatter/powers/electrokinesis.json | 90 +-
.../powers/learning_eocs/electrokinesis.json | 1173 +++++++++++++++++
data/mods/MindOverMatter/professions.json | 20 +-
.../recipes/practice/biokinetic_practice.json | 18 +-
.../practice/electrokinesis_practice.json | 1041 ++++++++++-----
.../MindOverMatter/recipes/proficiencies.json | 12 +
11 files changed, 2298 insertions(+), 538 deletions(-)
create mode 100644 data/mods/MindOverMatter/obsolete/upgrade_eocs/electrokinetic_upgrades.json
create mode 100644 data/mods/MindOverMatter/powers/learning_eocs/electrokinesis.json
diff --git a/data/mods/MindOverMatter/PowerDescriptionSpoilers.md b/data/mods/MindOverMatter/PowerDescriptionSpoilers.md
index 1f7425b2e66f6..59322c86878d6 100644
--- a/data/mods/MindOverMatter/PowerDescriptionSpoilers.md
+++ b/data/mods/MindOverMatter/PowerDescriptionSpoilers.md
@@ -1,15 +1,19 @@
# Power Descriptions
Note that every power, unless otherwise specified, is affected by Intelligence scaling and Nether Attunement scaling. Intelligence scaling is normalized at 10 with +/- 5% per point in either direction—-Intelligence 9 makes powers 95% as effective, Intelligence 12 makes powers 110% as effective, and so on.
+A (C) after a power name indicates that it can be maintained by concentration.
+
# Biokinesis
-**Note**: No biokinetic powers have a range or AoE listed because they only affect the psion.
+**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.
## Overcome Pain (C)
-*Difficulty*: 1
-*Duration*: 5 minutes to 21 minutes 40 seconds, plus 20 to 75 seconds per level
-*Stamina Cost*: 1750, minus 75 per level to a minimum of 800
-*Channeling Time*: 125 moves, minus 7 moves per level to a minimum of 50
-*Effects*: Adds pkill to the psion, scaling every 4 levels.
+*Difficulty*: 1
+*Duration*: 5 minutes to 21 minutes 40 seconds, plus 20 to 75 seconds per level
+*Stamina Cost*: 1750, minus 75 per level to a minimum of 800
+*Channeling Time*: 125 moves, minus 7 moves per level to a minimum of 50
+*Effects*: Adds pkill to the psion, scaling every 4 levels.
Level | Pkill Min | Pkill Tick | Pkill Max
——-|——-|——-|———
0 | 1 | 12 | 15
@@ -18,125 +22,264 @@ Level | Pkill Min | Pkill Tick | Pkill Max
12| 4 | 8 | 75
16| 5 | 8 | 100
20| 6 | 6 | 130
-This is natural painkiller and so has natural effects (reduces speed slightly)
+This is natural painkiller and so has natural effects (reduces speed slightly)
*Prerequisites*: Starting power.
## Physical Enhancement (C)
-*Difficulty*: 2
-*Duration*: 90 seconds to 7 minutes 30 seconds, plus 15 to 90 seconds per level
-*Stamina Cost*: 3500, minus 175 per level to a minimum of 1250
-*Channeling Time*: 120 moves, minus 5.5 moves per level to a minimum of 75
-*Effects*: +1 Strength and +1 Dexterity, with an additional point of each every 5 power levels. It also makes you immune to Weakening Poison.
-*Prerequisites*: Starting power.
+*Difficulty*: 2
+*Duration*: 90 seconds to 7 minutes 30 seconds, plus 15 to 90 seconds per level
+*Stamina Cost*: 3500, minus 175 per level to a minimum of 1250
+*Channeling Time*: 120 moves, minus 5.5 moves per level to a minimum of 75
+*Effects*: Adds +1 Strength and +1 Dexterity, with an additional point of each every 5 power levels. It also makes the psion immune to Weakening Poison.
+*Prerequisites*: Starting power.
## Oxygen Absorption
-*Difficulty*: 2
-*Duration*: 3 minutes to 9 minutes, plus 36 to 72 seconds per level
-*Stamina Cost*: 2500, minus 85 per level to a minimum of 1200
-*Channeling Time*: 70 moves, minus 6 moves per level to a minimum of 25
-*Effects*: Allows the psion to breathe underwater. This is the same as a rebreather, so it reduces the hidden oxygen stat by a significant amount, making Stamina recovery harder.
-*Prerequisites*: Physical Enhancement 4, Overcome Pain 3.
+*Difficulty*: 2
+*Duration*: 3 minutes to 9 minutes, plus 36 to 72 seconds per level
+*Stamina Cost*: 2500, minus 85 per level to a minimum of 1200
+*Channeling Time*: 70 moves, minus 6 moves per level to a minimum of 25
+*Effects*: Allows the psion to breathe underwater. This is the same as a rebreather, so it reduces the hidden oxygen stat by a significant amount, making Stamina recovery harder.
+*Prerequisites*: Physical Enhancement 4, Overcome Pain 3.
## Burst of Speed
-*Difficulty*: 3
-*Duration*: Instant
-*Stamina Cost*: 3000, minus 190 per level to a minimum of 1500
-*Channeling Time*: 75 moves, minus 4.5 moves per level to a minimum of 15
-*Effects*: Dash up to 1 square plus 1 square per two levels, to a maximum of 12 squares. This is normal movement and will subject you to tile hazards.
-*Prerequisites*: Physical Enhancement 9 *or* Enhance Mobility 5.
+*Difficulty*: 3
+*Duration*: Instant
+*Stamina Cost*: 3000, minus 190 per level to a minimum of 1500
+*Channeling Time*: 75 moves, minus 4.5 moves per level to a minimum of 15
+*Effects*: Dash up to 1 square plus 1 square per two levels, to a maximum of 12 squares. This is normal movement and will subject you to tile hazards.
+*Prerequisites*: Physical Enhancement 9 *or* Enhance Mobility 5.
## Flexibility
-*Difficulty*: 3
-*Duration*: 2 to 5 seconds
-*Stamina Cost*: 2500, minus 175 per level to a minimum of 1250
-*Channeling Time*: 50 moves, minus 2.5 moves per level to a minimum of 15
-*Effects*: Greatly increases the psion’s reaction (2x), block (1.2x) and crawl (1.5) limb scores, as well as rendering them immune to being grabbed and making it easier to recover from being downed. It reduces fall damage by 20% plus 2% per level.
-*Prerequisites*: Physical Enhancement 6
+*Difficulty*: 3
+*Duration*: 2 to 5 seconds
+*Stamina Cost*: 2500, minus 175 per level to a minimum of 1250
+*Channeling Time*: 50 moves, minus 2.5 moves per level to a minimum of 15
+*Effects*: Greatly increases the psion’s reaction (2x), block (1.2x) and crawl (1.5) limb scores, as well as rendering them immune to being grabbed and making it easier to recover from being downed. It reduces fall damage by 20% plus 2% per level.
+*Prerequisites*: Physical Enhancement 6
## Hardened Skin
*Difficulty*: 4
-*Duration*: 45 to 90 seconds, plus 8 to 15 seconds per level.
-*Stamina Cost*: 2500, minus 125 per level to a minimum of 750
-*Channeling Time*: 150 moves, minus 8.5 moves per level to a minimum of 50.
-*Effects*: Increases piercing armor by 3, bashing armor by 6, and cutting armor by 4. Also makes the psion immune to bleeding from wounds received during its duration (previous bleeding is unaffected) and reduces incoming pain by 2% per level.
-*Prerequisites*: Overcome Pain 6 *or* Physical Enhancement 8, Flexibility 7 *or* Temperature Adaptability 6.
+*Duration*: 45 to 90 seconds, plus 8 to 15 seconds per level.
+*Stamina Cost*: 2500, minus 125 per level to a minimum of 750
+*Channeling Time*: 150 moves, minus 8.5 moves per level to a minimum of 50.
+*Effects*: Increases piercing armor by 3, bashing armor by 6, and cutting armor by 4. Also makes the psion immune to bleeding from wounds received during its duration (previous bleeding is unaffected) and reduces incoming pain by 2% per level.
+*Prerequisites*: Overcome Pain 6 *or* Physical Enhancement 8, Flexibility 7 *or* Temperature Adaptability 6.
## Adrenaline Trigger
-*Difficulty*: 4
-*Duration*: 15 minutes
-*Stamina Cost*: 3500, minus 165 per level to a minimum of 1800
-*Channeling Time*: 100 moves, minus 5.5 moves per level to a minimum of 35.
-*Effects*: Cause an adrenaline surge. This provides a burst of speed and strength and high tolerance for pain for the duration but the psion will crash when the surge ends.
+*Difficulty*: 4
+*Duration*: 15 minutes
+*Stamina Cost*: 3500, minus 165 per level to a minimum of 1800
+*Channeling Time*: 100 moves, minus 5.5 moves per level to a minimum of 35
+*Effects*: Cause an adrenaline surge. This provides a burst of speed and strength and high tolerance for pain for the duration but the psion will crash when the surge ends.
*Prerequisites*: Overcome Pain 7, Burst of Speed 8 *or* Enhance Mobility 6.
## Temperature Adaptability (C)
-*Difficulty*: 4
-*Duration*: 5 minutes to 10 minutes, plus 3 minutes to 6 minutes per level.
-*Stamina Cost*: 3500, minus 175 per level to a minimum of 1250
-*Channeling Time*: 250 moves, minus 8.5 moves per level to a minimum of 150.
-*Effects*: Increases temperature tolerance in both directions by 15 degrees plus 7.5 degrees per level.
-*Prerequisites*: Oxygen Absorption 5, Physical Enhancement 9 *or* Metabolic Hyperefficiency 6.
+*Difficulty*: 4
+*Duration*: 5 minutes to 10 minutes, plus 3 minutes to 6 minutes per level
+*Stamina Cost*: 3500, minus 175 per level to a minimum of 1250
+*Channeling Time*: 250 moves, minus 8.5 moves per level to a minimum of 150
+*Effects*: Increases temperature tolerance in both directions by 15 degrees plus 7.5 degrees per level.
+*Prerequisites*: Oxygen Absorption 5, Physical Enhancement 9 *or* Metabolic Hyperefficiency 6
## Enhance Mobility (C)
-*Difficulty*: 5
-*Duration*: 5 minutes to 15 minutes, plus 45 seconds to 120 seconds per level.
-*Stamina Cost*: 4500, minus 150 per level to a minimum of 2500
-*Channeling Time*: 275 moves, minus 15 moves per level to a minimum of 50.
-*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.
-*Prerequisites*: Overcome Pain 4, Heightened Reflexes 6 *or* Flexibility 9, Burst of Speed 10 *or* Combat Dance 4 *or* Physical Enhancement 10.
+*Difficulty*: 5
+*Duration*: 5 minutes to 15 minutes, plus 45 seconds to 120 seconds per level
+*Stamina Cost*: 4500, minus 150 per level to a minimum of 2500
+*Channeling Time*: 275 moves, minus 15 moves per level to a minimum of 50.
+*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.
+*Prerequisites*: Overcome Pain 4, Heightened Reflexes 6 *or* Flexibility 9, Burst of Speed 10 *or* Combat Dance 4 *or* Physical Enhancement 10.
## Hammerhand (C)
-*Difficulty*: 5
-*Duration*: 30 minutes to 90 minutes, plus 7 minutes 30 seconds to 12 minutes 30 seconds per level.
-*Stamina Cost*: 4500, minus 225 per level to a minimum of 2250
-*Channeling Time*: 350 moves, minus 12.5 moves per level to a minimum of 150.
-*Effects*: Allows the psion to replicate a number of common tools with their own body: it provides the Bolt Turning 1, Screw Driving 1, Hammering 3, Fine Hammering 1, Soft Hammering 1, Wood Chiseling 1, Prying 2, and Nail Prying 1 qualities.
-*Prerequisites*: Physical Enhancement 6, Hardened Skin 6
+*Difficulty*: 5
+*Duration*: 30 minutes to 90 minutes, plus 7 minutes 30 seconds to 12 minutes 30 seconds per level.
+*Stamina Cost*: 4500, minus 225 per level to a minimum of 2250
+*Channeling Time*: 350 moves, minus 12.5 moves per level to a minimum of 150
+*Effects*: Allows the psion to replicate a number of common tools with their own body: it provides the Bolt Turning 1, Screw Driving 1, Hammering 3, Fine Hammering 1, Soft Hammering 1, Wood Chiseling 1, Prying 2, and Nail Prying 1 qualities.
+*Prerequisites*: Physical Enhancement 6, Hardened Skin 6
## Heightened Reflexes (C)
-*Difficulty*: 6
-*Duration*: 90 seconds to 7 minutes 30 seconds, plus 15 to 90 seconds per level.
-*Stamina Cost*: 5500, minus 205 per level to a minimum of 2250
-*Channeling Time*: 175 moves, minus 5.5 moves per level to a minimum of 100.
-*Effects*: Adds +1 Perception and +5 Speed, plus 1 Perception per 5 levels and plus 1 Speed per level (to a maximum bonus of +30 speed).
-*Prerequisites*: Flexibility 8 *or* Burst of Speed 8, Physical Enhancement 6, Adrenaline Trigger 6.
+*Difficulty*: 6
+*Duration*: 90 seconds to 7 minutes 30 seconds, plus 15 to 90 seconds per level
+*Stamina Cost*: 5500, minus 205 per level to a minimum of 2250
+*Channeling Time*: 175 moves, minus 5.5 moves per level to a minimum of 100
+*Effects*: Adds +1 Perception and +5 Speed, plus 1 Perception per 5 levels and plus 1 Speed per level (to a maximum bonus of +30 speed).
+*Prerequisites*: Flexibility 8 *or* Burst of Speed 8, Physical Enhancement 6, Adrenaline Trigger 6
## Sealed System
-*Difficulty*: 7
-*Duration*: 60 seconds to 5 minutes, plus 8 to 25 seconds per level.
-*Stamina Cost*: 5500, minus 175 per level to a minimum of 2750.
-*Channeling Time*: 200 moves, minus 7.5 moves per level to a minimum of 100.
-*Effects*: Prevents the psion from having to breath and seals off their body against outside danger. They become immune to the Smoke, Teargas, Boomer Bile, Mi-go Atmosphere, Fetid Goop, Relaxation Gas, Triffid Pollen, Fungal Spores, Dermatik parasitization, Poison, and Bad Poison effects, as well as electrical damage. They have no scent and receive 75% less radiation. Finally, their wounds stop bleeding and wounds received while the power is in effect will not bleed.
-*Prerequisites*: Hardened Skin 9 *or* Oxygen Absorption 9, Temperature Adaptability 10 *or* Hammerhand 7.
+*Difficulty*: 7
+*Duration*: 60 seconds to 5 minutes, plus 8 to 25 seconds per level
+*Stamina Cost*: 5500, minus 175 per level to a minimum of 2750
+*Channeling Time*: 200 moves, minus 7.5 moves per level to a minimum of 100
+*Effects*: Prevents the psion from having to breath and seals off their body against outside danger. They become immune to the Smoke, Teargas, Boomer Bile, Mi-go Atmosphere, Fetid Goop, Relaxation Gas, Triffid Pollen, Fungal Spores, Dermatik parasitization, Poison, and Bad Poison effects, as well as electrical damage. They have no scent and receive 75% less radiation. Finally, their wounds stop bleeding and wounds received while the power is in effect will not bleed.
+*Prerequisites*: Hardened Skin 9 *or* Oxygen Absorption 9, Temperature Adaptability 10 *or* Hammerhand 7
## Metabolic Hyperefficiency (C)
-*Difficulty*: 7
-*Duration*: 45 minutes to 112 minutes and 30 seconds, plus 4 minutes 10 seconds to 8 minutes 20 seconds per level.
-*Stamina Cost*: 8000, minus 250 per level to a minimum of 4000.
-*Channeling Time*: 250 moves, minus 13 moves per level to a minimum of 50.
-*Effects*: Greatly increases the psion’s metabolic efficiency. Hunger, thirst, fatigue grow 25% more slowly and the basal metabolic rate is reduced by 25%. All of these bonuses increase by 2% per level to a maximum of 70% increase.
-*Prerequisites*: Temperature Adaptability 8, Adrenaline Trigger 6 *or* Physical Enhancement 12.
+*Difficulty*: 7
+*Duration*: 45 minutes to 112 minutes and 30 seconds, plus 4 minutes 10 seconds to 8 minutes 20 seconds per level
+*Stamina Cost*: 8000, minus 250 per level to a minimum of 4000
+*Channeling Time*: 250 moves, minus 13 moves per level to a minimum of 50
+*Effects*: Greatly increases the psion’s metabolic efficiency. Hunger, thirst, fatigue grow 25% more slowly and the basal metabolic rate is reduced by 25%. All of these bonuses increase by 2% per level to a maximum of 70% increase.
+*Prerequisites*: Temperature Adaptability 8, Adrenaline Trigger 6 *or* Physical Enhancement 12
## Combat Dance
-*Difficulty*: 8
-*Duration*: 40 seconds to 3 minutes and 20 seconds, plus 5 to 11 seconds per level.
-*Stamina Cost*: 5500, minus 125 per level to a minimum of 2250.
-*Channeling Time*: 100 moves, minus 4 moves per level to a minimum of 40.
-*Effects*: Provides a myriad of combat bonuses. Move cost is reduced by 10% and recoil reduced by 30. In addition, pain is reduced by 3% per power level, and melee damage and attack speed are increased by 2% per power level. The psion is immune to the Stunned and Dazed effects.
-*Prerequisites*: Heightened Reflexes 10, Physical Enhancement 10, Adrenaline Trigger 9 *or* Burst of Speed 6.
+*Difficulty*: 8
+*Duration*: 40 seconds to 3 minutes and 20 seconds, plus 5 to 11 seconds per level
+*Stamina Cost*: 5500, minus 125 per level to a minimum of 2250
+*Channeling Time*: 100 moves, minus 4 moves per level to a minimum of 40
+*Effects*: Provides a myriad of combat bonuses. Move cost is reduced by 10% and recoil reduced by 30. In addition, pain is reduced by 3% per power level, and melee damage and attack speed are increased by 2% per power level. The psion is immune to the Stunned and Dazed effects.
+*Prerequisites*: Heightened Reflexes 10, Physical Enhancement 10, Adrenaline Trigger 9 *or* Burst of Speed 6
## Perfected Motion
-*Difficulty*: 9
-*Duration*: 5 seconds to 30 seconds, plus 0.5 to 1.1 seconds per level.
-*Stamina Cost*: 8000, minus 175 per level to a minimum of 3500.
-*Channeling Time*: 75 moves, minus 4 moves per level to a minimum of 15.
-*Effects*: Increases the psion’s movement rate to an inhuman degree. Move cost is reduced by 50% plus 1.5% per level, to a maximum of 96% reduced move cost. The psion is also immune to slippery terrain.
-*Prerequisites*: Combat Dance 6, Burst of Speed 12.
+*Difficulty*: 9
+*Duration*: 5 seconds to 30 seconds, plus 0.5 to 1.1 seconds per level
+*Stamina Cost*: 8000, minus 175 per level to a minimum of 3500
+*Channeling Time*: 75 moves, minus 4 moves per level to a minimum of 15
+*Effects*: Increases the psion’s movement rate to an inhuman degree. Move cost is reduced by 50% plus 1.5% per level, to a maximum of 96% reduced move cost. The psion is also immune to slippery terrain.
+*Prerequisites*: Combat Dance 6, Burst of Speed 12
## Hurricane Blow
-*Difficulty*: 10
-*Duration*: 1 second
-*Stamina Cost*: 4500, minus 75 per level to a minimum of 2500.
-*Channeling Time*: 65 moves, minus 3 moves per level to a minimum of 15.
-*Effects*: Allows the psion to strike multiple times in less than a second. Speed is increased by 400 plus 75 per power level and the psion attacks 25% faster and does 10% more melee damage plus 1.5% per power level, but cannot use ranged attacks or other psionic powers, and the power ends immediately if the psion moves.
-*Prerequisites*: Combat Dance 10, Reflex Enhance 14 *or* Adrenaline Trigger 12.
\ No newline at end of file
+*Difficulty*: 10
+*Duration*: 1 second
+*Stamina Cost*: 4500, minus 75 per level to a minimum of 2500
+*Channeling Time*: 65 moves, minus 3 moves per level to a minimum of 15
+*Effects*: Allows the psion to strike multiple times in less than a second. Speed is increased by 400 plus 75 per power level and the psion attacks 25% faster and does 10% more melee damage plus 1.5% per power level, but cannot use ranged attacks or other psionic powers, and the power ends immediately if the psion moves.
+*Prerequisites*: Combat Dance 10, Reflex Enhance 14 *or* Adrenaline Trigger 12
+
+# 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.
+
+## Spark Sight (C)
+*Difficulty*: 1
+*Target*: Self
+*Duration*: 15 minutes to 30 minutes, plus 2 minutes 30 seconds to 5 minutes per level
+*Stamina Cost*: 2000, minus 75 per level to a minimum of 750
+*Channeling Time*: 150 moves, minus 6 moves per level to a minimum of 80
+*Effects*: Allows the psion to see electrical creatures (electrical zombies, robots, and cyborgs) from further away, up to 6 squares + 1.5 squares per power level.
+*Prerequisites*: Starting power
+
+## Static Touch
+*Difficulty*: 1
+*Target*: One target within Range 1
+*Duration*: 1 to 3 seconds
+*Stamina Cost*: 1500, minus 65 per level to a minimum of 450
+*Channeling Time*: 100 moves, minus 4 moves per level to a minimum of 35
+*Effects*: Zap a single target with a jolt of electricity, doing 2 to 7 plus 1 to 1.5 per power level electrical damage, as well as dazing them for the power's duration.
+*Prerequisites*: Starting power
+
+## Electrical Discharge
+*Difficulty*: 2
+*Target*: Self
+*Duration*: 5 minutes to 13 minutes and 20 seconds, plus 1 minute and 20 seconds to 3 minutes and 45 seconds per power level
+*Stamina Cost*: 3500, minus 120 per level to a minimum of 1100
+*Channeling Time*: 125 moves, minus 5 moves per level to a minimum of 45
+*Effects*: Build up a charge in the psion's body, zapping anyone who attacks them 50% of the time for 1 to 5 damage, plus 1/4 (i.e., one point per four levels) to 1/2 damage per power level. The power also renders the psion's gear and bionic power immune to EMP attacks.
+*Prerequisites*: Static Touch 4
+
+## Voltaic Strikes
+*Difficulty*: 3
+*Target*: Self
+*Duration*: 4 minutes to 10 minutes, plus 55 seconds to 1 minute 30 seconds per power level.
+*Stamina Cost*: 3750, minus 115 per level to a minimum of 1450
+*Channeling Time*: 85 moves, minus 6 moves per level to a minimum of 35
+*Effects*: Build up a charge in the psion's body, zapping their targets 50% of the time for 3 to 10 damage, plus 1/3 (i.e., one point per three levels) to 1/1.5 damage per power level, and leaves a lightning field of intensity 1 to 4 at the enemy's location 50% of the time. The power also provides electrical armor equal to the power level.
+*Prerequisites*: Static Touch 5, Electrical Discharge 5
+
+## Electron Overflow (C)
+*Difficulty*: 3
+*Target*: Self
+*Duration*: 10 minutes to 30 minutes, plus 45 seconds to 90 seconds per power level
+*Stamina Cost*: 6500, minus 150 per level to a minimum of 3500
+*Channeling Time*: 350 moves, minus 9 moves per level to a minimum of 150
+*Effects*: Passively recharge any UPS-compatible devices on the psion's person.
+*Prerequisites*: Spark Sight 5, Electrical Discharge 8
+
+## Neural Spasms
+*Difficulty*: 4
+*Target*: One target within 1 square plus 0.6 squares per power level
+*Duration*: Diminishing returns--stuns the target for 46.2 moves to 76.9 moves at level 1, 170.5 to 264.7 moves at level 5, 272.7 to 454.5 moves at level 10, and so on, following the formula ( (power level * 0.25) * 6) / ((power level * 0.25) + 3 ) to ( (power level * 0.25) * 10 ) / ((power level * 0.25) + 3 )
+*Stamina Cost*: 5500, minus 150 per level to a minimum of 2500
+*Channeling Time*: 150 moves, minus 5 moves per level to a minimum of 75
+*Effects*: Stuns the target by overloading their nervous system. It cannot affect targets without a biological nervous system--plants, robots, Nether creatures, fungus, etc.
+*Prerequisites*: Spark Sight 6, Voltaic Strikes 5 *or* Static Touch 8
+
+## Pain Suppression (C)
+*Difficulty*: 4
+*Target*: Self
+*Duration*: 10 minutes to 25 minutes, plus 2 minutes to 4 minutes and 40 seconds per power level.
+*Stamina Cost*: 4000, minus 105 per level to a minimum of 1250
+*Channeling Time*: 125 moves, minus 4 moves per level to a minimum of 75
+*Effects*: Reduces incoming pain by 15% plus 2% per power level, to a maximum of 50% reduction, and increases the chance to remove pain during pain reduction checks by 10% plus 2% per power level to a maximum of 50% increased chance.
+*Prerequisites*: Neural Spasms 4 *or* (Spark Sight 8 AND Electrical Discharge 8)
+
+## Electrocutioner
+*Difficulty*: 5
+*Target*: Line stretching 3 squares plus 0.7 squares per power level
+*Duration*: Instant
+*Stamina Cost*: 3500, minus 150 per level to a minimum of 1200
+*Channeling Time*: 100 moves, minus 6 moves per level to a minimum of 35
+*Effects*: Hurls a lightning bolt at a target within range, doing 20 to 45 electrical damage plus 2 to 4 per power level and leaving intensity 1 to 2 lightning fields in its wake. This power causes additional sound at the target location.
+*Prerequisites*: Voltaic Strikes 8 *or* Static Touch 12, Electrical Discharge 8
+
+# Re-energize
+*Difficulty*: 6
+*Target*: Adjacent vehicle or appliance
+*Duration*: Instant
+*Stamina Cost*: 7500, minus 150 per level to a minimum of 4500
+*Channeling Time*: 15 seconds
+*Effects*: Recharges the batteries of a vehicle or an electrical grid, restoring 250 to 500 power plus 125 to 250 per power level.
+*Prerequisites*: Electron Overflow 10, Electrical Discharge 9 *or* Neural Spasms 7
+
+# Analgesic Block
+*Difficulty*: 6
+*Target*: Self
+*Duration*: 60 seconds to 2 minutes 30 seconds, plus 8 seconds to 13 seconds per power level
+*Stamina Cost*: 4500, minus 125 per level to a minimum of 1750
+*Channeling Time*: 75 moves, minus 4.5 moves per level to a minimum of 25
+*Effects*: Removes all pain and makes the psion immune to pain for the power's duration. When the duration ends, the psion receives all the pain they put off, plus an additional 10%, back all at once.
+*Prerequisites*: Pain Suppression 9
+
+# Neuro-acceleration
+*Difficulty*: 6
+*Target*: Self or ally within 1 square
+*Duration*: 1 minute 30 seconds to 7 minutes 30 seconds, plus 15 to 27 seconds per level
+*Stamina Cost*: 6000, minus 135 per level to a minimum of 2750
+*Channeling Time*: 165 moves, minus 5.5 moves per level to a minimum of 75
+*Effects*: Increases the target's reflexes and response time, adding 5 learning focus plus 1 per power level to a maximum of 35 learning focus, as well as 10 speed plus 1.5 per power level to a maximum of 60 speed.
+*Prerequisites*: Electron Overflow 11 *or* Neural Spasms 6, Electrical Discharge 8 *or* Spark Sight 5
+
+## Short Circuit
+*Difficulty*: 7
+*Target*: One robot or cyborg within 1 square plus 0.7 squares per power level
+*Duration*: Instant
+*Stamina Cost*: 7500, minus 125 per level to a minimum of 4500
+*Channeling Time*: 75 moves, minus 2.5 moves per level to a minimum of 30
+*Effects*: Overloads a robot or cyborg, completely short-circuiting it and destroying it, and releasing a cloud of sparks within 1 square of the target plus 0.4 squares per power level. Yrax constructs do not function based on electricity and are immune to this power.
+*Prerequisites*: Re-energize 8 *or* Electrocutioner 8 *or* Voltaic Strikes 13, Spark Sight 8
+
+# Galvanic Aura
+*Difficulty*: 8
+*Target*: Self
+*Duration*: 60 seconds to 4 minutes 10 seconds, plus 15 seconds to 25 seconds per power level
+*Stamina Cost*: 9000, minus 200 per level to a minimum of 4500
+*Channeling Time*: 150 moves, minus 8.5 moves per level to a minimum of 55
+*Effects*: Supercharges the air around the psion, releasing blasts of 12 fields of intensity 10 lightning every few seconds. It also provides electric armor equal to the power level and makes the psion and their gear immune to EMP blasts.
+*Prerequisites*: Electrical Discharge 12, Electron Overflow 15 *or* Re-energize 6
+
+# Ion Blast
+*Difficulty*: 9
+*Target*: Line stretching 2 squares plus 0.7 squares per power level, causing an explosion with an AoE of 1 plus 1 per 4 power levels
+*Duration*: Instant
+*Stamina Cost*: 8500, minus 100 per level to a minimum of 4000
+*Channeling Time*: 150 moves, minus 6 moves per level to a minimum of 65
+*Effects*: Unleashes a lightning bolt that explodes at the target point. The explosion does 25 to 90 electrical damage plus 2 to 4.5 per power level. The bolt does 5 to 25 plus 0.5 to 2.5 per power level. Both the bolt and the explosion release lightning fields of intensity 3 to 7.
+*Prerequisites*: Electrocutioner 10 *or* Short Circuit 6, Voltaic Strikes 8 *or* Static Touch 12
+
+# Revivification
+*Difficulty*: 10
+*Target*: One corpse within 2 squares plus 1 square per 4 power levels
+*Duration*: Random but no longer than 12 minutes. The target has an escalating chance to collapse every turn of the effect, beginning at 0.0005% per second in the first minute, climbing to 0.01% per second at minute 4, 1% per second at minute 8, and reaching certainty at minute 12
+*Stamina Cost*: 10000, minus 150 per level to a minimum of 6000
+*Channeling Time*: 250 moves, minus 6 moves per level to a minimum of 125
+*Effects*: Revives a single target with the REVIVES flag, charms it, and heals it for 50% to 80% of its hit points. The revived monster will be allied to you for the power's duration. You may repeatedly use Revivification on the same target as long as it's not pulped.
+*Prerequisites*: Neuro-acceleration 8, Analgesic Block 6 *or* Pain Suppression 13
\ No newline at end of file
diff --git a/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json b/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
index 19bbfef1816b0..c57c26e31925f 100644
--- a/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
+++ b/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json
@@ -29,20 +29,7 @@
"id": "EOC_TEACH_ELECTROKIN_CONTEMPLATE_RECIPES",
"effect": [
{ "u_learn_recipe": "practice_electrokinetic_see_electric" },
- { "u_learn_recipe": "practice_electrokinetic_shock_touch" },
- { "u_learn_recipe": "practice_electrokinetic_zap_enemies" },
- { "u_learn_recipe": "practice_electrokinetic_melee_attacks" },
- { "u_learn_recipe": "practice_electrokinetic_personal_battery" },
- { "u_learn_recipe": "practice_electrokinetic_paralysis" },
- { "u_learn_recipe": "practice_electrokinetic_reduce_pain" },
- { "u_learn_recipe": "practice_electrokinetic_lightning_bolt" },
- { "u_learn_recipe": "practice_electrokinetic_recharge_vehicle" },
- { "u_learn_recipe": "practice_electrokinetic_speed_boost" },
- { "u_learn_recipe": "practice_electrokinetic_pain_immune" },
- { "u_learn_recipe": "practice_electrokinetic_kill_robot" },
- { "u_learn_recipe": "practice_electrokinetic_lightning_aura" },
- { "u_learn_recipe": "practice_electrokinetic_lightning_blast" },
- { "u_learn_recipe": "practice_electrokinetic_revive" }
+ { "u_learn_recipe": "practice_electrokinetic_shock_touch" }
]
},
{
diff --git a/data/mods/MindOverMatter/hobbies.json b/data/mods/MindOverMatter/hobbies.json
index e3e5e27759385..2d266400f277b 100644
--- a/data/mods/MindOverMatter/hobbies.json
+++ b/data/mods/MindOverMatter/hobbies.json
@@ -62,7 +62,8 @@
"name": "Newly-Awakened Electrokinetic",
"description": "Something happened during the storms that raged during the Cataclysm, and now you can do things that would have once seemed impossible. While running down an alleyway to escape a group of rioters, you looked back and realized you were going to get caught and then there was a deafening crash of thunder and your vision went white. When your hearing and sight came back, the rioters were lying in a heap, some still with smoldering clothes, and you were unscathed.",
"points": 4,
- "traits": [ "ELECTROKINETIC", "ELECTRO_SHIELD" ]
+ "traits": [ "ELECTROKINETIC", "ELECTRO_SHIELD" ],
+ "recipes": [ "practice_electrokinetic_see_electric", "practice_electrokinetic_shock_touch" ]
},
{
"type": "profession",
diff --git a/data/mods/MindOverMatter/mutations/traits.json b/data/mods/MindOverMatter/mutations/traits.json
index ec19382e5a5ef..0996dcf3c9122 100644
--- a/data/mods/MindOverMatter/mutations/traits.json
+++ b/data/mods/MindOverMatter/mutations/traits.json
@@ -38,7 +38,6 @@
"spells_learned": [
[ "electrokinetic_see_electric", 2 ],
[ "electrokinetic_shock_touch", 2 ],
- [ "electrokinetic_zap_enemies", 2 ],
[ "classless_toggleable_concentration_end", 1 ]
]
},
diff --git a/data/mods/MindOverMatter/obsolete/upgrade_eocs/electrokinetic_upgrades.json b/data/mods/MindOverMatter/obsolete/upgrade_eocs/electrokinetic_upgrades.json
new file mode 100644
index 0000000000000..12ca49c0255f5
--- /dev/null
+++ b/data/mods/MindOverMatter/obsolete/upgrade_eocs/electrokinetic_upgrades.json
@@ -0,0 +1,130 @@
+[
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_CHECK_GAMESTART_ELECTROKIN_UPDATE",
+ "eoc_type": "EVENT",
+ "required_event": "game_start",
+ "condition": { "u_has_trait": "ELECTROKINETIC" },
+ "effect": [ { "math": [ "u_electrokinesis_has_been_updated", "=", "1" ] } ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE",
+ "eoc_type": "EVENT",
+ "required_event": "game_load",
+ "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_electrokinesis_has_been_updated", "!=", "1" ] } ] },
+ "effect": [
+ { "math": [ "u_electrokinesis_has_been_updated", "=", "1" ] },
+ {
+ "run_eocs": [
+ "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_MELEE_ATTACKS",
+ "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_PERSONAL_BATTERY",
+ "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_PARALYSIS",
+ "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_REDUCE_PAIN",
+ "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_LIGHTNING_BOLT",
+ "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_RECHARGE_VEHICLE",
+ "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_PAIN_IMMUNE",
+ "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_SPEED_BOOST",
+ "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_KILL_ROBOT",
+ "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_LIGHTNING_AURA",
+ "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_LIGHTNING_BLAST",
+ "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_REVIVE"
+ ]
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_MELEE_ATTACKS",
+ "condition": {
+ "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_melee_attacks')", "<", "0" ] } ]
+ },
+ "effect": [ { "u_forget_recipe": "practice_electrokinetic_melee_attacks" } ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_PERSONAL_BATTERY",
+ "condition": {
+ "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_personal_battery')", "<", "0" ] } ]
+ },
+ "effect": [ { "u_forget_recipe": "practice_electrokinetic_personal_battery" } ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_PARALYSIS",
+ "condition": {
+ "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_paralysis')", "<", "0" ] } ]
+ },
+ "effect": [ { "u_forget_recipe": "practice_electrokinetic_paralysis" } ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_REDUCE_PAIN",
+ "condition": {
+ "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_reduce_pain')", "<", "0" ] } ]
+ },
+ "effect": [ { "u_forget_recipe": "practice_electrokinetic_reduce_pain" } ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_LIGHTNING_BOLT",
+ "condition": {
+ "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_lightning_bolt')", "<", "0" ] } ]
+ },
+ "effect": [ { "u_forget_recipe": "practice_electrokinetic_lightning_bolt" } ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_RECHARGE_VEHICLE",
+ "condition": {
+ "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_recharge_vehicle')", "<", "0" ] } ]
+ },
+ "effect": [ { "u_forget_recipe": "practice_electrokinetic_recharge_vehicle" } ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_PAIN_IMMUNE",
+ "condition": {
+ "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_pain_immune')", "<", "0" ] } ]
+ },
+ "effect": [ { "u_forget_recipe": "practice_electrokinetic_pain_immune" } ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_SPEED_BOOST",
+ "condition": {
+ "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_speed_boost')", "<", "0" ] } ]
+ },
+ "effect": [ { "u_forget_recipe": "practice_electrokinetic_speed_boost" } ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_KILL_ROBOT",
+ "condition": {
+ "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_kill_robot')", "<", "0" ] } ]
+ },
+ "effect": [ { "u_forget_recipe": "practice_electrokinetic_kill_robot" } ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_LIGHTNING_AURA",
+ "condition": {
+ "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_lightning_aura')", "<", "0" ] } ]
+ },
+ "effect": [ { "u_forget_recipe": "practice_electrokinetic_lightning_aura" } ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_LIGHTNING_BLAST",
+ "condition": {
+ "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_lightning_blast')", "<", "0" ] } ]
+ },
+ "effect": [ { "u_forget_recipe": "practice_electrokinetic_lightning_blast" } ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_REVIVE",
+ "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_revive')", "<", "0" ] } ] },
+ "effect": [ { "u_forget_recipe": "practice_electrokinetic_revive" } ]
+ }
+]
diff --git a/data/mods/MindOverMatter/powers/electrokinesis.json b/data/mods/MindOverMatter/powers/electrokinesis.json
index 50243e44c817d..8524fd6592971 100644
--- a/data/mods/MindOverMatter/powers/electrokinesis.json
+++ b/data/mods/MindOverMatter/powers/electrokinesis.json
@@ -35,12 +35,6 @@
"math": [
"u_effect_intensity('effect_electrokin_see_electricity') > -1 ? 10 : max((150 -(u_spell_level('electrokinetic_see_electric') * 6)), 80)"
]
- },
- "learn_spells": {
- "electrokinetic_personal_battery": 7,
- "electrokinetic_reduce_pain": 12,
- "electrokinetic_speed_boost": 14,
- "electrokinetic_revive": 21
}
},
{
@@ -53,7 +47,7 @@
"valid_targets": [ "hostile", "ground", "ally" ],
"spell_class": "ELECTROKINETIC",
"skill": "metaphysics",
- "flags": [ "PSIONIC", "CONCENTRATE", "LOUD", "NO_PROJECTILE", "RANDOM_DAMAGE", "NO_HANDS", "NO_LEGS" ],
+ "flags": [ "PSIONIC", "CONCENTRATE", "LOUD", "NO_PROJECTILE", "RANDOM_DAMAGE", "RANDOM_DURATION", "NO_HANDS", "NO_LEGS" ],
"difficulty": 1,
"max_level": { "math": [ "int_to_level(1)" ] },
"effect": "attack",
@@ -73,6 +67,8 @@
},
"min_range": 1,
"max_range": 1,
+ "min_duration": 100,
+ "max_duration": 300,
"field_id": "fd_electricity",
"min_field_intensity": 1,
"max_field_intensity": 2,
@@ -86,13 +82,7 @@
"casting_time_increment": -4,
"sound_type": "combat",
"sound_description": "zzzaaaaapp!",
- "ignored_monster_species": [ "PSI_NULL" ],
- "learn_spells": {
- "electrokinetic_melee_attacks": 6,
- "electrokinetic_paralysis": 8,
- "electrokinetic_lightning_bolt": 12,
- "electrokinetic_lightning_blast": 20
- }
+ "ignored_monster_species": [ "PSI_NULL" ]
},
{
"id": "electrokinetic_zap_enemies",
@@ -113,12 +103,12 @@
"shape": "blast",
"min_duration": {
"math": [
- "( (u_spell_level('electrokinetic_zap_enemies') * 8000) + 60000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
+ "( (u_spell_level('electrokinetic_zap_enemies') * 8000) + 30000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
]
},
"max_duration": {
"math": [
- "( (u_spell_level('electrokinetic_zap_enemies') * 24000) + 145000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
+ "( (u_spell_level('electrokinetic_zap_enemies') * 22500) + 80000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
]
},
"energy_source": "STAMINA",
@@ -127,13 +117,7 @@
"energy_increment": -120,
"base_casting_time": 125,
"final_casting_time": 45,
- "casting_time_increment": -5,
- "learn_spells": {
- "electrokinetic_personal_battery": 8,
- "electrokinetic_reduce_pain": 10,
- "electrokinetic_paralysis": 13,
- "electrokinetic_lightning_aura": 18
- }
+ "casting_time_increment": -5
},
{
"id": "electrokinetic_melee_attacks",
@@ -154,22 +138,21 @@
"shape": "blast",
"min_duration": {
"math": [
- "( (u_spell_level('electrokinetic_melee_attacks') * 6500) + 30000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
+ "( (u_spell_level('electrokinetic_melee_attacks') * 5500) + 24000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
]
},
"max_duration": {
"math": [
- "( (u_spell_level('electrokinetic_melee_attacks') * 21000) + 90000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
+ "( (u_spell_level('electrokinetic_melee_attacks') * 9000) + 60000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
]
},
"energy_source": "STAMINA",
- "base_energy_cost": 3500,
+ "base_energy_cost": 3750,
"final_energy_cost": 1450,
"energy_increment": -115,
- "base_casting_time": 125,
- "final_casting_time": 45,
- "casting_time_increment": -5,
- "learn_spells": { "electrokinetic_paralysis": 8, "electrokinetic_lightning_blast": 18 }
+ "base_casting_time": 85,
+ "final_casting_time": 35,
+ "casting_time_increment": -6
},
{
"id": "electrokinetic_personal_battery",
@@ -208,8 +191,7 @@
"math": [
"u_effect_intensity('effect_electrokin_personal_battery') > 0 ? 10 : max((350 -(u_spell_level('electrokinetic_personal_battery') * 9)), 150)"
]
- },
- "learn_spells": { "electrokinetic_recharge_vehicle": 9, "electrokinetic_kill_robot": 14 }
+ }
},
{
"id": "electrokinetic_paralysis",
@@ -228,15 +210,15 @@
"effect_str": "stunned",
"extra_effects": [ { "id": "psionic_drained_difficulty_four", "hit_self": true } ],
"shape": "blast",
- "//": "Complicated formula here is to produce diminishing returns, since stunning for too long might as well just kill the target. Level 1 minimum is 46.5 moves lost, level 20 maximum is 625, all before Intelligence scaling",
+ "//": "Complicated formula here is to produce diminishing returns, since stunning for too long might as well just kill the target. Level 1 minimum is 46.15 moves lost, level 20 maximum is 625, all before Intelligence scaling",
"min_duration": {
"math": [
- "( ( ( (u_spell_level('electrokinetic_paralysis') * 0.25 ) * 6 ) / ( (u_spell_level('electrokinetic_paralysis') * 0.25 ) + 3) ) * 10000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
+ "( ( ( (u_spell_level('electrokinetic_paralysis') * 0.25 ) * 6 ) / ( (u_spell_level('electrokinetic_paralysis') * 0.25 ) + 3) ) * 100) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
]
},
"max_duration": {
"math": [
- "( ( ( (u_spell_level('electrokinetic_paralysis') * 0.25 ) * 10 ) / ( (u_spell_level('electrokinetic_paralysis') * 0.25 ) + 3) ) * 10000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
+ "( ( ( (u_spell_level('electrokinetic_paralysis') * 0.25 ) * 10 ) / ( (u_spell_level('electrokinetic_paralysis') * 0.25 ) + 3) ) * 100) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
]
},
"min_range": {
@@ -252,13 +234,7 @@
"base_casting_time": 150,
"final_casting_time": 75,
"casting_time_increment": -5,
- "ignored_monster_species": [ "ROBOT", "NETHER", "NETHER_EMANATION", "LEECH_PLANT", "WORM", "PLANT", "FUNGUS", "SLIME", "PSI_NULL" ],
- "learn_spells": {
- "electrokinetic_reduce_pain": 7,
- "electrokinetic_speed_boost": 9,
- "electrokinetic_pain_immune": 12,
- "electrokinetic_revive": 16
- }
+ "ignored_monster_species": [ "ROBOT", "NETHER", "NETHER_EMANATION", "LEECH_PLANT", "WORM", "PLANT", "FUNGUS", "SLIME", "PSI_NULL" ]
},
{
"id": "electrokinetic_reduce_pain",
@@ -296,12 +272,6 @@
"math": [
"u_effect_intensity('effect_electrokin_reduce_pain') > -1 ? 10 : max((125 -(u_spell_level('electrokinetic_reduce_pain') * 4)), 75)"
]
- },
- "learn_spells": {
- "electrokinetic_personal_battery": 7,
- "electrokinetic_pain_immune": 10,
- "electrokinetic_speed_boost": 14,
- "electrokinetic_revive": 21
}
},
{
@@ -350,8 +320,7 @@
"casting_time_increment": -6,
"sound_type": "combat",
"sound_description": "zzzzaaaaaapp!",
- "ignored_monster_species": [ "PSI_NULL" ],
- "learn_spells": { "electrokinetic_kill_robot": 7, "electrokinetic_lightning_aura": 12, "electrokinetic_lightning_blast": 14 }
+ "ignored_monster_species": [ "PSI_NULL" ]
},
{
"id": "electrokinetic_recharge_vehicle",
@@ -390,7 +359,7 @@
"id": "electrokinetic_pain_immune",
"type": "SPELL",
"name": "[Ψ]Analgesic Block",
- "description": "By clamping down on all pain signals you can completely eliminate your ability to feel pain briefly. This does not eliminate the source of pain, and when the power ends all of the original pain and more will return.\n\nAnalgesic Block is incompatible with Neuro-Acceleration.",
+ "description": "By clamping down on all pain signals you can completely eliminate your ability to feel pain briefly. This does not eliminate the source of pain, and when the power ends all of the original pain and more will return.\n\nAnalgesic Block is incompatible with Neuro-acceleration.",
"message": "The pain just…disappears.",
"teachable": false,
"valid_targets": [ "self" ],
@@ -416,7 +385,7 @@
"energy_source": "STAMINA",
"base_energy_cost": 4500,
"final_energy_cost": 1750,
- "energy_increment": -155,
+ "energy_increment": -125,
"base_casting_time": 75,
"final_casting_time": 25,
"casting_time_increment": -4.5
@@ -446,18 +415,17 @@
},
"max_duration": {
"math": [
- "( (u_spell_level('electrokinetic_speed_boost') * 2000) + 45000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
+ "( (u_spell_level('electrokinetic_speed_boost') * 2700) + 45000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
]
},
"min_range": 1,
"energy_source": "STAMINA",
"base_energy_cost": 6000,
"final_energy_cost": 2750,
- "energy_increment": -185,
+ "energy_increment": -135,
"base_casting_time": 165,
"final_casting_time": 75,
- "casting_time_increment": -5.5,
- "learn_spells": { "electrokinetic_revive": 12 }
+ "casting_time_increment": -5.5
},
{
"id": "electrokinetic_kill_robot",
@@ -495,8 +463,7 @@
"final_casting_time": 30,
"casting_time_increment": -2.5,
"targeted_monster_species": [ "CYBORG", "ROBOT" ],
- "ignored_monster_species": [ "PSI_NULL", "YRAX_CONSTRUCT" ],
- "learn_spells": { "electrokinetic_lightning_blast": 8 }
+ "ignored_monster_species": [ "PSI_NULL", "YRAX_CONSTRUCT" ]
},
{
"id": "electrokinetic_kill_robot_sparks",
@@ -559,8 +526,7 @@
"energy_increment": -200,
"base_casting_time": 150,
"final_casting_time": 55,
- "casting_time_increment": -8.5,
- "learn_spells": { "electrokinetic_lightning_blast": 8 }
+ "casting_time_increment": -8.5
},
{
"id": "electrokinetic_lightning_blast",
@@ -610,7 +576,7 @@
"energy_source": "STAMINA",
"base_energy_cost": 8500,
"final_energy_cost": 4000,
- "energy_increment": -150,
+ "energy_increment": -100,
"base_casting_time": 150,
"final_casting_time": 65,
"casting_time_increment": -6,
@@ -688,7 +654,7 @@
"max_range": 50,
"energy_source": "STAMINA",
"base_energy_cost": 10000,
- "final_energy_cost": 4500,
+ "final_energy_cost": 6000,
"energy_increment": -150,
"base_casting_time": 250,
"final_casting_time": 125,
diff --git a/data/mods/MindOverMatter/powers/learning_eocs/electrokinesis.json b/data/mods/MindOverMatter/powers/learning_eocs/electrokinesis.json
new file mode 100644
index 0000000000000..b10cbe33901b4
--- /dev/null
+++ b/data/mods/MindOverMatter/powers/learning_eocs/electrokinesis.json
@@ -0,0 +1,1173 @@
+[
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_ELECTROKIN_LEARNING_ZAP_ENEMIES",
+ "recurrence": [ "12 hours", "24 hours" ],
+ "condition": {
+ "and": [
+ { "u_has_trait": "ELECTROKINETIC" },
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] },
+ {
+ "or": [
+ { "x_in_y_chance": { "x": 1, "y": 20 } },
+ { "and": [ { "math": [ "u_spell_level('electrokinetic_shock_touch')", ">=", "4" ] } ] }
+ ]
+ },
+ {
+ "not": {
+ "u_has_any_effect": [
+ "sleep",
+ "effect_psi_learning_new_power",
+ "effect_vitakin_wakeful_resting",
+ "infected",
+ "spores",
+ "taint",
+ "visuals",
+ "hallu",
+ "motor_seizure",
+ "frostbite",
+ "blisters",
+ "formication",
+ "pre_common_cold",
+ "common_cold",
+ "pre_flu",
+ "flu",
+ "pre_conjunctivitis_viral",
+ "conjunctivitis_viral",
+ "pre_conjunctivitis_bacterial",
+ "conjunctivitis_bacterial",
+ "asthma",
+ "brainworms",
+ "bloodworms",
+ "grabbed",
+ "lack_sleep",
+ "sleep_deprived",
+ "under_operation",
+ "zapped",
+ "electrocuted",
+ "anemia",
+ "redcells_anemia",
+ "scurvy",
+ "toxin_buildup",
+ "bad_food_ennui",
+ "hypovolemia",
+ "disabled",
+ "foodpoison",
+ "venom_pain",
+ "venom_dmg",
+ "badpoison",
+ "onfire",
+ "dazed",
+ "stunned"
+ ]
+ }
+ },
+ { "math": [ "u_spell_level('electrokinetic_zap_enemies')", "<=", "0" ] },
+ { "not": { "u_know_recipe": "practice_electrokinetic_zap_enemies" } }
+ ]
+ },
+ "deactivate_condition": {
+ "or": [
+ { "not": { "u_has_trait": "ELECTROKINETIC" } },
+ { "math": [ "u_spell_level('electrokinetic_zap_enemies')", ">=", "1" ] }
+ ]
+ },
+ "effect": [
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] },
+ { "u_learn_recipe": "practice_electrokinetic_zap_enemies" },
+ {
+ "u_message": "Use of your powers has led to an insight. You could use your powers to charge your skin with electricity, shocking and damaging anyone who strikes you, if you can figure out the proper technique.",
+ "popup": true
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_ELECTROKIN_LEARNING_MELEE_ATTACKS",
+ "recurrence": [ "12 hours", "24 hours" ],
+ "condition": {
+ "and": [
+ { "u_has_trait": "ELECTROKINETIC" },
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] },
+ {
+ "or": [
+ { "x_in_y_chance": { "x": 1, "y": 20 } },
+ {
+ "and": [
+ { "math": [ "u_spell_level('electrokinetic_shock_touch')", ">=", "5" ] },
+ { "math": [ "u_spell_level('electrokinetic_zap_enemies')", ">=", "5" ] }
+ ]
+ }
+ ]
+ },
+ {
+ "not": {
+ "u_has_any_effect": [
+ "sleep",
+ "effect_psi_learning_new_power",
+ "effect_vitakin_wakeful_resting",
+ "infected",
+ "spores",
+ "taint",
+ "visuals",
+ "hallu",
+ "motor_seizure",
+ "frostbite",
+ "blisters",
+ "formication",
+ "pre_common_cold",
+ "common_cold",
+ "pre_flu",
+ "flu",
+ "pre_conjunctivitis_viral",
+ "conjunctivitis_viral",
+ "pre_conjunctivitis_bacterial",
+ "conjunctivitis_bacterial",
+ "asthma",
+ "brainworms",
+ "bloodworms",
+ "grabbed",
+ "lack_sleep",
+ "sleep_deprived",
+ "under_operation",
+ "zapped",
+ "electrocuted",
+ "anemia",
+ "redcells_anemia",
+ "scurvy",
+ "toxin_buildup",
+ "bad_food_ennui",
+ "hypovolemia",
+ "disabled",
+ "foodpoison",
+ "venom_pain",
+ "venom_dmg",
+ "badpoison",
+ "onfire",
+ "dazed",
+ "stunned"
+ ]
+ }
+ },
+ { "math": [ "u_spell_level('electrokinetic_melee_attacks')", "<=", "0" ] },
+ { "not": { "u_know_recipe": "practice_electrokinetic_melee_attacks" } }
+ ]
+ },
+ "deactivate_condition": {
+ "or": [
+ { "not": { "u_has_trait": "ELECTROKINETIC" } },
+ { "math": [ "u_spell_level('electrokinetic_melee_attacks')", ">=", "1" ] }
+ ]
+ },
+ "effect": [
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] },
+ { "u_learn_recipe": "practice_electrokinetic_melee_attacks" },
+ {
+ "u_message": "Use of your powers has led to an insight. You could channel electricity through your arms while you attack, adding a shock to the blow, if you can figure out the proper technique.",
+ "popup": true
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_ELECTROKIN_LEARNING_PERSONAL_BATTERY",
+ "recurrence": [ "12 hours", "24 hours" ],
+ "condition": {
+ "and": [
+ { "u_has_trait": "ELECTROKINETIC" },
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] },
+ {
+ "or": [
+ { "x_in_y_chance": { "x": 1, "y": 20 } },
+ {
+ "and": [
+ { "math": [ "u_spell_level('electrokinetic_see_electric')", ">=", "5" ] },
+ { "math": [ "u_spell_level('electrokinetic_zap_enemies')", ">=", "8" ] }
+ ]
+ }
+ ]
+ },
+ {
+ "not": {
+ "u_has_any_effect": [
+ "sleep",
+ "effect_psi_learning_new_power",
+ "effect_vitakin_wakeful_resting",
+ "infected",
+ "spores",
+ "taint",
+ "visuals",
+ "hallu",
+ "motor_seizure",
+ "frostbite",
+ "blisters",
+ "formication",
+ "pre_common_cold",
+ "common_cold",
+ "pre_flu",
+ "flu",
+ "pre_conjunctivitis_viral",
+ "conjunctivitis_viral",
+ "pre_conjunctivitis_bacterial",
+ "conjunctivitis_bacterial",
+ "asthma",
+ "brainworms",
+ "bloodworms",
+ "grabbed",
+ "lack_sleep",
+ "sleep_deprived",
+ "under_operation",
+ "zapped",
+ "electrocuted",
+ "anemia",
+ "redcells_anemia",
+ "scurvy",
+ "toxin_buildup",
+ "bad_food_ennui",
+ "hypovolemia",
+ "disabled",
+ "foodpoison",
+ "venom_pain",
+ "venom_dmg",
+ "badpoison",
+ "onfire",
+ "dazed",
+ "stunned"
+ ]
+ }
+ },
+ { "math": [ "u_spell_level('electrokinetic_personal_battery')", "<=", "0" ] },
+ { "not": { "u_know_recipe": "practice_electrokinetic_personal_battery" } }
+ ]
+ },
+ "deactivate_condition": {
+ "or": [
+ { "not": { "u_has_trait": "ELECTROKINETIC" } },
+ { "math": [ "u_spell_level('electrokinetic_personal_battery')", ">=", "1" ] }
+ ]
+ },
+ "effect": [
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] },
+ { "u_learn_recipe": "practice_electrokinetic_personal_battery" },
+ {
+ "u_message": "Use of your powers has led to an insight. You could extend a galvanic charge outward from your skin, charging any compatible devices you're carrying with you, if you can figure out the technique.",
+ "popup": true
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_ELECTROKIN_LEARNING_PARALYSIS",
+ "recurrence": [ "36 hours", "72 hours" ],
+ "condition": {
+ "and": [
+ { "u_has_trait": "ELECTROKINETIC" },
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] },
+ {
+ "or": [
+ { "x_in_y_chance": { "x": 1, "y": 40 } },
+ {
+ "and": [
+ { "math": [ "u_spell_level('electrokinetic_see_electric')", ">=", "6" ] },
+ {
+ "or": [
+ { "math": [ "u_spell_level('electrokinetic_melee_attacks')", ">=", "5" ] },
+ { "math": [ "u_spell_level('electrokinetic_shock_touch')", ">=", "8" ] }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "not": {
+ "u_has_any_effect": [
+ "sleep",
+ "effect_psi_learning_new_power",
+ "effect_vitakin_wakeful_resting",
+ "infected",
+ "spores",
+ "taint",
+ "visuals",
+ "hallu",
+ "motor_seizure",
+ "frostbite",
+ "blisters",
+ "formication",
+ "pre_common_cold",
+ "common_cold",
+ "pre_flu",
+ "flu",
+ "pre_conjunctivitis_viral",
+ "conjunctivitis_viral",
+ "pre_conjunctivitis_bacterial",
+ "conjunctivitis_bacterial",
+ "asthma",
+ "brainworms",
+ "bloodworms",
+ "grabbed",
+ "lack_sleep",
+ "sleep_deprived",
+ "under_operation",
+ "zapped",
+ "electrocuted",
+ "anemia",
+ "redcells_anemia",
+ "scurvy",
+ "toxin_buildup",
+ "bad_food_ennui",
+ "hypovolemia",
+ "disabled",
+ "foodpoison",
+ "venom_pain",
+ "venom_dmg",
+ "badpoison",
+ "onfire",
+ "dazed",
+ "stunned"
+ ]
+ }
+ },
+ { "math": [ "u_spell_level('electrokinetic_paralysis')", "<=", "0" ] },
+ { "not": { "u_know_recipe": "practice_electrokinetic_paralysis" } }
+ ]
+ },
+ "deactivate_condition": {
+ "or": [
+ { "not": { "u_has_trait": "ELECTROKINETIC" } },
+ { "math": [ "u_spell_level('electrokinetic_paralysis')", ">=", "1" ] }
+ ]
+ },
+ "effect": [
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] },
+ { "u_learn_recipe": "practice_electrokinetic_paralysis" },
+ {
+ "u_message": "Use of your powers has led to an insight. You could overload an organic target's nervous system, causing seizures and incapacitating them for a brief period, if you can figure out the technique.",
+ "popup": true
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_ELECTROKIN_LEARNING_REDUCE_PAIN",
+ "recurrence": [ "36 hours", "72 hours" ],
+ "condition": {
+ "and": [
+ { "u_has_trait": "ELECTROKINETIC" },
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] },
+ {
+ "or": [
+ { "x_in_y_chance": { "x": 1, "y": 40 } },
+ {
+ "or": [
+ { "math": [ "u_spell_level('electrokinetic_paralysis')", ">=", "4" ] },
+ {
+ "and": [
+ { "math": [ "u_spell_level('electrokinetic_see_electric')", ">=", "8" ] },
+ { "math": [ "u_spell_level('electrokinetic_zap_enemies')", ">=", "8" ] }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "not": {
+ "u_has_any_effect": [
+ "sleep",
+ "effect_psi_learning_new_power",
+ "effect_vitakin_wakeful_resting",
+ "infected",
+ "spores",
+ "taint",
+ "visuals",
+ "hallu",
+ "motor_seizure",
+ "frostbite",
+ "blisters",
+ "formication",
+ "pre_common_cold",
+ "common_cold",
+ "pre_flu",
+ "flu",
+ "pre_conjunctivitis_viral",
+ "conjunctivitis_viral",
+ "pre_conjunctivitis_bacterial",
+ "conjunctivitis_bacterial",
+ "asthma",
+ "brainworms",
+ "bloodworms",
+ "grabbed",
+ "lack_sleep",
+ "sleep_deprived",
+ "under_operation",
+ "zapped",
+ "electrocuted",
+ "anemia",
+ "redcells_anemia",
+ "scurvy",
+ "toxin_buildup",
+ "bad_food_ennui",
+ "hypovolemia",
+ "disabled",
+ "foodpoison",
+ "venom_pain",
+ "venom_dmg",
+ "badpoison",
+ "onfire",
+ "dazed",
+ "stunned"
+ ]
+ }
+ },
+ { "math": [ "u_spell_level('electrokinetic_reduce_pain')", "<=", "0" ] },
+ { "not": { "u_know_recipe": "practice_electrokinetic_reduce_pain" } }
+ ]
+ },
+ "deactivate_condition": {
+ "or": [
+ { "not": { "u_has_trait": "ELECTROKINETIC" } },
+ { "math": [ "u_spell_level('electrokinetic_reduce_pain')", ">=", "1" ] }
+ ]
+ },
+ "effect": [
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] },
+ { "u_learn_recipe": "practice_electrokinetic_reduce_pain" },
+ {
+ "u_message": "Use of your powers has led to an insight. You could use your control over nervous systems to reduce the pain you feel and recover from it faster, if you can figure out the technique.",
+ "popup": true
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_ELECTROKIN_LEARNING_LIGHTNING_BOLT",
+ "recurrence": [ "36 hours", "72 hours" ],
+ "condition": {
+ "and": [
+ { "u_has_trait": "ELECTROKINETIC" },
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] },
+ {
+ "or": [
+ { "x_in_y_chance": { "x": 1, "y": 40 } },
+ {
+ "and": [
+ {
+ "or": [
+ { "math": [ "u_spell_level('electrokinetic_shock_touch')", ">=", "12" ] },
+ { "math": [ "u_spell_level('electrokinetic_melee_attacks')", ">=", "8" ] }
+ ]
+ },
+ { "math": [ "u_spell_level('electrokinetic_zap_enemies')", ">=", "8" ] }
+ ]
+ }
+ ]
+ },
+ {
+ "not": {
+ "u_has_any_effect": [
+ "sleep",
+ "effect_psi_learning_new_power",
+ "effect_vitakin_wakeful_resting",
+ "infected",
+ "spores",
+ "taint",
+ "visuals",
+ "hallu",
+ "motor_seizure",
+ "frostbite",
+ "blisters",
+ "formication",
+ "pre_common_cold",
+ "common_cold",
+ "pre_flu",
+ "flu",
+ "pre_conjunctivitis_viral",
+ "conjunctivitis_viral",
+ "pre_conjunctivitis_bacterial",
+ "conjunctivitis_bacterial",
+ "asthma",
+ "brainworms",
+ "bloodworms",
+ "grabbed",
+ "lack_sleep",
+ "sleep_deprived",
+ "under_operation",
+ "zapped",
+ "electrocuted",
+ "anemia",
+ "redcells_anemia",
+ "scurvy",
+ "toxin_buildup",
+ "bad_food_ennui",
+ "hypovolemia",
+ "disabled",
+ "foodpoison",
+ "venom_pain",
+ "venom_dmg",
+ "badpoison",
+ "onfire",
+ "dazed",
+ "stunned"
+ ]
+ }
+ },
+ { "math": [ "u_spell_level('electrokinetic_lightning_bolt')", "<=", "0" ] },
+ { "not": { "u_know_recipe": "practice_electrokinetic_lightning_bolt" } }
+ ]
+ },
+ "deactivate_condition": {
+ "or": [
+ { "not": { "u_has_trait": "ELECTROKINETIC" } },
+ { "math": [ "u_spell_level('electrokinetic_lightning_bolt')", ">=", "1" ] }
+ ]
+ },
+ "effect": [
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] },
+ { "u_learn_recipe": "practice_electrokinetic_lightning_bolt" },
+ {
+ "u_message": "Use of your powers has led to an insight. You could extend your electrical discharges, unleashing blasts of lightning at your enemies, if you can figure out the technique.",
+ "popup": true
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_ELECTROKIN_LEARNING_RECHARGE_VEHICLE",
+ "recurrence": [ "36 hours", "72 hours" ],
+ "condition": {
+ "and": [
+ { "u_has_trait": "ELECTROKINETIC" },
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] },
+ {
+ "or": [
+ { "x_in_y_chance": { "x": 1, "y": 40 } },
+ {
+ "and": [
+ {
+ "or": [
+ { "math": [ "u_spell_level('electrokinetic_zap_enemies')", ">=", "9" ] },
+ { "math": [ "u_spell_level('electrokinetic_paralysis')", ">=", "7" ] }
+ ]
+ },
+ { "math": [ "u_spell_level('electrokinetic_personal_battery')", ">=", "10" ] }
+ ]
+ }
+ ]
+ },
+ {
+ "not": {
+ "u_has_any_effect": [
+ "sleep",
+ "effect_psi_learning_new_power",
+ "effect_vitakin_wakeful_resting",
+ "infected",
+ "spores",
+ "taint",
+ "visuals",
+ "hallu",
+ "motor_seizure",
+ "frostbite",
+ "blisters",
+ "formication",
+ "pre_common_cold",
+ "common_cold",
+ "pre_flu",
+ "flu",
+ "pre_conjunctivitis_viral",
+ "conjunctivitis_viral",
+ "pre_conjunctivitis_bacterial",
+ "conjunctivitis_bacterial",
+ "asthma",
+ "brainworms",
+ "bloodworms",
+ "grabbed",
+ "lack_sleep",
+ "sleep_deprived",
+ "under_operation",
+ "zapped",
+ "electrocuted",
+ "anemia",
+ "redcells_anemia",
+ "scurvy",
+ "toxin_buildup",
+ "bad_food_ennui",
+ "hypovolemia",
+ "disabled",
+ "foodpoison",
+ "venom_pain",
+ "venom_dmg",
+ "badpoison",
+ "onfire",
+ "dazed",
+ "stunned"
+ ]
+ }
+ },
+ { "math": [ "u_spell_level('electrokinetic_recharge_vehicle')", "<=", "0" ] },
+ { "not": { "u_know_recipe": "practice_electrokinetic_recharge_vehicle" } }
+ ]
+ },
+ "deactivate_condition": {
+ "or": [
+ { "not": { "u_has_trait": "ELECTROKINETIC" } },
+ { "math": [ "u_spell_level('electrokinetic_recharge_vehicle')", ">=", "1" ] }
+ ]
+ },
+ "effect": [
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] },
+ { "u_learn_recipe": "practice_electrokinetic_recharge_vehicle" },
+ {
+ "u_message": "Use of your powers has led to an insight. You could charge vehicle or residential batteries instead of just the small ones in portable devices, if you can figure out the technique.",
+ "popup": true
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_ELECTROKIN_LEARNING_PAIN_IMMUNE",
+ "recurrence": [ "36 hours", "72 hours" ],
+ "condition": {
+ "and": [
+ { "u_has_trait": "ELECTROKINETIC" },
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] },
+ {
+ "or": [ { "x_in_y_chance": { "x": 1, "y": 40 } }, { "math": [ "u_spell_level('electrokinetic_reduce_pain')", ">=", "9" ] } ]
+ },
+ {
+ "not": {
+ "u_has_any_effect": [
+ "sleep",
+ "effect_psi_learning_new_power",
+ "effect_vitakin_wakeful_resting",
+ "infected",
+ "spores",
+ "taint",
+ "visuals",
+ "hallu",
+ "motor_seizure",
+ "frostbite",
+ "blisters",
+ "formication",
+ "pre_common_cold",
+ "common_cold",
+ "pre_flu",
+ "flu",
+ "pre_conjunctivitis_viral",
+ "conjunctivitis_viral",
+ "pre_conjunctivitis_bacterial",
+ "conjunctivitis_bacterial",
+ "asthma",
+ "brainworms",
+ "bloodworms",
+ "grabbed",
+ "lack_sleep",
+ "sleep_deprived",
+ "under_operation",
+ "zapped",
+ "electrocuted",
+ "anemia",
+ "redcells_anemia",
+ "scurvy",
+ "toxin_buildup",
+ "bad_food_ennui",
+ "hypovolemia",
+ "disabled",
+ "foodpoison",
+ "venom_pain",
+ "venom_dmg",
+ "badpoison",
+ "onfire",
+ "dazed",
+ "stunned"
+ ]
+ }
+ },
+ { "math": [ "u_spell_level('electrokinetic_pain_immune')", "<=", "0" ] },
+ { "not": { "u_know_recipe": "practice_electrokinetic_pain_immune" } }
+ ]
+ },
+ "deactivate_condition": {
+ "or": [
+ { "not": { "u_has_trait": "ELECTROKINETIC" } },
+ { "math": [ "u_spell_level('electrokinetic_pain_immune')", ">=", "1" ] }
+ ]
+ },
+ "effect": [
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] },
+ { "u_learn_recipe": "practice_electrokinetic_pain_immune" },
+ {
+ "u_message": "Use of your powers has led to an insight. You could block the pain signals in your body entire for a short time, letting you fight on through hideous wounds, if you can figure out the technique.",
+ "popup": true
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_ELECTROKIN_LEARNING_SPEED_BOOST",
+ "recurrence": [ "36 hours", "72 hours" ],
+ "condition": {
+ "and": [
+ { "u_has_trait": "ELECTROKINETIC" },
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] },
+ {
+ "or": [
+ { "x_in_y_chance": { "x": 1, "y": 40 } },
+ {
+ "and": [
+ {
+ "or": [
+ { "math": [ "u_spell_level('electrokinetic_personal_battery')", ">=", "11" ] },
+ { "math": [ "u_spell_level('electrokinetic_paralysis')", ">=", "6" ] }
+ ]
+ },
+ {
+ "or": [
+ { "math": [ "u_spell_level('electrokinetic_zap_enemies')", ">=", "8" ] },
+ { "math": [ "u_spell_level('electrokinetic_see_electric')", ">=", "5" ] }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "not": {
+ "u_has_any_effect": [
+ "sleep",
+ "effect_psi_learning_new_power",
+ "effect_vitakin_wakeful_resting",
+ "infected",
+ "spores",
+ "taint",
+ "visuals",
+ "hallu",
+ "motor_seizure",
+ "frostbite",
+ "blisters",
+ "formication",
+ "pre_common_cold",
+ "common_cold",
+ "pre_flu",
+ "flu",
+ "pre_conjunctivitis_viral",
+ "conjunctivitis_viral",
+ "pre_conjunctivitis_bacterial",
+ "conjunctivitis_bacterial",
+ "asthma",
+ "brainworms",
+ "bloodworms",
+ "grabbed",
+ "lack_sleep",
+ "sleep_deprived",
+ "under_operation",
+ "zapped",
+ "electrocuted",
+ "anemia",
+ "redcells_anemia",
+ "scurvy",
+ "toxin_buildup",
+ "bad_food_ennui",
+ "hypovolemia",
+ "disabled",
+ "foodpoison",
+ "venom_pain",
+ "venom_dmg",
+ "badpoison",
+ "onfire",
+ "dazed",
+ "stunned"
+ ]
+ }
+ },
+ { "math": [ "u_spell_level('electrokinetic_speed_boost')", "<=", "0" ] },
+ { "not": { "u_know_recipe": "practice_electrokinetic_speed_boost" } }
+ ]
+ },
+ "deactivate_condition": {
+ "or": [
+ { "not": { "u_has_trait": "ELECTROKINETIC" } },
+ { "math": [ "u_spell_level('electrokinetic_speed_boost')", ">=", "1" ] }
+ ]
+ },
+ "effect": [
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] },
+ { "u_learn_recipe": "practice_electrokinetic_speed_boost" },
+ {
+ "u_message": "Use of your powers has led to an insight. You could enhance your reflexes and synaptic reaction time, both moving and thinking faster, if you can figure out the technique.",
+ "popup": true
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_ELECTROKIN_LEARNING_KILL_ROBOT",
+ "recurrence": [ "96 hours", "168 hours" ],
+ "condition": {
+ "and": [
+ { "u_has_trait": "ELECTROKINETIC" },
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] },
+ {
+ "or": [
+ { "x_in_y_chance": { "x": 1, "y": 80 } },
+ {
+ "and": [
+ {
+ "or": [
+ { "math": [ "u_spell_level('electrokinetic_recharge_vehicle')", ">=", "8" ] },
+ { "math": [ "u_spell_level('electrokinetic_lightning_bolt')", ">=", "8" ] },
+ { "math": [ "u_spell_level('electrokinetic_melee_attacks')", ">=", "13" ] }
+ ]
+ },
+ { "math": [ "u_spell_level('electrokinetic_see_electric')", ">=", "8" ] }
+ ]
+ }
+ ]
+ },
+ {
+ "not": {
+ "u_has_any_effect": [
+ "sleep",
+ "effect_psi_learning_new_power",
+ "effect_vitakin_wakeful_resting",
+ "infected",
+ "spores",
+ "taint",
+ "visuals",
+ "hallu",
+ "motor_seizure",
+ "frostbite",
+ "blisters",
+ "formication",
+ "pre_common_cold",
+ "common_cold",
+ "pre_flu",
+ "flu",
+ "pre_conjunctivitis_viral",
+ "conjunctivitis_viral",
+ "pre_conjunctivitis_bacterial",
+ "conjunctivitis_bacterial",
+ "asthma",
+ "brainworms",
+ "bloodworms",
+ "grabbed",
+ "lack_sleep",
+ "sleep_deprived",
+ "under_operation",
+ "zapped",
+ "electrocuted",
+ "anemia",
+ "redcells_anemia",
+ "scurvy",
+ "toxin_buildup",
+ "bad_food_ennui",
+ "hypovolemia",
+ "disabled",
+ "foodpoison",
+ "venom_pain",
+ "venom_dmg",
+ "badpoison",
+ "onfire",
+ "dazed",
+ "stunned"
+ ]
+ }
+ },
+ { "math": [ "u_spell_level('electrokinetic_kill_robot')", "<=", "0" ] },
+ { "not": { "u_know_recipe": "practice_electrokinetic_kill_robot" } }
+ ]
+ },
+ "deactivate_condition": {
+ "or": [
+ { "not": { "u_has_trait": "ELECTROKINETIC" } },
+ { "math": [ "u_spell_level('electrokinetic_kill_robot')", ">=", "1" ] }
+ ]
+ },
+ "effect": [
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] },
+ { "u_learn_recipe": "practice_electrokinetic_kill_robot" },
+ {
+ "u_message": "Use of your powers has led to an insight. With a single overwhelming power surge, you could overload and destroy a robotic or cybernetic enemy, if you can figure out the technique.",
+ "popup": true
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_ELECTROKIN_LEARNING_LIGHTNING_AURA",
+ "recurrence": [ "96 hours", "168 hours" ],
+ "condition": {
+ "and": [
+ { "u_has_trait": "ELECTROKINETIC" },
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] },
+ {
+ "or": [
+ { "x_in_y_chance": { "x": 1, "y": 80 } },
+ {
+ "and": [
+ { "math": [ "u_spell_level('electrokinetic_zap_enemies')", ">=", "12" ] },
+ {
+ "or": [
+ { "math": [ "u_spell_level('electrokinetic_personal_battery')", ">=", "15" ] },
+ { "math": [ "u_spell_level('electrokinetic_recharge_vehicle')", ">=", "6" ] }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "not": {
+ "u_has_any_effect": [
+ "sleep",
+ "effect_psi_learning_new_power",
+ "effect_vitakin_wakeful_resting",
+ "infected",
+ "spores",
+ "taint",
+ "visuals",
+ "hallu",
+ "motor_seizure",
+ "frostbite",
+ "blisters",
+ "formication",
+ "pre_common_cold",
+ "common_cold",
+ "pre_flu",
+ "flu",
+ "pre_conjunctivitis_viral",
+ "conjunctivitis_viral",
+ "pre_conjunctivitis_bacterial",
+ "conjunctivitis_bacterial",
+ "asthma",
+ "brainworms",
+ "bloodworms",
+ "grabbed",
+ "lack_sleep",
+ "sleep_deprived",
+ "under_operation",
+ "zapped",
+ "electrocuted",
+ "anemia",
+ "redcells_anemia",
+ "scurvy",
+ "toxin_buildup",
+ "bad_food_ennui",
+ "hypovolemia",
+ "disabled",
+ "foodpoison",
+ "venom_pain",
+ "venom_dmg",
+ "badpoison",
+ "onfire",
+ "dazed",
+ "stunned"
+ ]
+ }
+ },
+ { "math": [ "u_spell_level('electrokinetic_lightning_aura')", "<=", "0" ] },
+ { "not": { "u_know_recipe": "practice_electrokinetic_lightning_aura" } }
+ ]
+ },
+ "deactivate_condition": {
+ "or": [
+ { "not": { "u_has_trait": "ELECTROKINETIC" } },
+ { "math": [ "u_spell_level('electrokinetic_lightning_aura')", ">=", "1" ] }
+ ]
+ },
+ "effect": [
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] },
+ { "u_learn_recipe": "practice_electrokinetic_lightning_aura" },
+ {
+ "u_message": "Use of your powers has led to an insight. You could charge the air around you with so much electricity that lightning would lash out at anyone around you, if you can figure out the technique.",
+ "popup": true
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_ELECTROKIN_LEARNING_LIGHTNING_BLAST",
+ "recurrence": [ "96 hours", "168 hours" ],
+ "condition": {
+ "and": [
+ { "u_has_trait": "ELECTROKINETIC" },
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] },
+ {
+ "or": [
+ { "x_in_y_chance": { "x": 1, "y": 80 } },
+ {
+ "and": [
+ {
+ "or": [
+ { "math": [ "u_spell_level('electrokinetic_kill_robot')", ">=", "6" ] },
+ { "math": [ "u_spell_level('electrokinetic_lightning_bolt')", ">=", "10" ] }
+ ]
+ },
+ {
+ "or": [
+ { "math": [ "u_spell_level('electrokinetic_melee_attacks')", ">=", "8" ] },
+ { "math": [ "u_spell_level('electrokinetic_shock_touch')", ">=", "12" ] }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "not": {
+ "u_has_any_effect": [
+ "sleep",
+ "effect_psi_learning_new_power",
+ "effect_vitakin_wakeful_resting",
+ "infected",
+ "spores",
+ "taint",
+ "visuals",
+ "hallu",
+ "motor_seizure",
+ "frostbite",
+ "blisters",
+ "formication",
+ "pre_common_cold",
+ "common_cold",
+ "pre_flu",
+ "flu",
+ "pre_conjunctivitis_viral",
+ "conjunctivitis_viral",
+ "pre_conjunctivitis_bacterial",
+ "conjunctivitis_bacterial",
+ "asthma",
+ "brainworms",
+ "bloodworms",
+ "grabbed",
+ "lack_sleep",
+ "sleep_deprived",
+ "under_operation",
+ "zapped",
+ "electrocuted",
+ "anemia",
+ "redcells_anemia",
+ "scurvy",
+ "toxin_buildup",
+ "bad_food_ennui",
+ "hypovolemia",
+ "disabled",
+ "foodpoison",
+ "venom_pain",
+ "venom_dmg",
+ "badpoison",
+ "onfire",
+ "dazed",
+ "stunned"
+ ]
+ }
+ },
+ { "math": [ "u_spell_level('electrokinetic_lightning_blast')", "<=", "0" ] },
+ { "not": { "u_know_recipe": "practice_electrokinetic_lightning_blast" } }
+ ]
+ },
+ "deactivate_condition": {
+ "or": [
+ { "not": { "u_has_trait": "ELECTROKINETIC" } },
+ { "math": [ "u_spell_level('electrokinetic_lightning_blast')", ">=", "1" ] }
+ ]
+ },
+ "effect": [
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] },
+ { "u_learn_recipe": "practice_electrokinetic_lightning_blast" },
+ {
+ "u_message": "Use of your powers has led to an insight. Not only could you hurl a bolt of lightning, but an actual thunderbolt that causes an explosion at the point of impact, if you can figure out the technique.",
+ "popup": true
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_ELECTROKIN_LEARNING_REVIVE",
+ "recurrence": [ "96 hours", "168 hours" ],
+ "condition": {
+ "and": [
+ { "u_has_trait": "ELECTROKINETIC" },
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] },
+ {
+ "or": [
+ { "x_in_y_chance": { "x": 1, "y": 80 } },
+ {
+ "and": [
+ { "math": [ "u_spell_level('electrokinetic_speed_boost')", ">=", "8" ] },
+ {
+ "or": [
+ { "math": [ "u_spell_level('electrokinetic_reduce_pain')", ">=", "13" ] },
+ { "math": [ "u_spell_level('electrokinetic_pain_immune')", ">=", "6" ] }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "not": {
+ "u_has_any_effect": [
+ "sleep",
+ "effect_psi_learning_new_power",
+ "effect_vitakin_wakeful_resting",
+ "infected",
+ "spores",
+ "taint",
+ "visuals",
+ "hallu",
+ "motor_seizure",
+ "frostbite",
+ "blisters",
+ "formication",
+ "pre_common_cold",
+ "common_cold",
+ "pre_flu",
+ "flu",
+ "pre_conjunctivitis_viral",
+ "conjunctivitis_viral",
+ "pre_conjunctivitis_bacterial",
+ "conjunctivitis_bacterial",
+ "asthma",
+ "brainworms",
+ "bloodworms",
+ "grabbed",
+ "lack_sleep",
+ "sleep_deprived",
+ "under_operation",
+ "zapped",
+ "electrocuted",
+ "anemia",
+ "redcells_anemia",
+ "scurvy",
+ "toxin_buildup",
+ "bad_food_ennui",
+ "hypovolemia",
+ "disabled",
+ "foodpoison",
+ "venom_pain",
+ "venom_dmg",
+ "badpoison",
+ "onfire",
+ "dazed",
+ "stunned"
+ ]
+ }
+ },
+ { "math": [ "u_spell_level('electrokinetic_revive')", "<=", "0" ] },
+ { "not": { "u_know_recipe": "practice_electrokinetic_revive" } }
+ ]
+ },
+ "deactivate_condition": {
+ "or": [ { "not": { "u_has_trait": "ELECTROKINETIC" } }, { "math": [ "u_spell_level('electrokinetic_revive')", ">=", "1" ] } ]
+ },
+ "effect": [
+ { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] },
+ { "u_learn_recipe": "practice_electrokinetic_revive" },
+ {
+ "u_message": "Use of your powers has led to an insight. You could charge a corpse's nervous system, manipulating the signals and forcing dead flesh to move and fight for you, if you can figure out the technique.",
+ "popup": true
+ }
+ ]
+ }
+]
diff --git a/data/mods/MindOverMatter/professions.json b/data/mods/MindOverMatter/professions.json
index f8282e955bc9d..3c2dd7838034c 100644
--- a/data/mods/MindOverMatter/professions.json
+++ b/data/mods/MindOverMatter/professions.json
@@ -107,7 +107,7 @@
"id": "psi_electrokinetic_engineer",
"name": "Electrical Engineer",
"description": "You followed your parents' wishes and became an engineer, and to your surprise you were extremely good at it. It was like the electronics you built just spoke to you, like you could see inside the wires and circuits, and then when the sky broke that literally came true.",
- "points": 8,
+ "points": 12,
"skills": [
{ "level": 4, "name": "mechanics" },
{ "level": 8, "name": "electronics" },
@@ -117,10 +117,20 @@
],
"traits": [ "ELECTROKINETIC", "ELECTRO_SHIELD" ],
"spells": [
- { "id": "electrokinetic_see_electric", "level": 6 },
- { "id": "electrokinetic_shock_touch", "level": 2 },
- { "id": "electrokinetic_zap_enemies", "level": 4 },
- { "id": "electrokinetic_personal_battery", "level": 4 }
+ { "id": "electrokinetic_see_electric", "level": 10 },
+ { "id": "electrokinetic_shock_touch", "level": 9 },
+ { "id": "electrokinetic_zap_enemies", "level": 9 },
+ { "id": "electrokinetic_personal_battery", "level": 10 },
+ { "id": "electrokinetic_reduce_pain", "level": 5 },
+ { "id": "electrokinetic_recharge_vehicle", "level": 7 }
+ ],
+ "recipes": [
+ "practice_electrokinetic_see_electric",
+ "practice_electrokinetic_shock_touch",
+ "practice_electrokinetic_zap_enemies",
+ "practice_electrokinetic_personal_battery",
+ "practice_electrokinetic_reduce_pain",
+ "practice_electrokinetic_recharge_vehicle"
],
"proficiencies": [ "prof_elec_circuits", "prof_elec_semiconductors", "prof_elec_integrated_circuits" ],
"items": {
diff --git a/data/mods/MindOverMatter/recipes/practice/biokinetic_practice.json b/data/mods/MindOverMatter/recipes/practice/biokinetic_practice.json
index 9db4fb45febba..5012fad61cc3d 100644
--- a/data/mods/MindOverMatter/recipes/practice/biokinetic_practice.json
+++ b/data/mods/MindOverMatter/recipes/practice/biokinetic_practice.json
@@ -54,23 +54,7 @@
{ "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
{ "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(1)" ] },
{ "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": {
- "run_eocs": [
- {
- "id": "EOC_PRACTICE_BIOKIN_OVERCOME_PAIN_FALSE",
- "condition": { "math": [ "u_spell_level('biokin_overcome_pain')", ">=", "1" ] },
- "effect": [
- { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": [
- { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ]
- }
- ]
- }
+ ]
}
]
},
diff --git a/data/mods/MindOverMatter/recipes/practice/electrokinesis_practice.json b/data/mods/MindOverMatter/recipes/practice/electrokinesis_practice.json
index 66b5d7211fb92..723c815fc762e 100644
--- a/data/mods/MindOverMatter/recipes/practice/electrokinesis_practice.json
+++ b/data/mods/MindOverMatter/recipes/practice/electrokinesis_practice.json
@@ -40,47 +40,27 @@
"difficulty": 0,
"time": "30 m",
"autolearn": false,
+ "proficiencies": [ { "proficiency": "prof_contemplation_electrokinesis", "required": false } ],
"tools": [ [ [ "matrix_crystal_drained", -1 ] ] ],
"flags": [ "SECRET", "BLIND_HARD" ],
"result_eocs": [
{
"id": "EOC_PRACTICE_ELECTROKIN_SPARK_SIGHT",
- "condition": {
- "and": [
- { "math": [ "u_spell_level('electrokinetic_see_electric')", ">=", "1" ] },
- { "math": [ "u_spell_exp('electrokinetic_see_electric')", "<=", "(difficulty_one_contemplation(1))" ] }
- ]
- },
+ "condition": { "math": [ "u_spell_level('electrokinetic_see_electric')", ">=", "1" ] },
"effect": [
{ "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
{ "math": [ "u_spell_exp('electrokinetic_see_electric')", "+=", "(contemplation_factor(1))" ] },
- { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
{ "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(1)" ] },
{ "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": {
- "run_eocs": [
- {
- "id": "EOC_PRACTICE_ELECTROKIN_SPARK_SIGHT_FALSE",
- "condition": { "math": [ "u_spell_level('electrokinetic_see_electric')", ">=", "1" ] },
- "effect": [
- { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": [
- { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ]
- }
- ]
- }
+ ]
}
]
},
{
"type": "recipe",
"activity_level": "LIGHT_EXERCISE",
- "name": "contemplation: shock touch",
+ "name": "contemplation: static touch",
"id": "practice_electrokinetic_shock_touch",
"description": "Contemplate your powers and improve your ability to build up a charge in your hand and unleash it.",
"category": "CC_*",
@@ -89,40 +69,20 @@
"difficulty": 0,
"time": "30 m",
"autolearn": false,
+ "proficiencies": [ { "proficiency": "prof_contemplation_electrokinesis", "required": false } ],
"tools": [ [ [ "matrix_crystal_drained", -1 ] ] ],
"flags": [ "SECRET", "BLIND_HARD" ],
"result_eocs": [
{
"id": "EOC_PRACTICE_ELECTROKIN_SHOCK_TOUCH",
- "condition": {
- "and": [
- { "math": [ "u_spell_level('electrokinetic_shock_touch')", ">=", "1" ] },
- { "math": [ "u_spell_exp('electrokinetic_shock_touch')", "<=", "(difficulty_one_contemplation(1))" ] }
- ]
- },
+ "condition": { "math": [ "u_spell_level('electrokinetic_shock_touch')", ">=", "1" ] },
"effect": [
{ "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
{ "math": [ "u_spell_exp('electrokinetic_shock_touch')", "+=", "(contemplation_factor(1))" ] },
- { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
{ "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(1)" ] },
{ "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": {
- "run_eocs": [
- {
- "id": "EOC_PRACTICE_ELECTROKIN_SHOCK_TOUCH_FALSE",
- "condition": { "math": [ "u_spell_level('electrokinetic_shock_touch')", ">=", "1" ] },
- "effect": [
- { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": [
- { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ]
- }
- ]
- }
+ ]
}
]
},
@@ -138,40 +98,71 @@
"difficulty": 1,
"time": "30 m",
"autolearn": false,
+ "proficiencies": [ { "proficiency": "prof_contemplation_electrokinesis", "required": false } ],
"tools": [ [ [ "matrix_crystal_drained", -1 ] ] ],
"flags": [ "SECRET", "BLIND_HARD" ],
"result_eocs": [
{
"id": "EOC_PRACTICE_ELECTROKIN_ZAP_ENEMIES",
- "condition": {
- "and": [
- { "math": [ "u_spell_level('electrokinetic_zap_enemies')", ">=", "1" ] },
- { "math": [ "u_spell_exp('electrokinetic_zap_enemies')", "<=", "(difficulty_two_contemplation(1))" ] }
- ]
- },
+ "condition": { "math": [ "u_spell_level('electrokinetic_zap_enemies')", ">=", "1" ] },
"effect": [
{ "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
{ "math": [ "u_spell_exp('electrokinetic_zap_enemies')", "+=", "(contemplation_factor(1))" ] },
- { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
{ "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(2)" ] },
{ "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
],
- "false_effect": {
- "run_eocs": [
- {
- "id": "EOC_PRACTICE_ELECTROKIN_ZAP_ENEMIES_FALSE",
- "condition": { "math": [ "u_spell_level('electrokinetic_zap_enemies')", ">=", "1" ] },
- "effect": [
- { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": [
- { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ]
- }
- ]
+ "false_effect": [
+ { "u_message": "You attempt to unlock new capabilities within your mind." },
+ { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
+ { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
+ { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
+ {
+ "queue_eocs": "EOC_PRACTICE_ELECTROKIN_ZAP_ENEMIES_LEARNING",
+ "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(2)" ] }, { "math": [ "learn_new_power_upper_time_bound(2)" ] } ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_PRACTICE_ELECTROKIN_ZAP_ENEMIES_LEARNING",
+ "condition": {
+ "and": [
+ { "u_has_effect": "effect_psi_learning_new_power" },
+ {
+ "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
}
+ ]
+ },
+ "effect": [
+ {
+ "run_eocs": [
+ {
+ "id": "EOC_PRACTICE_ELECTROKIN_ZAP_ENEMIES_LEARNING_2",
+ "condition": {
+ "and": [
+ {
+ "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_electrokinesis')" ] },
+ "difficulty": 6
+ }
+ ]
+ },
+ "effect": [
+ {
+ "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Electrical Discharge power.",
+ "popup": true
+ },
+ { "math": [ "u_spell_level('electrokinetic_zap_enemies')", "=", "1" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 10,20 )" ] }
+ ],
+ "false_effect": [
+ { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 10,20 )" ] }
+ ]
+ }
+ ]
}
]
},
@@ -187,40 +178,71 @@
"difficulty": 2,
"time": "30 m",
"autolearn": false,
+ "proficiencies": [ { "proficiency": "prof_contemplation_electrokinesis", "required": false } ],
"tools": [ [ [ "matrix_crystal_drained", -1 ] ] ],
"flags": [ "SECRET", "BLIND_HARD" ],
"result_eocs": [
{
"id": "EOC_PRACTICE_ELECTROKIN_MELEE_ATTACKS",
- "condition": {
- "and": [
- { "math": [ "u_spell_level('electrokinetic_melee_attacks')", ">=", "1" ] },
- { "math": [ "u_spell_exp('electrokinetic_melee_attacks')", "<=", "(difficulty_three_contemplation(1))" ] }
- ]
- },
+ "condition": { "math": [ "u_spell_level('electrokinetic_melee_attacks')", ">=", "1" ] },
"effect": [
{ "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
{ "math": [ "u_spell_exp('electrokinetic_melee_attacks')", "+=", "(contemplation_factor(1))" ] },
- { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
{ "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(3)" ] },
{ "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
],
- "false_effect": {
- "run_eocs": [
- {
- "id": "EOC_PRACTICE_ELECTROKIN_MELEE_ATTACKS_FALSE",
- "condition": { "math": [ "u_spell_level('electrokinetic_melee_attacks')", ">=", "1" ] },
- "effect": [
- { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": [
- { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ]
- }
- ]
+ "false_effect": [
+ { "u_message": "You attempt to unlock new capabilities within your mind." },
+ { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
+ { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
+ { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
+ {
+ "queue_eocs": "EOC_PRACTICE_ELECTROKIN_MELEE_ATTACKS_LEARNING",
+ "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(3)" ] }, { "math": [ "learn_new_power_upper_time_bound(3)" ] } ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_PRACTICE_ELECTROKIN_MELEE_ATTACKS_LEARNING",
+ "condition": {
+ "and": [
+ { "u_has_effect": "effect_psi_learning_new_power" },
+ {
+ "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
}
+ ]
+ },
+ "effect": [
+ {
+ "run_eocs": [
+ {
+ "id": "EOC_PRACTICE_ELECTROKIN_MELEE_ATTACKS_LEARNING_2",
+ "condition": {
+ "and": [
+ {
+ "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_electrokinesis')" ] },
+ "difficulty": 7
+ }
+ ]
+ },
+ "effect": [
+ {
+ "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Voltaic Strikes power.",
+ "popup": true
+ },
+ { "math": [ "u_spell_level('electrokinetic_melee_attacks')", "=", "1" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 15,30 )" ] }
+ ],
+ "false_effect": [
+ { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 15,30 )" ] }
+ ]
+ }
+ ]
}
]
},
@@ -236,42 +258,71 @@
"difficulty": 2,
"time": "30 m",
"autolearn": false,
+ "proficiencies": [ { "proficiency": "prof_contemplation_electrokinesis", "required": false } ],
"tools": [ [ [ "matrix_crystal_drained", -1 ] ] ],
"flags": [ "SECRET", "BLIND_HARD" ],
"result_eocs": [
{
"id": "EOC_PRACTICE_ELECTRO_PERSONAL_BATTERY",
- "condition": {
- "and": [
- { "math": [ "u_spell_level('electrokinetic_personal_battery')", ">=", "1" ] },
- {
- "math": [ "u_spell_exp('electrokinetic_personal_battery')", "<=", "(difficulty_three_contemplation(1))" ]
- }
- ]
- },
+ "condition": { "math": [ "u_spell_level('electrokinetic_personal_battery')", ">=", "1" ] },
"effect": [
{ "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
{ "math": [ "u_spell_exp('electrokinetic_personal_battery')", "+=", "(contemplation_factor(1))" ] },
- { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
{ "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(3)" ] },
{ "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
],
- "false_effect": {
- "run_eocs": [
- {
- "id": "EOC_PRACTICE_ELECTRO_PERSONAL_BATTERY_FALSE",
- "condition": { "math": [ "u_spell_level('electrokinetic_personal_battery')", ">=", "1" ] },
- "effect": [
- { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": [
- { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ]
- }
- ]
+ "false_effect": [
+ { "u_message": "You attempt to unlock new capabilities within your mind." },
+ { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
+ { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
+ { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
+ {
+ "queue_eocs": "EOC_PRACTICE_ELECTRO_PERSONAL_BATTERY_LEARNING",
+ "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(3)" ] }, { "math": [ "learn_new_power_upper_time_bound(3)" ] } ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_PRACTICE_ELECTRO_PERSONAL_BATTERY_LEARNING",
+ "condition": {
+ "and": [
+ { "u_has_effect": "effect_psi_learning_new_power" },
+ {
+ "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
}
+ ]
+ },
+ "effect": [
+ {
+ "run_eocs": [
+ {
+ "id": "EOC_PRACTICE_ELECTRO_PERSONAL_BATTERY_LEARNING_2",
+ "condition": {
+ "and": [
+ {
+ "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_electrokinesis')" ] },
+ "difficulty": 7
+ }
+ ]
+ },
+ "effect": [
+ {
+ "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Electron Overflow power.",
+ "popup": true
+ },
+ { "math": [ "u_spell_level('electrokinetic_personal_battery')", "=", "1" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 20,40 )" ] }
+ ],
+ "false_effect": [
+ { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 20,40 )" ] }
+ ]
+ }
+ ]
}
]
},
@@ -287,41 +338,72 @@
"difficulty": 3,
"time": "30 m",
"autolearn": false,
+ "proficiencies": [ { "proficiency": "prof_contemplation_electrokinesis", "required": false } ],
"tools": [ [ [ "matrix_crystal_drained", -1 ] ] ],
"components": [ [ [ "matrix_crystal_electrokin_dust", 1 ] ] ],
"flags": [ "SECRET", "BLIND_HARD" ],
"result_eocs": [
{
"id": "EOC_PRACTICE_ELECTROKIN_PARALYSIS",
- "condition": {
- "and": [
- { "math": [ "u_spell_level('electrokinetic_paralysis')", ">=", "1" ] },
- { "math": [ "u_spell_exp('electrokinetic_paralysis')", "<=", "(difficulty_four_contemplation(1))" ] }
- ]
- },
+ "condition": { "math": [ "u_spell_level('electrokinetic_paralysis')", ">=", "1" ] },
"effect": [
{ "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
{ "math": [ "u_spell_exp('electrokinetic_paralysis')", "+=", "(contemplation_factor(1))" ] },
- { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
{ "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(4)" ] },
{ "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
],
- "false_effect": {
- "run_eocs": [
- {
- "id": "EOC_PRACTICE_ELECTROKIN_PARALYSIS_FALSE",
- "condition": { "math": [ "u_spell_level('electrokinetic_paralysis')", ">=", "1" ] },
- "effect": [
- { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": [
- { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ]
- }
- ]
+ "false_effect": [
+ { "u_message": "You attempt to unlock new capabilities within your mind." },
+ { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
+ { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
+ { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
+ {
+ "queue_eocs": "EOC_PRACTICE_ELECTROKIN_PARALYSIS_LEARNING",
+ "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(4)" ] }, { "math": [ "learn_new_power_upper_time_bound(4)" ] } ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_PRACTICE_ELECTROKIN_PARALYSIS_LEARNING",
+ "condition": {
+ "and": [
+ { "u_has_effect": "effect_psi_learning_new_power" },
+ {
+ "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
}
+ ]
+ },
+ "effect": [
+ {
+ "run_eocs": [
+ {
+ "id": "EOC_PRACTICE_ELECTROKIN_PARALYSIS_LEARNING_2",
+ "condition": {
+ "and": [
+ {
+ "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_electrokinesis')" ] },
+ "difficulty": 8
+ }
+ ]
+ },
+ "effect": [
+ {
+ "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Neural Spasms power.",
+ "popup": true
+ },
+ { "math": [ "u_spell_level('electrokinetic_paralysis')", "=", "1" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 20,40 )" ] }
+ ],
+ "false_effect": [
+ { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 20,40 )" ] }
+ ]
+ }
+ ]
}
]
},
@@ -337,41 +419,72 @@
"difficulty": 3,
"time": "30 m",
"autolearn": false,
+ "proficiencies": [ { "proficiency": "prof_contemplation_electrokinesis", "required": false } ],
"tools": [ [ [ "matrix_crystal_drained", -1 ] ] ],
"components": [ [ [ "matrix_crystal_electrokin_dust", 1 ] ] ],
"flags": [ "SECRET", "BLIND_HARD" ],
"result_eocs": [
{
"id": "EOC_PRACTICE_ELECTROKIN_REDUCE_PAIN",
- "condition": {
- "and": [
- { "math": [ "u_spell_level('electrokinetic_reduce_pain')", ">=", "1" ] },
- { "math": [ "u_spell_exp('electrokinetic_reduce_pain')", "<=", "(difficulty_four_contemplation(1))" ] }
- ]
- },
+ "condition": { "math": [ "u_spell_level('electrokinetic_reduce_pain')", ">=", "1" ] },
"effect": [
{ "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
{ "math": [ "u_spell_exp('electrokinetic_reduce_pain')", "+=", "(contemplation_factor(1))" ] },
- { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
{ "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(4)" ] },
{ "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
],
- "false_effect": {
- "run_eocs": [
- {
- "id": "EOC_PRACTICE_ELECTROKIN_REDUCE_PAIN_FALSE",
- "condition": { "math": [ "u_spell_level('electrokinetic_reduce_pain')", ">=", "1" ] },
- "effect": [
- { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": [
- { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ]
- }
- ]
+ "false_effect": [
+ { "u_message": "You attempt to unlock new capabilities within your mind." },
+ { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
+ { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
+ { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
+ {
+ "queue_eocs": "EOC_PRACTICE_ELECTROKIN_REDUCE_PAIN_LEARNING",
+ "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(4)" ] }, { "math": [ "learn_new_power_upper_time_bound(4)" ] } ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_PRACTICE_ELECTROKIN_REDUCE_PAIN_LEARNING",
+ "condition": {
+ "and": [
+ { "u_has_effect": "effect_psi_learning_new_power" },
+ {
+ "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
}
+ ]
+ },
+ "effect": [
+ {
+ "run_eocs": [
+ {
+ "id": "EOC_PRACTICE_ELECTROKIN_REDUCE_PAIN_LEARNING_2",
+ "condition": {
+ "and": [
+ {
+ "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_electrokinesis')" ] },
+ "difficulty": 8
+ }
+ ]
+ },
+ "effect": [
+ {
+ "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Pain Suppression power.",
+ "popup": true
+ },
+ { "math": [ "u_spell_level('electrokinetic_reduce_pain')", "=", "1" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 20,40 )" ] }
+ ],
+ "false_effect": [
+ { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 20,40 )" ] }
+ ]
+ }
+ ]
}
]
},
@@ -387,41 +500,72 @@
"difficulty": 4,
"time": "30 m",
"autolearn": false,
+ "proficiencies": [ { "proficiency": "prof_contemplation_electrokinesis", "required": false } ],
"tools": [ [ [ "matrix_crystal_drained", -1 ] ] ],
"components": [ [ [ "matrix_crystal_electrokin_dust", 1 ] ] ],
"flags": [ "SECRET", "BLIND_HARD" ],
"result_eocs": [
{
"id": "EOC_PRACTICE_ELECTROKIN_LIGHTNING_BOLT",
- "condition": {
- "and": [
- { "math": [ "u_spell_level('electrokinetic_lightning_bolt')", ">=", "1" ] },
- { "math": [ "u_spell_exp('electrokinetic_lightning_bolt')", "<=", "(difficulty_five_contemplation(1))" ] }
- ]
- },
+ "condition": { "math": [ "u_spell_level('electrokinetic_lightning_bolt')", ">=", "1" ] },
"effect": [
{ "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
{ "math": [ "u_spell_exp('electrokinetic_lightning_bolt')", "+=", "(contemplation_factor(1))" ] },
- { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
{ "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(5)" ] },
{ "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
],
- "false_effect": {
- "run_eocs": [
- {
- "id": "EOC_PRACTICE_ELECTROKIN_LIGHTNING_BOLT_FALSE",
- "condition": { "math": [ "u_spell_level('electrokinetic_lightning_bolt')", ">=", "1" ] },
- "effect": [
- { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": [
- { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ]
- }
- ]
+ "false_effect": [
+ { "u_message": "You attempt to unlock new capabilities within your mind." },
+ { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
+ { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
+ { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
+ {
+ "queue_eocs": "EOC_PRACTICE_ELECTROKIN_LIGHTNING_BOLT_LEARNING",
+ "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(5)" ] }, { "math": [ "learn_new_power_upper_time_bound(5)" ] } ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_PRACTICE_ELECTROKIN_LIGHTNING_BOLT_LEARNING",
+ "condition": {
+ "and": [
+ { "u_has_effect": "effect_psi_learning_new_power" },
+ {
+ "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
}
+ ]
+ },
+ "effect": [
+ {
+ "run_eocs": [
+ {
+ "id": "EOC_PRACTICE_ELECTROKIN_LIGHTNING_BOLT_LEARNING_2",
+ "condition": {
+ "and": [
+ {
+ "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_electrokinesis')" ] },
+ "difficulty": 9
+ }
+ ]
+ },
+ "effect": [
+ {
+ "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Electrocutioner power.",
+ "popup": true
+ },
+ { "math": [ "u_spell_level('electrokinetic_lightning_bolt')", "=", "1" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 25,50 )" ] }
+ ],
+ "false_effect": [
+ { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 25,50 )" ] }
+ ]
+ }
+ ]
}
]
},
@@ -437,45 +581,74 @@
"difficulty": 4,
"time": "30 m",
"autolearn": false,
+ "proficiencies": [ { "proficiency": "prof_contemplation_electrokinesis", "required": false } ],
"tools": [ [ [ "matrix_crystal_drained", -1 ] ] ],
"components": [ [ [ "matrix_crystal_electrokin_dust", 1 ] ] ],
"flags": [ "SECRET", "BLIND_HARD" ],
"result_eocs": [
{
"id": "EOC_PRACTICE_ELECTROKIN_RECHARGE_VEHICLE",
- "condition": {
- "and": [
- { "math": [ "u_val('spell_level', 'spell: electrokinetic_recharge_vehicle')", ">=", "1" ] },
- {
- "math": [ "u_val('spell_exp', 'spell: electrokinetic_recharge_vehicle')", "<=", "(difficulty_five_contemplation(1))" ]
- }
- ]
- },
+ "condition": { "math": [ "u_val('spell_level', 'spell: electrokinetic_recharge_vehicle')", ">=", "1" ] },
"effect": [
{ "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
{
"math": [ "u_val('spell_exp', 'spell: electrokinetic_recharge_vehicle')", "+=", "(contemplation_factor(1))" ]
},
- { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
{ "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(5)" ] },
{ "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
],
- "false_effect": {
- "run_eocs": [
- {
- "id": "EOC_PRACTICE_ELECTROKIN_RECHARGE_VEHICLE_FALSE",
- "condition": { "math": [ "u_val('spell_level', 'spell: electrokinetic_recharge_vehicle')", ">=", "1" ] },
- "effect": [
- { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": [
- { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ]
- }
- ]
+ "false_effect": [
+ { "u_message": "You attempt to unlock new capabilities within your mind." },
+ { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
+ { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
+ { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
+ {
+ "queue_eocs": "EOC_PRACTICE_ELECTROKIN_RECHARGE_VEHICLE_LEARNING",
+ "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(6)" ] }, { "math": [ "learn_new_power_upper_time_bound(6)" ] } ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_PRACTICE_ELECTROKIN_RECHARGE_VEHICLE_LEARNING",
+ "condition": {
+ "and": [
+ { "u_has_effect": "effect_psi_learning_new_power" },
+ {
+ "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
}
+ ]
+ },
+ "effect": [
+ {
+ "run_eocs": [
+ {
+ "id": "EOC_PRACTICE_ELECTROKIN_RECHARGE_VEHICLE_LEARNING_2",
+ "condition": {
+ "and": [
+ {
+ "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_electrokinesis')" ] },
+ "difficulty": 10
+ }
+ ]
+ },
+ "effect": [
+ {
+ "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Re-energize power.",
+ "popup": true
+ },
+ { "math": [ "u_spell_level('electrokinetic_recharge_vehicle')", "=", "1" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 30,60 )" ] }
+ ],
+ "false_effect": [
+ { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 30,60 )" ] }
+ ]
+ }
+ ]
}
]
},
@@ -491,41 +664,72 @@
"difficulty": 5,
"time": "30 m",
"autolearn": false,
+ "proficiencies": [ { "proficiency": "prof_contemplation_electrokinesis", "required": false } ],
"tools": [ [ [ "matrix_crystal_drained", -1 ] ] ],
"components": [ [ [ "matrix_crystal_electrokin_dust", 1 ] ] ],
"flags": [ "SECRET", "BLIND_HARD" ],
"result_eocs": [
{
"id": "EOC_PRACTICE_ELECTROKIN_SPEED_BOOST",
- "condition": {
- "and": [
- { "math": [ "u_spell_level('electrokinetic_speed_boost')", ">=", "1" ] },
- { "math": [ "u_spell_exp('electrokinetic_speed_boost')", "<=", "(difficulty_six_contemplation(1))" ] }
- ]
- },
+ "condition": { "math": [ "u_spell_level('electrokinetic_speed_boost')", ">=", "1" ] },
"effect": [
{ "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
{ "math": [ "u_spell_exp('electrokinetic_speed_boost')", "+=", "(contemplation_factor(1))" ] },
- { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
{ "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(6)" ] },
{ "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
],
- "false_effect": {
- "run_eocs": [
- {
- "id": "EOC_PRACTICE_ELECTROKIN_SPEED_BOOST_FALSE",
- "condition": { "math": [ "u_spell_level('electrokinetic_speed_boost')", ">=", "1" ] },
- "effect": [
- { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": [
- { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ]
- }
- ]
+ "false_effect": [
+ { "u_message": "You attempt to unlock new capabilities within your mind." },
+ { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
+ { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
+ { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
+ {
+ "queue_eocs": "EOC_PRACTICE_ELECTROKIN_SPEED_BOOST_LEARNING",
+ "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(6)" ] }, { "math": [ "learn_new_power_upper_time_bound(6)" ] } ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_PRACTICE_ELECTROKIN_SPEED_BOOST_LEARNING",
+ "condition": {
+ "and": [
+ { "u_has_effect": "effect_psi_learning_new_power" },
+ {
+ "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
}
+ ]
+ },
+ "effect": [
+ {
+ "run_eocs": [
+ {
+ "id": "EOC_PRACTICE_ELECTROKIN_SPEED_BOOST_LEARNING_2",
+ "condition": {
+ "and": [
+ {
+ "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_electrokinesis')" ] },
+ "difficulty": 10
+ }
+ ]
+ },
+ "effect": [
+ {
+ "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Neuro-acceleration power.",
+ "popup": true
+ },
+ { "math": [ "u_spell_level('electrokinetic_speed_boost')", "=", "1" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 30,60 )" ] }
+ ],
+ "false_effect": [
+ { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 30,60 )" ] }
+ ]
+ }
+ ]
}
]
},
@@ -541,41 +745,72 @@
"difficulty": 5,
"time": "30 m",
"autolearn": false,
+ "proficiencies": [ { "proficiency": "prof_contemplation_electrokinesis", "required": false } ],
"tools": [ [ [ "matrix_crystal_drained", -1 ] ] ],
"components": [ [ [ "matrix_crystal_electrokin_dust", 1 ] ] ],
"flags": [ "SECRET", "BLIND_HARD" ],
"result_eocs": [
{
"id": "EOC_PRACTICE_ELECTROKIN_PAIN_IMMUNE",
- "condition": {
- "and": [
- { "math": [ "u_spell_level('electrokinetic_pain_immune')", ">=", "1" ] },
- { "math": [ "u_spell_exp('electrokinetic_pain_immune')", "<=", "(difficulty_six_contemplation(1))" ] }
- ]
- },
+ "condition": { "math": [ "u_spell_level('electrokinetic_pain_immune')", ">=", "1" ] },
"effect": [
{ "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
{ "math": [ "u_spell_exp('electrokinetic_pain_immune')", "+=", "(contemplation_factor(1))" ] },
- { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
{ "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(6)" ] },
{ "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
],
- "false_effect": {
- "run_eocs": [
- {
- "id": "EOC_PRACTICE_ELECTROKIN_PAIN_IMMUNE_FALSE",
- "condition": { "math": [ "u_spell_level('electrokinetic_pain_immune')", ">=", "1" ] },
- "effect": [
- { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": [
- { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ]
- }
- ]
+ "false_effect": [
+ { "u_message": "You attempt to unlock new capabilities within your mind." },
+ { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
+ { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
+ { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
+ {
+ "queue_eocs": "EOC_PRACTICE_ELECTROKIN_PAIN_IMMUNE_LEARNING",
+ "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(6)" ] }, { "math": [ "learn_new_power_upper_time_bound(6)" ] } ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_PRACTICE_ELECTROKIN_PAIN_IMMUNE_LEARNING",
+ "condition": {
+ "and": [
+ { "u_has_effect": "effect_psi_learning_new_power" },
+ {
+ "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
}
+ ]
+ },
+ "effect": [
+ {
+ "run_eocs": [
+ {
+ "id": "EOC_PRACTICE_ELECTROKIN_PAIN_IMMUNE_LEARNING_2",
+ "condition": {
+ "and": [
+ {
+ "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_electrokinesis')" ] },
+ "difficulty": 10
+ }
+ ]
+ },
+ "effect": [
+ {
+ "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Analgesic Block power.",
+ "popup": true
+ },
+ { "math": [ "u_spell_level('electrokinetic_pain_immune')", "=", "1" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 30,60 )" ] }
+ ],
+ "false_effect": [
+ { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 30,60 )" ] }
+ ]
+ }
+ ]
}
]
},
@@ -591,41 +826,72 @@
"difficulty": 6,
"time": "30 m",
"autolearn": false,
+ "proficiencies": [ { "proficiency": "prof_contemplation_electrokinesis", "required": false } ],
"tools": [ [ [ "matrix_crystal_drained", -1 ] ] ],
"components": [ [ [ "matrix_crystal_electrokin_dust", 1 ] ] ],
"flags": [ "SECRET", "BLIND_HARD" ],
"result_eocs": [
{
"id": "EOC_PRACTICE_ELECTROKIN_KILL_ROBOT",
- "condition": {
- "and": [
- { "math": [ "u_spell_level('electrokinetic_kill_robot')", ">=", "1" ] },
- { "math": [ "u_spell_exp('electrokinetic_kill_robot')", "<=", "(difficulty_seven_contemplation(1))" ] }
- ]
- },
+ "condition": { "math": [ "u_spell_level('electrokinetic_kill_robot')", ">=", "1" ] },
"effect": [
{ "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
{ "math": [ "u_spell_exp('electrokinetic_kill_robot')", "+=", "(contemplation_factor(1))" ] },
- { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
{ "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(7)" ] },
{ "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
],
- "false_effect": {
- "run_eocs": [
- {
- "id": "EOC_PRACTICE_ELECTROKIN_KILL_ROBOT_FALSE",
- "condition": { "math": [ "u_spell_level('electrokinetic_kill_robot')", ">=", "1" ] },
- "effect": [
- { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": [
- { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ]
- }
- ]
+ "false_effect": [
+ { "u_message": "You attempt to unlock new capabilities within your mind." },
+ { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
+ { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
+ { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
+ {
+ "queue_eocs": "EOC_PRACTICE_ELECTROKIN_KILL_ROBOT_LEARNING",
+ "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(7)" ] }, { "math": [ "learn_new_power_upper_time_bound(7)" ] } ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_PRACTICE_ELECTROKIN_KILL_ROBOT_LEARNING",
+ "condition": {
+ "and": [
+ { "u_has_effect": "effect_psi_learning_new_power" },
+ {
+ "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
}
+ ]
+ },
+ "effect": [
+ {
+ "run_eocs": [
+ {
+ "id": "EOC_PRACTICE_ELECTROKIN_KILL_ROBOT_LEARNING_2",
+ "condition": {
+ "and": [
+ {
+ "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_electrokinesis')" ] },
+ "difficulty": 11
+ }
+ ]
+ },
+ "effect": [
+ {
+ "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Short Circuit power.",
+ "popup": true
+ },
+ { "math": [ "u_spell_level('electrokinetic_kill_robot')", "=", "1" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 35,70 )" ] }
+ ],
+ "false_effect": [
+ { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 35,70 )" ] }
+ ]
+ }
+ ]
}
]
},
@@ -641,43 +907,72 @@
"difficulty": 7,
"time": "30 m",
"autolearn": false,
+ "proficiencies": [ { "proficiency": "prof_contemplation_electrokinesis", "required": false } ],
"tools": [ [ [ "matrix_crystal_drained", -1 ] ] ],
"components": [ [ [ "matrix_crystal_electrokin_dust", 1 ] ] ],
"flags": [ "SECRET", "BLIND_HARD" ],
"result_eocs": [
{
"id": "EOC_PRACTICE_ELECTROKIN_LIGHTNING_AURA",
- "condition": {
- "and": [
- { "math": [ "u_spell_level('electrokinetic_lightning_aura')", ">=", "1" ] },
- {
- "math": [ "u_spell_exp('electrokinetic_lightning_aura')", "<=", "(difficulty_eight_contemplation(1))" ]
- }
- ]
- },
+ "condition": { "math": [ "u_spell_level('electrokinetic_lightning_aura')", ">=", "1" ] },
"effect": [
{ "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
{ "math": [ "u_spell_exp('electrokinetic_lightning_aura')", "+=", "(contemplation_factor(1))" ] },
- { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
{ "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(8)" ] },
{ "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
],
- "false_effect": {
- "run_eocs": [
- {
- "id": "EOC_PRACTICE_ELECTROKIN_LIGHTNING_AURA_FALSE",
- "condition": { "math": [ "u_spell_level('electrokinetic_lightning_aura')", ">=", "1" ] },
- "effect": [
- { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": [
- { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ]
- }
- ]
+ "false_effect": [
+ { "u_message": "You attempt to unlock new capabilities within your mind." },
+ { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
+ { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
+ { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
+ {
+ "queue_eocs": "EOC_PRACTICE_ELECTROKIN_LIGHTNING_AURA_LEARNING",
+ "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(8)" ] }, { "math": [ "learn_new_power_upper_time_bound(8)" ] } ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_PRACTICE_ELECTROKIN_LIGHTNING_AURA_LEARNING",
+ "condition": {
+ "and": [
+ { "u_has_effect": "effect_psi_learning_new_power" },
+ {
+ "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
}
+ ]
+ },
+ "effect": [
+ {
+ "run_eocs": [
+ {
+ "id": "EOC_PRACTICE_ELECTROKIN_LIGHTNING_AURA_LEARNING_2",
+ "condition": {
+ "and": [
+ {
+ "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_electrokinesis')" ] },
+ "difficulty": 12
+ }
+ ]
+ },
+ "effect": [
+ {
+ "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Galvanic Aura power.",
+ "popup": true
+ },
+ { "math": [ "u_spell_level('electrokinetic_lightning_aura')", "=", "1" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 40,80 )" ] }
+ ],
+ "false_effect": [
+ { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 40,80 )" ] }
+ ]
+ }
+ ]
}
]
},
@@ -693,43 +988,72 @@
"difficulty": 8,
"time": "30 m",
"autolearn": false,
+ "proficiencies": [ { "proficiency": "prof_contemplation_electrokinesis", "required": false } ],
"tools": [ [ [ "matrix_crystal_drained", -1 ] ] ],
"components": [ [ [ "matrix_crystal_electrokin_dust", 1 ] ] ],
"flags": [ "SECRET", "BLIND_HARD" ],
"result_eocs": [
{
"id": "EOC_PRACTICE_ELECTROKIN_LIGHTNING_BLAST",
- "condition": {
- "and": [
- { "math": [ "u_spell_level('electrokinetic_lightning_blast')", ">=", "1" ] },
- {
- "math": [ "u_spell_exp('electrokinetic_lightning_blast')", "<=", "(difficulty_nine_contemplation(1))" ]
- }
- ]
- },
+ "condition": { "math": [ "u_spell_level('electrokinetic_lightning_blast')", ">=", "1" ] },
"effect": [
{ "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
{ "math": [ "u_spell_exp('electrokinetic_lightning_blast')", "+=", "(contemplation_factor(1))" ] },
- { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
{ "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(9)" ] },
{ "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
],
- "false_effect": {
- "run_eocs": [
- {
- "id": "EOC_PRACTICE_ELECTROKIN_LIGHTNING_BLAST_FALSE",
- "condition": { "math": [ "u_spell_level('electrokinetic_lightning_blast')", ">=", "1" ] },
- "effect": [
- { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": [
- { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ]
- }
- ]
+ "false_effect": [
+ { "u_message": "You attempt to unlock new capabilities within your mind." },
+ { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
+ { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
+ { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
+ {
+ "queue_eocs": "EOC_PRACTICE_ELECTROKIN_LIGHTNING_BLAST_LEARNING",
+ "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(9)" ] }, { "math": [ "learn_new_power_upper_time_bound(9)" ] } ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_PRACTICE_ELECTROKIN_LIGHTNING_BLAST_LEARNING",
+ "condition": {
+ "and": [
+ { "u_has_effect": "effect_psi_learning_new_power" },
+ {
+ "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
}
+ ]
+ },
+ "effect": [
+ {
+ "run_eocs": [
+ {
+ "id": "EOC_PRACTICE_ELECTROKIN_LIGHTNING_BLAST_LEARNING_2",
+ "condition": {
+ "and": [
+ {
+ "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_electrokinesis')" ] },
+ "difficulty": 13
+ }
+ ]
+ },
+ "effect": [
+ {
+ "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Ion Blast power.",
+ "popup": true
+ },
+ { "math": [ "u_spell_level('electrokinetic_lightning_blast')", "=", "1" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 45,90 )" ] }
+ ],
+ "false_effect": [
+ { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 45,90 )" ] }
+ ]
+ }
+ ]
}
]
},
@@ -745,41 +1069,72 @@
"difficulty": 9,
"time": "30 m",
"autolearn": false,
+ "proficiencies": [ { "proficiency": "prof_contemplation_electrokinesis", "required": false } ],
"tools": [ [ [ "matrix_crystal_drained", -1 ] ] ],
"components": [ [ [ "matrix_crystal_electrokin_dust", 1 ] ] ],
"flags": [ "SECRET", "BLIND_HARD" ],
"result_eocs": [
{
"id": "EOC_PRACTICE_ELECTROKIN_REVIVE",
- "condition": {
- "and": [
- { "math": [ "u_spell_level('electrokinetic_revive')", ">=", "1" ] },
- { "math": [ "u_spell_exp('electrokinetic_revive')", "<=", "(difficulty_ten_contemplation(1))" ] }
- ]
- },
+ "condition": { "math": [ "u_spell_level('electrokinetic_revive')", ">=", "1" ] },
"effect": [
{ "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
{ "math": [ "u_spell_exp('electrokinetic_revive')", "+=", "(contemplation_factor(1))" ] },
- { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
{ "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(10)" ] },
{ "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
],
- "false_effect": {
- "run_eocs": [
- {
- "id": "EOC_PRACTICE_ELECTROKIN_REVIVE_FALSE",
- "condition": { "math": [ "u_spell_level('electrokinetic_revive')", ">=", "1" ] },
- "effect": [
- { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ],
- "false_effect": [
- { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." },
- { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
- ]
- }
- ]
+ "false_effect": [
+ { "u_message": "You attempt to unlock new capabilities within your mind." },
+ { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
+ { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
+ { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
+ {
+ "queue_eocs": "EOC_PRACTICE_ELECTROKIN_REVIVE_LEARNING",
+ "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(10)" ] }, { "math": [ "learn_new_power_upper_time_bound(10)" ] } ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "effect_on_condition",
+ "id": "EOC_PRACTICE_ELECTROKIN_REVIVE_LEARNING",
+ "condition": {
+ "and": [
+ { "u_has_effect": "effect_psi_learning_new_power" },
+ {
+ "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
}
+ ]
+ },
+ "effect": [
+ {
+ "run_eocs": [
+ {
+ "id": "EOC_PRACTICE_ELECTROKIN_REVIVE_LEARNING_2",
+ "condition": {
+ "and": [
+ {
+ "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_electrokinesis')" ] },
+ "difficulty": 14
+ }
+ ]
+ },
+ "effect": [
+ {
+ "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Revivification power.",
+ "popup": true
+ },
+ { "math": [ "u_spell_level('electrokinetic_revive')", "=", "1" ] },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 50,100 )" ] }
+ ],
+ "false_effect": [
+ { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true },
+ { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 50,100 )" ] }
+ ]
+ }
+ ]
}
]
}
diff --git a/data/mods/MindOverMatter/recipes/proficiencies.json b/data/mods/MindOverMatter/recipes/proficiencies.json
index 6866db1cfd6d5..12d1090285055 100644
--- a/data/mods/MindOverMatter/recipes/proficiencies.json
+++ b/data/mods/MindOverMatter/recipes/proficiencies.json
@@ -58,6 +58,18 @@
"time_to_learn": "200 h",
"//": "Length is deliberate"
},
+ {
+ "type": "proficiency",
+ "id": "prof_contemplation_electrokinesis",
+ "category": "prof_contemplation",
+ "name": { "str": "Electrokinetic Insight" },
+ "description": "You have an understanding on how electrokinesis functions and unlocking new powers is easier for you.",
+ "can_learn": true,
+ "default_time_multiplier": 1.0,
+ "default_skill_penalty": 0.2,
+ "time_to_learn": "200 h",
+ "//": "Length is deliberate"
+ },
{
"type": "proficiency_category",
"id": "prof_psionic",