-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
1 parent
5920a41
commit d6e3fc6
Showing
11 changed files
with
2,298 additions
and
538 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
130 changes: 130 additions & 0 deletions
130
data/mods/MindOverMatter/obsolete/upgrade_eocs/electrokinetic_upgrades.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" } ] | ||
} | ||
] |
Oops, something went wrong.