Skip to content

Commit

Permalink
[MoM] Power learning revamp: Electrokinesis (#70539)
Browse files Browse the repository at this point in the history
* Line breaks to markdown

* Add powers

* Update nether attunement values

* Spelling

* Remove missed learn_spells fields

* re-add learning EoC for hobby
  • Loading branch information
Standing-Storm authored Jan 3, 2024
1 parent 5920a41 commit d6e3fc6
Show file tree
Hide file tree
Showing 11 changed files with 2,298 additions and 538 deletions.
333 changes: 238 additions & 95 deletions data/mods/MindOverMatter/PowerDescriptionSpoilers.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -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" }
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion data/mods/MindOverMatter/hobbies.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion data/mods/MindOverMatter/mutations/traits.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"spells_learned": [
[ "electrokinetic_see_electric", 2 ],
[ "electrokinetic_shock_touch", 2 ],
[ "electrokinetic_zap_enemies", 2 ],
[ "classless_toggleable_concentration_end", 1 ]
]
},
Expand Down
Original file line number Diff line number Diff line change
@@ -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" } ]
}
]
Loading

0 comments on commit d6e3fc6

Please sign in to comment.