From 59d097a64209243445daeee9ef9a77ee0e54e298 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 13:51:44 -0500 Subject: [PATCH 01/27] Create clairsentience.json --- .../powers/learning_eocs/clairsentience.json | 1141 +++++++++++++++++ 1 file changed, 1141 insertions(+) create mode 100644 data/mods/MindOverMatter/powers/learning_eocs/clairsentience.json diff --git a/data/mods/MindOverMatter/powers/learning_eocs/clairsentience.json b/data/mods/MindOverMatter/powers/learning_eocs/clairsentience.json new file mode 100644 index 0000000000000..495b9ed43805e --- /dev/null +++ b/data/mods/MindOverMatter/powers/learning_eocs/clairsentience.json @@ -0,0 +1,1141 @@ +[ + { + "type": "effect_on_condition", + "id": "EOC_CLAIR_LEARNING_PREMONITION", + "recurrence": [ + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "CLAIRSENTIENT" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "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('clair_danger_sense')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_clair_danger_sense" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_danger_sense')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_clair_danger_sense" }, + { + "u_message": "Use of your powers has led to an insight. You could expand your senses for what is out of place, looking for anything that means harm to you, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CLAIR_LEARNING_SPOT_WEAKNESS", + "recurrence": [ + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "CLAIRSENTIENT" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 20 } }, + { + "and": [ + { "math": [ "u_spell_level('clair_danger_sense')", ">=", "4" ] }, + { "math": [ "u_spell_level('clair_night_vision')", ">=", "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('clair_spot_weakness')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_clair_spot_weakness" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_spot_weakness')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_clair_spot_weakness" }, + { + "u_message": "Use of your powers has led to an insight. The same way your eyes can pick out details in pure dark and you can sense hidden dangers, you could find the weaknesses of your enemies, knowing exactly where to strike them, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CLAIR_LEARNING_AURA_SIGHT", + "recurrence": [ + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "CLAIRSENTIENT" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 20 } }, + { + "and": [ + { "math": [ "u_spell_level('clair_danger_sense')", ">=", "5" ] }, + { "math": [ "u_spell_level('clair_spot_weakness')", ">=", "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('clair_see_auras')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_clair_aura_sight" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_see_auras')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_clair_aura_sight" }, + { + "u_message": "Use of your powers has led to an insight. You could turn your insight on people, looking beyond the surface toward their essential elements, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CLAIR_LEARNING_RANGED_ENHANCE", + "recurrence": [ + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "CLAIRSENTIENT" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ { "x_in_y_chance": { "x": 1, "y": 40 } }, { "math": [ "u_spell_level('clair_spot_weakness')", ">=", "7" ] } ] + }, + { + "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('clair_ranged_enhance')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_clair_ranged_enhance" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_ranged_enhance')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_clair_ranged_enhance" }, + { + "u_message": "Use of your powers has led to an insight. You could greatly enhance your vision, making ranged combat much easier as you're able to pinpoint exactly where to shoot, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CLAIR_LEARNING_VOYANCE", + "recurrence": [ + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "CLAIRSENTIENT" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { "math": [ "u_spell_level('clair_danger_sense')", ">=", "6" ] }, + { + "or": [ + { "math": [ "u_spell_level('clair_aura_sight')", ">=", "6" ] }, + { "math": [ "u_spell_level('clair_night_vision')", ">=", "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('clair_voyance')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_clair_voyance" } } + ] + }, + "deactivate_condition": { "or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_voyance')", ">=", "1" ] } ] }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_clair_voyance" }, + { + "u_message": "Use of your powers has led to an insight. You perform the classic feat of clairvoyance, throwing your senses to a spot nearby, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CLAIR_LEARNING_DODGE_POWER", + "recurrence": [ + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "CLAIRSENTIENT" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { "math": [ "u_spell_level('clair_voyance')", ">=", "6" ] }, + { + "or": [ + { "math": [ "u_spell_level('clair_danger_sense')", ">=", "10" ] }, + { "math": [ "u_spell_level('clair_speed_reading')", ">=", "10" ] }, + { "math": [ "u_spell_level('clair_spot_weakness')", ">=", "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('clair_dodge_power')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_clair_dodge_power" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_dodge_power')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_clair_dodge_power" }, + { + "u_message": "Use of your powers has led to an insight. You could predict your enemies' movements and attacks, smoothly avoiding danger by not being where they are about to strike, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CLAIR_LEARNING_CRAFT_BONUS", + "recurrence": [ + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "CLAIRSENTIENT" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { "math": [ "u_spell_level('clair_speed_reading')", ">=", "8" ] }, + { "math": [ "u_spell_level('clair_spot_weakness')", ">=", "4" ] }, + { "math": [ "u_spell_level('clair_danger_sense')", ">=", "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('clair_craft_bonus')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_clair_craft_bonus" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_craft_bonus')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_clair_craft_bonus" }, + { + "u_message": "Use of your powers has led to an insight. You could use your insight into the near future to speed any manual tasks you do, working smoothly and efficiently to construct or assemble something, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CLAIR_LEARNING_PERFECT_SHOT", + "recurrence": [ + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "CLAIRSENTIENT" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ { "x_in_y_chance": { "x": 1, "y": 80 } }, { "math": [ "u_spell_level('clair_ranged_enhance')", ">=", "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('clair_perfect_shot')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_clair_perfect_shot" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_perfect_shot')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_clair_perfect_shot" }, + { + "u_message": "Use of your powers has led to an insight. You could predict the exact trajectory of a bullet, aiming for the perfect spot to do the most damage, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CLAIR_LEARNING_SEE_MAP", + "recurrence": [ + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "CLAIRSENTIENT" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "and": [ + { "math": [ "u_spell_level('clair_voyance')", ">=", "8" ] }, + { + "or": [ + { "math": [ "u_spell_level('clair_danger_sense')", ">=", "6" ] }, + { "math": [ "u_spell_level('clair_aura_sight')", ">=", "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('clair_see_map')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_clair_see_map" } } + ] + }, + "deactivate_condition": { "or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_see_map')", ">=", "1" ] } ] }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_clair_see_map" }, + { + "u_message": "Use of your powers has led to an insight. You expand your vision to the surrounding terrain, revealing nearby points of interest and where you should go, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CLAIR_LEARNING_CLEAR_SIGHT", + "recurrence": [ + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "CLAIRSENTIENT" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "and": [ + { "math": [ "u_spell_level('clair_night_vision')", ">=", "10" ] }, + { + "or": [ + { "math": [ "u_spell_level('clair_speed_reading')", ">=", "8" ] }, + { "math": [ "u_spell_level('clair_dodge_power')", ">=", "5" ] }, + { "math": [ "u_spell_level('clair_aura_sight')", ">=", "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('clair_clear_sight')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_clair_clear_sight" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_clear_sight')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_clair_clear_sight" }, + { + "u_message": "Use of your powers has led to an insight. You could enhance your senses so much that nothing could cloud them for as long as you maintain your concentration, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CLAIR_LEARNING_ASTRAL_PROJECTION", + "recurrence": [ + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "CLAIRSENTIENT" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "or": [ + { + "and": [ + { "math": [ "u_spell_level('clair_clear_sight')", ">=", "6" ] }, + { "math": [ "u_spell_level('clair_voyance')", ">=", "9" ] } + ] + }, + { + "and": [ + { "math": [ "u_spell_level('clair_see_map')", ">=", "8" ] }, + { "math": [ "u_spell_level('clair_voyance')", ">=", "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('clair_astral_projection')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_clair_astral_projection" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_astral_projection')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_clair_astral_projection" }, + { + "u_message": "Use of your powers has led to an insight. You could cast your spirit free from your body, wandering as a ghost and spying out your surroundings, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CLAIR_LEARNING_GROUP_TACTICS", + "recurrence": [ + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "CLAIRSENTIENT" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "and": [ + { "math": [ "u_spell_level('clair_ranged_enhance')", ">=", "7" ] }, + { "math": [ "u_spell_level('clair_dodge_power')", ">=", "8" ] }, + { "math": [ "u_spell_level('clair_clear_sight')", ">=", "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('clair_group_tactics')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_clair_group_tactics" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_group_tactics')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_clair_group_tactics" }, + { + "u_message": "Use of your powers has led to an insight. You could use your prescience to help direct the flow of battle, calling out orders so your allies can react to dangers before they happen, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CLAIR_LEARNING_OMNISCIENCE", + "recurrence": [ + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_clairsentience_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "CLAIRSENTIENT" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "and": [ + { "math": [ "u_spell_level('clair_clear_sight')", ">=", "5" ] }, + { + "or": [ + { "math": [ "u_spell_level('clair_see_map')", ">=", "8" ] }, + { "math": [ "u_spell_level('clair_voyance')", ">=", "14" ] } + ] + } + ] + } + ] + }, + { + "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('clair_omniscience')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_clair_omniscience" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "CLAIRSENTIENT" } }, { "math": [ "u_spell_level('clair_omniscience')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_clair_omniscience" }, + { + "u_message": "Use of your powers has led to an insight. You could expand your senses to a huge area, seeing every most of dust, every blade of grass, every speck or spot, all simultaneously, if you can figure out the technique.", + "popup": true + } + ] + } +] From d3922db2c428cb6b319da1a7aa215231e937367d Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 13:57:19 -0500 Subject: [PATCH 02/27] Create photokinesis.json --- .../powers/learning_eocs/photokinesis.json | 1181 +++++++++++++++++ 1 file changed, 1181 insertions(+) create mode 100644 data/mods/MindOverMatter/powers/learning_eocs/photokinesis.json diff --git a/data/mods/MindOverMatter/powers/learning_eocs/photokinesis.json b/data/mods/MindOverMatter/powers/learning_eocs/photokinesis.json new file mode 100644 index 0000000000000..da7afdad2726e --- /dev/null +++ b/data/mods/MindOverMatter/powers/learning_eocs/photokinesis.json @@ -0,0 +1,1181 @@ +[ + { + "type": "effect_on_condition", + "id": "EOC_PHOTOKIN_LEARNING_SNUFF_LIGHT", + "recurrence": [ + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "PHOTOKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 20 } }, + { + "or": [ + { "math": [ "u_spell_level('photokinetic_light_local')", ">=", "5" ] }, + { "math": [ "u_spell_level('photokinetic_create_light')", ">=", "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('photokinetic_snuff_light')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_photokinetic_snuff_light" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "PHOTOKINETIC" } }, { "math": [ "u_spell_level('photokinetic_snuff_light')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_photokinetic_snuff_light" }, + { + "u_message": "Use of your powers has led to an insight. Just like you can create light, you could extinguish it, plunging an area into darkness, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_PHOTO_LEARNING_LIGHT_DODGE", + "recurrence": [ + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "PHOTOKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 20 } }, + { + "and": [ + { "math": [ "u_spell_level('photokinetic_snuff_light')", ">=", "5" ] }, + { "math": [ "u_spell_level('photokinetic_create_light')", ">=", "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('photokinetic_light_dodge')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_photokinetic_light_dodge" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "PHOTOKINETIC" } }, { "math": [ "u_spell_level('photokinetic_light_dodge')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_photokinetic_light_dodge" }, + { + "u_message": "Use of your powers has led to an insight. Instead of simply creating light you could bend it, warping it around yourself and making it hard for enemies to determine your exact position, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_PHOTO_LEARNING_LIGHT_BEAM", + "recurrence": [ + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "PHOTOKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 20 } }, + { + "or": [ + { "math": [ "u_spell_level('photokinetic_light_local')", ">=", "8" ] }, + { "math": [ "u_spell_level('photokinetic_create_light')", ">=", "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('photokinetic_light_beam')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_photokinetic_light_beam" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "PHOTOKINETIC" } }, { "math": [ "u_spell_level('photokinetic_light_beam')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_photokinetic_light_beam" }, + { + "u_message": "Use of your powers has led to an insight. You could focus the light you create, making it a searing beam capable of burning your enemies, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_PHOTO_LEARNING_CAMOUFLAGE", + "recurrence": [ + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "PHOTOKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 20 } }, + { "or": [ { "math": [ "u_spell_level('photokinetic_light_dodge')", ">=", "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('photokinetic_camouflage')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_photokinetic_camouflage" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "PHOTOKINETIC" } }, { "math": [ "u_spell_level('photokinetic_camouflage')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_photokinetic_camouflage" }, + { + "u_message": "Use of your powers has led to an insight. You could bend the light not only around yourself, but around your nearby surroundings, blending them together and making yourself very difficult to spot from a distance, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_PHOTO_LEARNING_RAD_IMMUNITY", + "recurrence": [ + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "PHOTOKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 20 } }, + { + "or": [ + { "math": [ "u_spell_level('photokinetic_light_dodge')", ">=", "9" ] }, + { + "and": [ + { "math": [ "u_spell_level('photokinetic_snuff_light')", ">=", "6" ] }, + { "math": [ "u_spell_level('photokinetic_camouflage')", ">=", "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('photokinetic_rad_immunity')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_photokinetic_rad_immunity" } } + ] + }, + "deactivate_condition": { + "or": [ + { "not": { "u_has_trait": "PHOTOKINETIC" } }, + { "math": [ "u_spell_level('photokinetic_rad_immunity')", ">=", "1" ] } + ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_photokinetic_rad_immunity" }, + { + "u_message": "Use of your powers has led to an insight. Bending light leads to deflecting it, and you could deflect harmful light and radiation away from yourself, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_PHOTOKIN_LEARNING_LIGHT_ARMS", + "recurrence": [ + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "PHOTOKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { "math": [ "u_spell_level('photokinetic_light_dodge')", ">=", "8" ] }, + { "math": [ "u_spell_level('photokinetic_camouflage')", ">=", "6" ] }, + { "math": [ "u_spell_level('photokinetic_light_local')", ">=", "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('photokinetic_light_arms')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_photokinetic_light_arms" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "PHOTOKINETIC" } }, { "math": [ "u_spell_level('photokinetic_light_arms')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_photokinetic_light_arms" }, + { + "u_message": "Use of your powers has led to an insight. You could create illusions of your arms and weapons, making it much harder for your enemies to know where you are going to strike, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_PHOTOKIN_LEARNING_HIDE_UGLY", + "recurrence": [ + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "PHOTOKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { "math": [ "u_spell_level('photokinetic_camouflage')", ">=", "8" ] }, + { "math": [ "u_spell_level('photokinetic_rad_immunity')", ">=", "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('photokinetic_hide_ugly')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_photokinetic_hide_ugly" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "PHOTOKINETIC" } }, { "math": [ "u_spell_level('photokinetic_hide_ugly')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_photokinetic_hide_ugly" }, + { + "u_message": "Use of your powers has led to an insight. With a full-body wreathe of illusion, you could conceal your form, preventing anyone from reacting poorly to part of your appearance that isn't normal, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_PHOTOKIN_LEARNING_LIGHT_IMAGE", + "recurrence": [ + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "PHOTOKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { "math": [ "u_spell_level('photokinetic_light_beam')", ">=", "6" ] }, + { + "or": [ + { "math": [ "u_spell_level('photokinetic_camouflage')", ">=", "6" ] }, + { "math": [ "u_spell_level('photokinetic_light_arms')", ">=", "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('photokinetic_light_image')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_photokinetic_light_image" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "PHOTOKINETIC" } }, { "math": [ "u_spell_level('photokinetic_light_image')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_photokinetic_light_image" }, + { + "u_message": "Use of your powers has led to an insight. You could create an illusion of yourself, or even multiple illusions, confusion your enemies as to where you even are, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_PHOTOKIN_LEARNING_RADIO", + "recurrence": [ + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "PHOTOKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { "math": [ "u_spell_level('photokinetic_rad_immunity')", ">=", "6" ] }, + { + "or": [ + { "math": [ "u_spell_level('photokinetic_create_light')", ">=", "8" ] }, + { "math": [ "u_spell_level('photokinetic_light_beam')", ">=", "7" ] } + ] + } + ] + } + ] + }, + { + "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('photokinetic_radio')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_photokinetic_radio" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "PHOTOKINETIC" } }, { "math": [ "u_spell_level('photokinetic_radio')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_photokinetic_radio" }, + { + "u_message": "Use of your powers has led to an insight. You read and broadcast radio waves, communicating with anyone else who is left out there, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_PHOTOKIN_LEARNING_INVISIBILITY", + "recurrence": [ + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "PHOTOKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { + "or": [ + { "math": [ "u_spell_level('photokinetic_rad_immunity')", ">=", "6" ] }, + { "math": [ "u_spell_level('photokinetic_light_image')", ">=", "6" ] } + ] + }, + { + "or": [ + { "math": [ "u_spell_level('photokinetic_camouflage')", ">=", "10" ] }, + { "math": [ "u_spell_level('photokinetic_hide_ugly')", ">=", "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('photokinetic_invisibility')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_photokinetic_invisibility" } } + ] + }, + "deactivate_condition": { + "or": [ + { "not": { "u_has_trait": "PHOTOKINETIC" } }, + { "math": [ "u_spell_level('photokinetic_invisibility')", ">=", "1" ] } + ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_photokinetic_invisibility" }, + { + "u_message": "Use of your powers has led to an insight. You could bend light completely around yourself, concealing your existence entirely, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_PHOTOKIN_LEARNING_LIGHT_FLASH", + "recurrence": [ + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "PHOTOKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { "math": [ "u_spell_level('photokinetic_light_beam')", ">=", "8" ] }, + { + "or": [ + { "math": [ "u_spell_level('photokinetic_rad_immunity')", ">=", "6" ] }, + { "math": [ "u_spell_level('photokinetic_light_arms')", ">=", "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('photokinetic_light_flash')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_photokinetic_light_flash" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "PHOTOKINETIC" } }, { "math": [ "u_spell_level('photokinetic_light_flash')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_photokinetic_light_flash" }, + { + "u_message": "Use of your powers has led to an insight. You could expand the usage of focused light, creating a wide beam capable of searing entire groups of enemies, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_PHOTOKIN_LEARNING_LIGHT_BLINDING_GLARE", + "recurrence": [ + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "PHOTOKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "and": [ + { "math": [ "u_spell_level('photokinetic_create_light')", ">=", "12" ] }, + { + "or": [ + { "math": [ "u_spell_level('photokinetic_light_flash')", ">=", "6" ] }, + { "math": [ "u_spell_level('photokinetic_rad_immunity')", ">=", "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('photokinetic_blinding_glare')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_photokinetic_light_blinding_glare" } } + ] + }, + "deactivate_condition": { + "or": [ + { "not": { "u_has_trait": "PHOTOKINETIC" } }, + { "math": [ "u_spell_level('photokinetic_blinding_glare')", ">=", "1" ] } + ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_photokinetic_light_blinding_glare" }, + { + "u_message": "Use of your powers has led to an insight. Enhancing your generation of light to an extreme level, you could glow brighter than a floodlight and blind anyone who attempts to attack you, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_PHOTOKIN_LEARNING_LIGHT_DISINTEGRATE", + "recurrence": [ + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_photokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "PHOTOKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "and": [ + { "math": [ "u_spell_level('photokinetic_blinding_glare')", ">=", "5" ] }, + { + "or": [ + { "math": [ "u_spell_level('photokinetic_light_flash')", ">=", "8" ] }, + { "math": [ "u_spell_level('photokinetic_light_beam')", ">=", "14" ] } + ] + } + ] + } + ] + }, + { + "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('photokinetic_light_disintegrate')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_photokinetic_light_disintegrate" } } + ] + }, + "deactivate_condition": { + "or": [ + { "not": { "u_has_trait": "PHOTOKINETIC" } }, + { "math": [ "u_spell_level('photokinetic_light_disintegrate')", ">=", "1" ] } + ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_photokinetic_light_disintegrate" }, + { + "u_message": "Use of your powers has led to an insight. You could pour so much energy into a target that their body begins to disintegrate, doing immense damage, if you can figure out the technique.", + "popup": true + } + ] + } +] From ed9d7101f36d84ce47897d079ad1eee123e4431d Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 13:57:54 -0500 Subject: [PATCH 03/27] Update for jmath --- .../powers/learning_eocs/biokinesis.json | 76 ++++++++++++++----- 1 file changed, 59 insertions(+), 17 deletions(-) diff --git a/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json b/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json index 652b421fa9dda..8c26680284911 100644 --- a/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json +++ b/data/mods/MindOverMatter/powers/learning_eocs/biokinesis.json @@ -2,7 +2,10 @@ { "type": "effect_on_condition", "id": "EOC_BIOKIN_LEARNING_OXYGEN_ABSORPTION", - "recurrence": [ "12 hours", "24 hours" ], + "recurrence": [ + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, @@ -86,7 +89,10 @@ { "type": "effect_on_condition", "id": "EOC_BIOKIN_LEARNING_FLEXIBILITY", - "recurrence": [ "12 hours", "24 hours" ], + "recurrence": [ + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, @@ -162,7 +168,10 @@ { "type": "effect_on_condition", "id": "EOC_BIOKIN_LEARNING_DASH", - "recurrence": [ "12 hours", "24 hours" ], + "recurrence": [ + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, @@ -181,7 +190,7 @@ { "or": [ { "math": [ "u_spell_level('biokin_reflex_enhance')", ">=", "5" ] }, - { "math": [ "u_spell_level('biokin_biokin_adrenaline')", ">=", "8" ] } + { "math": [ "u_spell_level('biokin_adrenaline')", ">=", "8" ] } ] } ] @@ -254,7 +263,10 @@ { "type": "effect_on_condition", "id": "EOC_BIOKIN_LEARNING_ARMOR_SKIN", - "recurrence": [ "36 hours", "72 hours" ], + "recurrence": [ + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, @@ -348,7 +360,10 @@ { "type": "effect_on_condition", "id": "EOC_BIOKIN_LEARNING_CLIMATE_CONTROL", - "recurrence": [ "36 hours", "72 hours" ], + "recurrence": [ + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, @@ -437,7 +452,10 @@ { "type": "effect_on_condition", "id": "EOC_BIOKIN_LEARNING_ADRENALINE", - "recurrence": [ "36 hours", "72 hours" ], + "recurrence": [ + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, @@ -526,7 +544,10 @@ { "type": "effect_on_condition", "id": "EOC_BIOKIN_LEARNING_ENHANCE_MOBILITY", - "recurrence": [ "36 hours", "72 hours" ], + "recurrence": [ + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, @@ -622,7 +643,10 @@ { "type": "effect_on_condition", "id": "EOC_BIOKIN_LEARNING_HAMMERHAND", - "recurrence": [ "36 hours", "72 hours" ], + "recurrence": [ + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, @@ -706,7 +730,10 @@ { "type": "effect_on_condition", "id": "EOC_BIOKIN_LEARNING_REFLEX_ENHANCE", - "recurrence": [ "36 hours", "72 hours" ], + "recurrence": [ + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, @@ -717,7 +744,7 @@ { "and": [ { "math": [ "u_spell_level('biokin_physical_enhance')", ">=", "6" ] }, - { "math": [ "u_spell_level('biokin_biokin_adrenaline')", ">=", "8" ] }, + { "math": [ "u_spell_level('biokin_adrenaline')", ">=", "8" ] }, { "or": [ { "math": [ "u_spell_level('biokin_dash')", ">=", "8" ] }, @@ -796,7 +823,10 @@ { "type": "effect_on_condition", "id": "EOC_BIOKIN_LEARNING_SEALED_SYSTEM", - "recurrence": [ "96 hours", "168 hours" ], + "recurrence": [ + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, @@ -890,7 +920,10 @@ { "type": "effect_on_condition", "id": "EOC_BIOKIN_LEARNING_METABOLISM_ENHANCE", - "recurrence": [ "96 hours", "168 hours" ], + "recurrence": [ + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, @@ -979,7 +1012,10 @@ { "type": "effect_on_condition", "id": "EOC_BIOKIN_LEARNING_COMBAT_DANCE", - "recurrence": [ "96 hours", "168 hours" ], + "recurrence": [ + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, @@ -1069,7 +1105,10 @@ { "type": "effect_on_condition", "id": "EOC_BIOKIN_LEARNING_PERFECTED_MOTION", - "recurrence": [ "96 hours", "168 hours" ], + "recurrence": [ + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, @@ -1153,7 +1192,10 @@ { "type": "effect_on_condition", "id": "EOC_BIOKIN_LEARNING_HURRICANE_BLOWS", - "recurrence": [ "96 hours", "168 hours" ], + "recurrence": [ + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_biokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, @@ -1167,7 +1209,7 @@ { "or": [ { "math": [ "u_spell_level('biokin_reflex_enhance')", ">=", "14" ] }, - { "math": [ "u_spell_level('biokin_biokin_adrenaline')", ">=", "12" ] } + { "math": [ "u_spell_level('biokin_adrenaline')", ">=", "12" ] } ] } ] From ab6eb0dca44538ae38863071aa5b095f2b788652 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 13:58:13 -0500 Subject: [PATCH 04/27] Update and rename electrokinesis.json to update for jmath --- .../{electrokinesis.json => update for jmath} | 65 +++++++++++++++---- 1 file changed, 52 insertions(+), 13 deletions(-) rename data/mods/MindOverMatter/powers/learning_eocs/{electrokinesis.json => update for jmath} (92%) diff --git a/data/mods/MindOverMatter/powers/learning_eocs/electrokinesis.json b/data/mods/MindOverMatter/powers/learning_eocs/update for jmath similarity index 92% rename from data/mods/MindOverMatter/powers/learning_eocs/electrokinesis.json rename to data/mods/MindOverMatter/powers/learning_eocs/update for jmath index b10cbe33901b4..8bf3034128c98 100644 --- a/data/mods/MindOverMatter/powers/learning_eocs/electrokinesis.json +++ b/data/mods/MindOverMatter/powers/learning_eocs/update for jmath @@ -2,7 +2,10 @@ { "type": "effect_on_condition", "id": "EOC_ELECTROKIN_LEARNING_ZAP_ENEMIES", - "recurrence": [ "12 hours", "24 hours" ], + "recurrence": [ + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, @@ -84,7 +87,10 @@ { "type": "effect_on_condition", "id": "EOC_ELECTROKIN_LEARNING_MELEE_ATTACKS", - "recurrence": [ "12 hours", "24 hours" ], + "recurrence": [ + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, @@ -171,7 +177,10 @@ { "type": "effect_on_condition", "id": "EOC_ELECTROKIN_LEARNING_PERSONAL_BATTERY", - "recurrence": [ "12 hours", "24 hours" ], + "recurrence": [ + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, @@ -258,7 +267,10 @@ { "type": "effect_on_condition", "id": "EOC_ELECTROKIN_LEARNING_PARALYSIS", - "recurrence": [ "36 hours", "72 hours" ], + "recurrence": [ + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, @@ -350,7 +362,10 @@ { "type": "effect_on_condition", "id": "EOC_ELECTROKIN_LEARNING_REDUCE_PAIN", - "recurrence": [ "36 hours", "72 hours" ], + "recurrence": [ + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, @@ -442,7 +457,10 @@ { "type": "effect_on_condition", "id": "EOC_ELECTROKIN_LEARNING_LIGHTNING_BOLT", - "recurrence": [ "36 hours", "72 hours" ], + "recurrence": [ + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, @@ -534,7 +552,10 @@ { "type": "effect_on_condition", "id": "EOC_ELECTROKIN_LEARNING_RECHARGE_VEHICLE", - "recurrence": [ "36 hours", "72 hours" ], + "recurrence": [ + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, @@ -626,7 +647,10 @@ { "type": "effect_on_condition", "id": "EOC_ELECTROKIN_LEARNING_PAIN_IMMUNE", - "recurrence": [ "36 hours", "72 hours" ], + "recurrence": [ + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, @@ -705,7 +729,10 @@ { "type": "effect_on_condition", "id": "EOC_ELECTROKIN_LEARNING_SPEED_BOOST", - "recurrence": [ "36 hours", "72 hours" ], + "recurrence": [ + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, @@ -802,7 +829,10 @@ { "type": "effect_on_condition", "id": "EOC_ELECTROKIN_LEARNING_KILL_ROBOT", - "recurrence": [ "96 hours", "168 hours" ], + "recurrence": [ + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, @@ -895,7 +925,10 @@ { "type": "effect_on_condition", "id": "EOC_ELECTROKIN_LEARNING_LIGHTNING_AURA", - "recurrence": [ "96 hours", "168 hours" ], + "recurrence": [ + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, @@ -987,7 +1020,10 @@ { "type": "effect_on_condition", "id": "EOC_ELECTROKIN_LEARNING_LIGHTNING_BLAST", - "recurrence": [ "96 hours", "168 hours" ], + "recurrence": [ + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, @@ -1084,7 +1120,10 @@ { "type": "effect_on_condition", "id": "EOC_ELECTROKIN_LEARNING_REVIVE", - "recurrence": [ "96 hours", "168 hours" ], + "recurrence": [ + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_electrokinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, From eeb63c12c824bee1ba12498376921db4071725fc Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:00:46 -0500 Subject: [PATCH 05/27] Add learning variable initialization --- .../eoc_game_initialization.json | 34 ++++++++++++++----- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/data/mods/MindOverMatter/effectoncondition/eoc_game_initialization.json b/data/mods/MindOverMatter/effectoncondition/eoc_game_initialization.json index 113afb7ed12ac..4bcbab19b99d0 100644 --- a/data/mods/MindOverMatter/effectoncondition/eoc_game_initialization.json +++ b/data/mods/MindOverMatter/effectoncondition/eoc_game_initialization.json @@ -5,7 +5,7 @@ "eoc_type": "EVENT", "required_event": "game_start", "condition": { "u_has_trait": "BIOKINETIC" }, - "effect": [ { "math": [ "awakening_countup", "+=", "1" ] } ] + "effect": [ { "math": [ "u_awakening_countup", "+=", "1" ] } ] }, { "type": "effect_on_condition", @@ -13,7 +13,7 @@ "eoc_type": "EVENT", "required_event": "game_start", "condition": { "u_has_trait": "CLAIRSENTIENT" }, - "effect": [ { "math": [ "awakening_countup", "+=", "1" ] } ] + "effect": [ { "math": [ "u_awakening_countup", "+=", "1" ] } ] }, { "type": "effect_on_condition", @@ -21,7 +21,7 @@ "eoc_type": "EVENT", "required_event": "game_start", "condition": { "u_has_trait": "ELECTROKINETIC" }, - "effect": [ { "math": [ "awakening_countup", "+=", "1" ] } ] + "effect": [ { "math": [ "u_awakening_countup", "+=", "1" ] } ] }, { "type": "effect_on_condition", @@ -29,7 +29,7 @@ "eoc_type": "EVENT", "required_event": "game_start", "condition": { "u_has_trait": "PHOTOKINETIC" }, - "effect": [ { "math": [ "awakening_countup", "+=", "1" ] } ] + "effect": [ { "math": [ "u_awakening_countup", "+=", "1" ] } ] }, { "type": "effect_on_condition", @@ -37,7 +37,7 @@ "eoc_type": "EVENT", "required_event": "game_start", "condition": { "u_has_trait": "PYROKINETIC" }, - "effect": [ { "math": [ "awakening_countup", "+=", "1" ] } ] + "effect": [ { "math": [ "u_awakening_countup", "+=", "1" ] } ] }, { "type": "effect_on_condition", @@ -45,7 +45,7 @@ "eoc_type": "EVENT", "required_event": "game_start", "condition": { "u_has_trait": "TELEKINETIC" }, - "effect": [ { "math": [ "awakening_countup", "+=", "1" ] } ] + "effect": [ { "math": [ "u_awakening_countup", "+=", "1" ] } ] }, { "type": "effect_on_condition", @@ -53,7 +53,7 @@ "eoc_type": "EVENT", "required_event": "game_start", "condition": { "u_has_trait": "TELEPATH" }, - "effect": [ { "math": [ "awakening_countup", "+=", "1" ] } ] + "effect": [ { "math": [ "u_awakening_countup", "+=", "1" ] } ] }, { "type": "effect_on_condition", @@ -61,7 +61,7 @@ "eoc_type": "EVENT", "required_event": "game_start", "condition": { "u_has_trait": "TELEPORTER" }, - "effect": [ { "math": [ "awakening_countup", "+=", "1" ] } ] + "effect": [ { "math": [ "u_awakening_countup", "+=", "1" ] } ] }, { "type": "effect_on_condition", @@ -69,6 +69,22 @@ "eoc_type": "EVENT", "required_event": "game_start", "condition": { "u_has_trait": "VITAKINETIC" }, - "effect": [ { "math": [ "awakening_countup", "+=", "1" ] } ] + "effect": [ { "math": [ "u_awakening_countup", "+=", "1" ] } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_MOM_GAMESTART_POWER_LEARNING_VARIABLES", + "eoc_type": "EVENT", + "required_event": "game_start", + "effect": [ + { "math": [ "global_insight_power_learning_time_low", "=", "43200" ] }, + { "math": [ "global_insight_power_learning_time_high", "=", "604800" ] }, + { "math": [ "global_tier_one_power_learning_time_low", "=", "43200" ] }, + { "math": [ "global_tier_one_power_learning_time_high", "=", "86400" ] }, + { "math": [ "global_tier_two_power_learning_time_low", "=", "129600" ] }, + { "math": [ "global_tier_two_power_learning_time_high", "=", "259200" ] }, + { "math": [ "global_tier_three_power_learning_time_low", "=", "345600" ] }, + { "math": [ "global_tier_three_power_learning_time_high", "=", "604800" ] } + ] } ] From fa6905bdc0c3326686338ecfe2977139c433fdbb Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:03:24 -0500 Subject: [PATCH 06/27] Update recipe learning to account for new learning method --- .../effectoncondition/eoc_learn_recipes.json | 1194 ++++++++++++++--- 1 file changed, 1040 insertions(+), 154 deletions(-) diff --git a/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json b/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json index c57c26e31925f..f331f5d4b8ea7 100644 --- a/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json +++ b/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json @@ -1,195 +1,651 @@ [ + { + "type": "effect_on_condition", + "id": "EOC_BIOKIN_RECIPE_TEACHER", + "eoc_type": "EVENT", + "required_event": "game_begin", + "condition": { "u_has_trait": "BIOKINETIC" }, + "effect": [ { "run_eocs": "EOC_TEACH_BIOKIN_CONTEMPLATE_RECIPES" } ] + }, { "type": "effect_on_condition", "id": "EOC_TEACH_BIOKIN_CONTEMPLATE_RECIPES", - "effect": [ { "u_learn_recipe": "practice_biokin_physical_enhance" }, { "u_learn_recipe": "practice_biokin_overcome_pain" } ] + "effect": [ + { + "run_eocs": [ + "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_PHYSICAL_ENHANCE", + "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_OVERCOME_PAIN", + "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_BREATH_SKIN", + "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_DASH", + "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_FLEXIBILITY", + "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_ADRENALINE", + "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_ARMOR_SKIN", + "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_CLIMATE_CONTROL", + "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_ENHANCE_MOBILITY", + "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_HAMMERHAND", + "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_REFLEX_ENHANCE", + "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_SEALED_SYSTEM", + "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_METABOLISM_ENHANCE", + "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_COMBAT_DANCE", + "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_PERFECTED_MOTION", + "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_HURRICANE_BLOWS" + ] + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_PHYSICAL_ENHANCE", + "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, { "math": [ "u_spell_level('biokin_physical_enhance')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_biokin_physical_enhance" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_OVERCOME_PAIN", + "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, { "math": [ "u_spell_level('biokin_overcome_pain')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_biokin_overcome_pain" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_BREATH_SKIN", + "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, { "math": [ "u_spell_level('biokin_breathe_skin')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_biokin_breathe_skin" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_DASH", + "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, { "math": [ "u_spell_level('biokin_dash')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_biokin_dash" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_FLEXIBILITY", + "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, { "math": [ "u_spell_level('biokin_flexibility')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_biokin_flexibility" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_ADRENALINE", + "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, { "math": [ "u_spell_level('biokin_adrenaline')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_biokin_adrenaline" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_ARMOR_SKIN", + "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, { "math": [ "u_spell_level('biokin_armor_skin')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_biokin_armor_skin" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_CLIMATE_CONTROL", + "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, { "math": [ "u_spell_level('biokin_climate_control')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_biokin_climate_control" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_ENHANCE_MOBILITY", + "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, { "math": [ "u_spell_level('biokin_enhance_mobility')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_biokin_enhance_mobility" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_HAMMERHAND", + "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, { "math": [ "u_spell_level('biokin_hammerhand')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_biokin_hammerhand" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_REFLEX_ENHANCE", + "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, { "math": [ "u_spell_level('biokin_reflex_enhance')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_biokin_reflex_enhance" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_SEALED_SYSTEM", + "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, { "math": [ "u_spell_level('biokin_sealed_system')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_biokin_sealed_system" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_METABOLISM_ENHANCE", + "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, { "math": [ "u_spell_level('biokin_metabolism_enhance')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_biokin_metabolism_enhance" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_COMBAT_DANCE", + "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, { "math": [ "u_spell_level('biokin_combat_dance')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_biokin_combat_dance" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_PERFECTED_MOTION", + "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, { "math": [ "u_spell_level('biokin_perfected_motion')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_biokin_perfected_motion" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_BIOKIN_RECIPE_HURRICANE_BLOWS", + "condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, { "math": [ "u_spell_level('biokin_hurricane_blows')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_biokin_hurricane_blows" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CLAIR_RECIPE_TEACHER", + "eoc_type": "EVENT", + "required_event": "game_begin", + "condition": { "u_has_trait": "CLAIRSENTIENT" }, + "effect": [ { "run_eocs": "EOC_TEACH_CLAIR_CONTEMPLATE_RECIPES" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TEACH_CLAIR_CONTEMPLATE_RECIPES", + "effect": [ + { + "run_eocs": [ + "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_NIGHT_VISION", + "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_SPEED_READING", + "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_DANGER_SENSE", + "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_SPOT_WEAKNESS", + "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_AURA_SIGHT", + "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_RANGED_ENHANCE", + "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_VOYANCE", + "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_DODGE_POWER", + "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_CRAFT_BONUS", + "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_SEE_MAP", + "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_PERFECT_SHOT", + "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_CLEAR_SIGHT", + "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_GROUP_TACTICS", + "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_OMNISCIENCE" + ] + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_NIGHT_VISION", + "condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_night_vision')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_clair_night_vision" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_SPEED_READING", + "condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_speed_reading')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_clair_speed_reading" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_DANGER_SENSE", + "condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_danger_sense')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_clair_danger_sense" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_SPOT_WEAKNESS", + "condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_spot_weakness')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_clair_spot_weakness" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_AURA_SIGHT", + "condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_see_auras')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_clair_aura_sight" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_RANGED_ENHANCE", + "condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_ranged_enhance')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_clair_ranged_enhance" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_VOYANCE", + "condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_voyance')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_clair_voyance" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_DODGE_POWER", + "condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_dodge_power')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_clair_dodge_power" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_CRAFT_BONUS", + "condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_craft_bonus')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_clair_craft_bonus" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_SEE_MAP", + "condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_see_map')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_clair_see_map" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_PERFECT_SHOT", + "condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_perfect_shot')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_clair_perfect_shot" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_CLEAR_SIGHT", + "condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_clear_sight')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_clair_clear_sight" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_GROUP_TACTICS", + "condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_group_tactics')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_clair_group_tactics" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_CLAIR_RECIPE_OMNISCIENCE", + "condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "math": [ "u_spell_level('clair_omniscience')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_clair_omniscience" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_ELECTROKIN_RECIPE_TEACHER", + "eoc_type": "EVENT", + "required_event": "game_begin", + "condition": { "u_has_trait": "ELECTROKINETIC" }, + "effect": [ { "run_eocs": "EOC_TEACH_ELECTROKIN_CONTEMPLATE_RECIPES" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TEACH_ELECTROKIN_CONTEMPLATE_RECIPES", + "effect": [ + { + "run_eocs": [ + "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_SEE_ELECTRIC", + "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_SHOCK_TOUCH", + "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_ZAP_ENEMIES", + "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_MELEE_ATTACKS", + "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_PERSONAL_BATTERY", + "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_PARALYSIS", + "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_REDUCE_PAIN", + "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_LIGHTNING_BOLT", + "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_RECHARGE_VEHICLE", + "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_PAIN_IMMUNE", + "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_SPEED_BOOST", + "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_KILL_ROBOT", + "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_LIGHTNING_AURA", + "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_LIGHTNING_BLAST", + "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_REVIVE" + ] + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_SEE_ELECTRIC", + "condition": { + "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_see_electric')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_electrokinetic_see_electric" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_SHOCK_TOUCH", + "condition": { + "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_shock_touch')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_electrokinetic_shock_touch" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_ZAP_ENEMIES", + "condition": { + "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_zap_enemies')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_electrokinetic_zap_enemies" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_MELEE_ATTACKS", + "condition": { + "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_melee_attacks')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_electrokinetic_melee_attacks" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_PERSONAL_BATTERY", + "condition": { + "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_personal_battery')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_electrokinetic_personal_battery" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_PARALYSIS", + "condition": { + "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_paralysis')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_electrokinetic_paralysis" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_REDUCE_PAIN", + "condition": { + "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_reduce_pain')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_electrokinetic_reduce_pain" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_LIGHTNING_BOLT", + "condition": { + "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_lightning_bolt')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_electrokinetic_lightning_bolt" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_RECHARGE_VEHICLE", + "condition": { + "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_recharge_vehicle')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_electrokinetic_recharge_vehicle" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_PAIN_IMMUNE", + "condition": { + "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_pain_immune')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_electrokinetic_pain_immune" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_SPEED_BOOST", + "condition": { + "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_speed_boost')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_electrokinetic_speed_boost" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_KILL_ROBOT", + "condition": { + "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_kill_robot')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_electrokinetic_kill_robot" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_LIGHTNING_AURA", + "condition": { + "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_lightning_aura')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_electrokinetic_lightning_aura" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_LIGHTNING_BLAST", + "condition": { + "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_lightning_blast')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_electrokinetic_lightning_blast" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_ELECTROKIN_RECIPE_REVIVE", + "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_revive')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_electrokinetic_revive" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_PHOTOKIN_RECIPE_TEACHER", + "eoc_type": "EVENT", + "required_event": "game_begin", + "condition": { "u_has_trait": "PHOTOKINETIC" }, + "effect": [ { "run_eocs": "EOC_TEACH_PHOTOKIN_CONTEMPLATE_RECIPES" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TEACH_PHOTOKIN_CONTEMPLATE_RECIPES", + "effect": [ + { + "run_eocs": [ + "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_LIGHT_LOCAL", + "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_CREATE_LIGHT", + "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_SNUFF_LIGHT", + "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_LIGHT_DODGE", + "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_LIGHT_BEAM", + "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_CAMOUFLAGE", + "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_RAD_IMMUNITY", + "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_LIGHT_ARMS", + "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_HIDE_UGLY", + "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_LIGHT_IMAGE", + "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_RADIO", + "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_INVISIBILITY", + "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_LIGHT_FLASH", + "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_BLINDING_GLARE", + "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_LIGHT_DISINTEGRATE" + ] + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_LIGHT_LOCAL", + "condition": { "and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_light_local')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_photokinetic_light_local" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_CREATE_LIGHT", + "condition": { + "and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_create_light')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_photokinetic_create_light" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_SNUFF_LIGHT", + "condition": { "and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_snuff_light')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_photokinetic_snuff_light" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_LIGHT_DODGE", + "condition": { "and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_light_dodge')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_photokinetic_light_dodge" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_LIGHT_BEAM", + "condition": { "and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_light_beam')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_photokinetic_light_beam" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_CAMOUFLAGE", + "condition": { "and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_camouflage')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_photokinetic_camouflage" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_RAD_IMMUNITY", + "condition": { + "and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_rad_immunity')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_photokinetic_rad_immunity" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_LIGHT_ARMS", + "condition": { "and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_light_arms')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_photokinetic_light_arms" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_HIDE_UGLY", + "condition": { "and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_hide_ugly')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_photokinetic_hide_ugly" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_LIGHT_IMAGE", + "condition": { "and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_light_image')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_photokinetic_light_image" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_RADIO", + "condition": { "and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_radio')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_photokinetic_radio" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_INVISIBILITY", + "condition": { + "and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_invisibility')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_photokinetic_invisibility" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_LIGHT_FLASH", + "condition": { "and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_light_flash')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_photokinetic_light_flash" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_BLINDING_GLARE", + "condition": { + "and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_blinding_glare')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_photokinetic_light_blinding_glare" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_PHOTOKIN_RECIPE_LIGHT_DISINTEGRATE", + "condition": { + "and": [ { "u_has_trait": "PHOTOKINETIC" }, { "math": [ "u_spell_level('photokinetic_light_disintegrate')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_photokinetic_light_disintegrate" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_PYROKIN_RECIPE_TEACHER", + "eoc_type": "EVENT", + "required_event": "game_begin", + "condition": { "u_has_trait": "PYROKINETIC" }, + "effect": [ { "run_eocs": "EOC_TEACH_PYROKIN_CONTEMPLATE_RECIPES" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TEACH_PYROKIN_CONTEMPLATE_RECIPES", + "effect": [ + { + "run_eocs": [ + "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_ERUPTION", + "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_FLASH", + "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_CAUTERIZE", + "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_CALL_FLAMES", + "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_QUELL_FLAMES", + "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_CLOAK", + "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_LANCE", + "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_FLAMETHROWER", + "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_THERMOGENESIS", + "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_AURA", + "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_FLAME_IMMUNITY", + "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_BLAST", + "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_AOE_BLAST", + "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_INCINERATION" + ] + } + ] }, { "type": "effect_on_condition", - "id": "EOC_TEACH_CLAIR_CONTEMPLATE_RECIPES", - "effect": [ - { "u_learn_recipe": "practice_clair_night_vision" }, - { "u_learn_recipe": "practice_clair_danger_sense" }, - { "u_learn_recipe": "practice_clair_speed_reading" }, - { "u_learn_recipe": "practice_clair_aura_sight" }, - { "u_learn_recipe": "practice_clair_spot_weakness" }, - { "u_learn_recipe": "practice_clair_ranged_enhance" }, - { "u_learn_recipe": "practice_clair_voyance" }, - { "u_learn_recipe": "practice_clair_dodge_power" }, - { "u_learn_recipe": "practice_clair_craft_bonus" }, - { "u_learn_recipe": "practice_clair_see_map" }, - { "u_learn_recipe": "practice_clair_perfect_shot" }, - { "u_learn_recipe": "practice_clair_clear_sight" }, - { "u_learn_recipe": "practice_clair_group_tactics" }, - { "u_learn_recipe": "practice_clair_omniscience" } - ] + "id": "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_ERUPTION", + "condition": { "and": [ { "u_has_trait": "PYROKINETIC" }, { "math": [ "u_spell_level('pyrokinetic_eruption')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_pyrokinetic_eruption" } ] }, { "type": "effect_on_condition", - "id": "EOC_TEACH_ELECTROKIN_CONTEMPLATE_RECIPES", - "effect": [ - { "u_learn_recipe": "practice_electrokinetic_see_electric" }, - { "u_learn_recipe": "practice_electrokinetic_shock_touch" } - ] + "id": "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_FLASH", + "condition": { "and": [ { "u_has_trait": "PYROKINETIC" }, { "math": [ "u_spell_level('pyrokinetic_flash')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_pyrokinetic_flash" } ] }, { "type": "effect_on_condition", - "id": "EOC_TEACH_PHOTOKIN_CONTEMPLATE_RECIPES", - "effect": [ - { "u_learn_recipe": "practice_photokinetic_light_local" }, - { "u_learn_recipe": "practice_photokinetic_create_light" }, - { "u_learn_recipe": "practice_photokinetic_snuff_light" }, - { "u_learn_recipe": "practice_photokinetic_light_dodge" }, - { "u_learn_recipe": "practice_photokinetic_light_beam" }, - { "u_learn_recipe": "practice_photokinetic_camouflage" }, - { "u_learn_recipe": "practice_photokinetic_rad_immunity" }, - { "u_learn_recipe": "practice_photokinetic_light_arms" }, - { "u_learn_recipe": "practice_photokinetic_hide_ugly" }, - { "u_learn_recipe": "practice_photokinetic_light_image" }, - { "u_learn_recipe": "practice_photokinetic_radio" }, - { "u_learn_recipe": "practice_photokinetic_invisibility" }, - { "u_learn_recipe": "practice_photokinetic_light_flash" }, - { "u_learn_recipe": "practice_photokinetic_light_blinding_glare" }, - { "u_learn_recipe": "practice_photokinetic_light_disintegrate" } - ] + "id": "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_CAUTERIZE", + "condition": { "and": [ { "u_has_trait": "PYROKINETIC" }, { "math": [ "u_spell_level('pyrokinetic_cauterize')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_pyrokinetic_cauterize" } ] }, { "type": "effect_on_condition", - "id": "EOC_TEACH_PYROKIN_CONTEMPLATE_RECIPES", - "effect": [ - { "u_learn_recipe": "practice_pyrokinetic_flash" }, - { "u_learn_recipe": "practice_pyrokinetic_eruption" }, - { "u_learn_recipe": "practice_pyrokinetic_cauterize" }, - { "u_learn_recipe": "practice_pyrokinetic_call_flames" }, - { "u_learn_recipe": "practice_pyrokinetic_quell_flames" }, - { "u_learn_recipe": "practice_pyrokinetic_cloak" }, - { "u_learn_recipe": "practice_pyrokinetic_lance" }, - { "u_learn_recipe": "practice_pyrokinetic_thermogenesis" }, - { "u_learn_recipe": "practice_pyrokinetic_flamethrower" }, - { "u_learn_recipe": "practice_pyrokinetic_aura" }, - { "u_learn_recipe": "practice_pyrokinetic_flame_immunity" }, - { "u_learn_recipe": "practice_pyrokinetic_blast" }, - { "u_learn_recipe": "practice_pyrokinetic_aoe_blast" }, - { "u_learn_recipe": "practice_pyrokinetic_incineration" } - ] + "id": "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_CALL_FLAMES", + "condition": { "and": [ { "u_has_trait": "PYROKINETIC" }, { "math": [ "u_spell_level('pyrokinetic_call_flames')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_pyrokinetic_call_flames" } ] }, { "type": "effect_on_condition", - "id": "EOC_TEACH_TELEKIN_CONTEMPLATE_RECIPES", - "effect": [ - { "u_learn_recipe": "practice_telekinetic_pull" }, - { "u_learn_recipe": "practice_telekinetic_push" }, - { "u_learn_recipe": "practice_telekinetic_momentum" }, - { "u_learn_recipe": "practice_telekinetic_slowfall" }, - { "u_learn_recipe": "practice_telekinetic_wave" }, - { "u_learn_recipe": "practice_telekinetic_strength" }, - { "u_learn_recipe": "practice_telekinetic_hammer" }, - { "u_learn_recipe": "practice_telekinetic_vehicle_lift" }, - { "u_learn_recipe": "practice_telekinetic_shield" }, - { "u_learn_recipe": "practice_telekinetic_explosion" }, - { "u_learn_recipe": "practice_telekinetic_levitation" }, - { "u_learn_recipe": "practice_telekinetic_aegis" }, - { "u_learn_recipe": "practice_telekinetic_earthshaker" }, - { "u_learn_recipe": "improve_telekinesis_lifting_field" } - ] + "id": "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_QUELL_FLAMES", + "condition": { "and": [ { "u_has_trait": "PYROKINETIC" }, { "math": [ "u_spell_level('pyrokinetic_quell_flames')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_pyrokinetic_quell_flames" } ] }, { "type": "effect_on_condition", - "id": "EOC_TEACH_TELEPATH_CONTEMPLATE_RECIPES", - "effect": [ - { "u_learn_recipe": "practice_telepathic_concentration" }, - { "u_learn_recipe": "practice_telepathic_shield" }, - { "u_learn_recipe": "practice_telepathic_morale" }, - { "u_learn_recipe": "practice_telepathic_mind_sense" }, - { "u_learn_recipe": "practice_telepathic_blast" }, - { "u_learn_recipe": "practice_telepathic_beastmaster" }, - { "u_learn_recipe": "practice_telepathic_confusion" }, - { "u_learn_recipe": "practice_telepathic_invisibility" }, - { "u_learn_recipe": "practice_telepathic_fear" }, - { "u_learn_recipe": "practice_telepathic_scream" }, - { "u_learn_recipe": "practice_telepathic_beast_taming" }, - { "u_learn_recipe": "practice_telepathic_mind_control" }, - { "u_learn_recipe": "practice_telepathic_network" } - ] + "id": "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_CLOAK", + "condition": { "and": [ { "u_has_trait": "PYROKINETIC" }, { "math": [ "u_spell_level('pyrokinetic_cloak')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_pyrokinetic_cloak" } ] }, { "type": "effect_on_condition", - "id": "EOC_TEACH_TELEPORT_CONTEMPLATE_RECIPES", - "effect": [ - { "u_learn_recipe": "practice_teleport_blink" }, - { "u_learn_recipe": "practice_teleport_slow" }, - { "u_learn_recipe": "practice_teleport_stride" }, - { "u_learn_recipe": "practice_teleport_phase" }, - { "u_learn_recipe": "practice_teleport_transpose" }, - { "u_learn_recipe": "practice_teleport_displacement" }, - { "u_learn_recipe": "practice_teleport_farstep" }, - { "u_learn_recipe": "practice_teleport_collapse" }, - { "u_learn_recipe": "practice_teleport_gateway" }, - { "u_learn_recipe": "practice_teleport_banish" }, - { "u_learn_recipe": "practice_teleport_breach" } - ] + "id": "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_LANCE", + "condition": { "and": [ { "u_has_trait": "PYROKINETIC" }, { "math": [ "u_spell_level('pyrokinetic_lance')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_pyrokinetic_lance" } ] }, { "type": "effect_on_condition", - "id": "EOC_TEACH_VITAKIN_CONTEMPLATE_RECIPES", - "effect": [ - { "u_learn_recipe": "practice_vita_health_power" }, - { "u_learn_recipe": "practice_vita_stop_bleeding" }, - { "u_learn_recipe": "practice_vita_healing_touch" }, - { "u_learn_recipe": "practice_vita_remove_poison" }, - { "u_learn_recipe": "practice_vita_hurt_touch" }, - { "u_learn_recipe": "practice_vita_cure_disease" }, - { "u_learn_recipe": "practice_vita_sleeping_trance" }, - { "u_learn_recipe": "practice_vita_pain_split" }, - { "u_learn_recipe": "practice_vita_stop_infection" }, - { "u_learn_recipe": "practice_vita_healing_trance" }, - { "u_learn_recipe": "practice_vita_attack_touch" }, - { "u_learn_recipe": "practice_vita_blood_purge" }, - { "u_learn_recipe": "practice_vita_banish_illness" }, - { "u_learn_recipe": "practice_vita_super_heal" }, - { "u_learn_recipe": "practice_vita_limb_restore" }, - { "u_learn_recipe": "practice_vita_return_from_death" } - ] + "id": "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_FLAMETHROWER", + "condition": { "and": [ { "u_has_trait": "PYROKINETIC" }, { "math": [ "u_spell_level('pyrokinetic_flamethrower')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_pyrokinetic_flamethrower" } ] }, { "type": "effect_on_condition", - "id": "EOC_BIOKIN_RECIPE_TEACHER", - "eoc_type": "EVENT", - "required_event": "game_begin", - "condition": { "u_has_trait": "BIOKINETIC" }, - "effect": [ { "queue_eocs": "EOC_TEACH_BIOKIN_CONTEMPLATE_RECIPES", "time_in_future": [ "1 seconds", "1 seconds" ] } ] + "id": "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_THERMOGENESIS", + "condition": { "and": [ { "u_has_trait": "PYROKINETIC" }, { "math": [ "u_spell_level('pyrokinetic_thermogenesis')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_pyrokinetic_thermogenesis" } ] }, { "type": "effect_on_condition", - "id": "EOC_CLAIR_RECIPE_TEACHER", - "eoc_type": "EVENT", - "required_event": "game_begin", - "condition": { "u_has_trait": "CLAIRSENTIENT" }, - "effect": [ { "queue_eocs": "EOC_TEACH_CLAIR_CONTEMPLATE_RECIPES", "time_in_future": [ "10 seconds", "15 seconds" ] } ] + "id": "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_AURA", + "condition": { "and": [ { "u_has_trait": "PYROKINETIC" }, { "math": [ "u_spell_level('pyrokinetic_aura')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_pyrokinetic_aura" } ] }, { "type": "effect_on_condition", - "id": "EOC_ELECTROKIN_RECIPE_TEACHER", - "eoc_type": "EVENT", - "required_event": "game_begin", - "condition": { "u_has_trait": "ELECTROKINETIC" }, - "effect": [ { "queue_eocs": "EOC_TEACH_ELECTROKIN_CONTEMPLATE_RECIPES", "time_in_future": [ "1 seconds", "1 seconds" ] } ] + "id": "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_FLAME_IMMUNITY", + "condition": { + "and": [ { "u_has_trait": "PYROKINETIC" }, { "math": [ "u_spell_level('pyrokinetic_flame_immunity')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_pyrokinetic_flame_immunity" } ] }, { "type": "effect_on_condition", - "id": "EOC_PHOTOKIN_RECIPE_TEACHER", - "eoc_type": "EVENT", - "required_event": "game_begin", - "condition": { "u_has_trait": "PHOTOKINETIC" }, - "effect": [ { "queue_eocs": "EOC_TEACH_PHOTOKIN_CONTEMPLATE_RECIPES", "time_in_future": [ "10 seconds", "15 seconds" ] } ] + "id": "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_BLAST", + "condition": { "and": [ { "u_has_trait": "PYROKINETIC" }, { "math": [ "u_spell_level('pyrokinetic_blast')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_pyrokinetic_blast" } ] }, { "type": "effect_on_condition", - "id": "EOC_PYROKIN_RECIPE_TEACHER", - "eoc_type": "EVENT", - "required_event": "game_begin", - "condition": { "u_has_trait": "PYROKINETIC" }, - "effect": [ { "queue_eocs": "EOC_TEACH_PYROKIN_CONTEMPLATE_RECIPES", "time_in_future": [ "10 seconds", "15 seconds" ] } ] + "id": "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_AOE_BLAST", + "condition": { "and": [ { "u_has_trait": "PYROKINETIC" }, { "math": [ "u_spell_level('pyrokinetic_aoe_blast')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_pyrokinetic_aoe_blast" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_PYROKIN_RECIPE_INCINERATION", + "condition": { "and": [ { "u_has_trait": "PYROKINETIC" }, { "math": [ "u_spell_level('pyrokinetic_incineration')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_pyrokinetic_incineration" } ] }, { "type": "effect_on_condition", @@ -197,7 +653,115 @@ "eoc_type": "EVENT", "required_event": "game_begin", "condition": { "u_has_trait": "TELEKINETIC" }, - "effect": [ { "queue_eocs": "EOC_TEACH_TELEKIN_CONTEMPLATE_RECIPES", "time_in_future": [ "10 seconds", "15 seconds" ] } ] + "effect": [ { "run_eocs": "EOC_TEACH_TELEKIN_CONTEMPLATE_RECIPES" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TEACH_TELEKIN_CONTEMPLATE_RECIPES", + "effect": [ + { + "run_eocs": [ + "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_PUSH", + "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_PULL", + "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_SLAM_DOWN", + "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_MOMENTUM", + "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_SLOWFALL", + "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_WAVE", + "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_STRENGTH", + "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_HAMMER", + "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_VEHICLE_LIFT", + "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_SHIELD", + "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_EXPLOSION", + "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_LEVITATION", + "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_AEGIS", + "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_EARTHSHAKER" + ] + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_PUSH", + "condition": { "and": [ { "u_has_trait": "TELEKINETIC" }, { "math": [ "u_spell_level('telekinetic_push')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telekinetic_push" }, { "u_learn_recipe": "improve_telekinesis_lifting_field" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_PULL", + "condition": { "and": [ { "u_has_trait": "TELEKINETIC" }, { "math": [ "u_spell_level('telekinetic_pull')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telekinetic_pull" }, { "u_learn_recipe": "improve_telekinesis_lifting_field" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_SLAM_DOWN", + "condition": { "and": [ { "u_has_trait": "TELEKINETIC" }, { "math": [ "u_spell_level('telekinetic_slam_down')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telekinetic_slam_down" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_MOMENTUM", + "condition": { "and": [ { "u_has_trait": "TELEKINETIC" }, { "math": [ "u_spell_level('telekinetic_momentum')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telekinetic_momentum" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_SLOWFALL", + "condition": { "and": [ { "u_has_trait": "TELEKINETIC" }, { "math": [ "u_spell_level('telekinetic_slowfall')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telekinetic_slowfall" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_WAVE", + "condition": { "and": [ { "u_has_trait": "TELEKINETIC" }, { "math": [ "u_spell_level('telekinetic_wave')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telekinetic_wave" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_STRENGTH", + "condition": { "and": [ { "u_has_trait": "TELEKINETIC" }, { "math": [ "u_spell_level('telekinetic_strength')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telekinetic_strength" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_HAMMER", + "condition": { "and": [ { "u_has_trait": "TELEKINETIC" }, { "math": [ "u_spell_level('telekinetic_hammer')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telekinetic_hammer" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_VEHICLE_LIFT", + "condition": { "and": [ { "u_has_trait": "TELEKINETIC" }, { "math": [ "u_spell_level('telekinetic_vehicle_lift')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telekinetic_vehicle_lift" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_SHIELD", + "condition": { "and": [ { "u_has_trait": "TELEKINETIC" }, { "math": [ "u_spell_level('telekinetic_shield')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telekinetic_shield" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_EXPLOSION", + "condition": { "and": [ { "u_has_trait": "TELEKINETIC" }, { "math": [ "u_spell_level('telekinetic_explosion')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telekinetic_explosion" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_LEVITATION", + "condition": { "and": [ { "u_has_trait": "TELEKINETIC" }, { "math": [ "u_spell_level('telekinetic_levitation')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telekinetic_levitation" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_AEGIS", + "condition": { "and": [ { "u_has_trait": "TELEKINETIC" }, { "math": [ "u_spell_level('telekinetic_aegis')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telekinetic_aegis" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEKIN_RECIPE_EARTHSHAKER", + "condition": { "and": [ { "u_has_trait": "TELEKINETIC" }, { "math": [ "u_spell_level('telekinetic_earthshaker')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telekinetic_earthshaker" } ] }, { "type": "effect_on_condition", @@ -205,7 +769,110 @@ "eoc_type": "EVENT", "required_event": "game_begin", "condition": { "u_has_trait": "TELEPATH" }, - "effect": [ { "queue_eocs": "EOC_TEACH_TELEPATH_CONTEMPLATE_RECIPES", "time_in_future": [ "10 seconds", "15 seconds" ] } ] + "effect": [ { "run_eocs": "EOC_TEACH_TELEPATH_CONTEMPLATE_RECIPES" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TEACH_TELEPATH_CONTEMPLATE_RECIPES", + "effect": [ + { + "run_eocs": [ + "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_CONCENTRATION", + "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_SHIELD", + "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_MORALE", + "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_MIND_SENSE", + "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_BLAST", + "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_ANIMAL_MIND_CONTROL", + "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_CONFUSION", + "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_INVISIBILITY", + "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_FEAR", + "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_BLAST_RADIUS", + "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_BEAST_TAMING", + "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_MIND_CONTROL", + "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_NETWORK" + ] + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_CONCENTRATION", + "condition": { "and": [ { "u_has_trait": "TELEPATH" }, { "math": [ "u_spell_level('telepathic_concentration')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telepathic_concentration" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_SHIELD", + "condition": { "and": [ { "u_has_trait": "TELEPATH" }, { "math": [ "u_spell_level('telepathic_shield')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telepathic_shield" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_MORALE", + "condition": { "and": [ { "u_has_trait": "TELEPATH" }, { "math": [ "u_spell_level('telepathic_morale')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telepathic_morale" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_MIND_SENSE", + "condition": { "and": [ { "u_has_trait": "TELEPATH" }, { "math": [ "u_spell_level('telepathic_mind_sense')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telepathic_mind_sense" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_BLAST", + "condition": { "and": [ { "u_has_trait": "TELEPATH" }, { "math": [ "u_spell_level('telepathic_blast')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telepathic_blast" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_ANIMAL_MIND_CONTROL", + "condition": { + "and": [ { "u_has_trait": "TELEPATH" }, { "math": [ "u_spell_level('telepathic_animal_mind_control')", ">=", "0" ] } ] + }, + "effect": [ { "u_learn_recipe": "practice_telepathic_beastmaster" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_CONFUSION", + "condition": { "and": [ { "u_has_trait": "TELEPATH" }, { "math": [ "u_spell_level('telepathic_confusion')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telepathic_confusion" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_INVISIBILITY", + "condition": { "and": [ { "u_has_trait": "TELEPATH" }, { "math": [ "u_spell_level('telepathic_invisibility')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telepathic_invisibility" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_FEAR", + "condition": { "and": [ { "u_has_trait": "TELEPATH" }, { "math": [ "u_spell_level('telepathic_fear')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telepathic_fear" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_BLAST_RADIUS", + "condition": { "and": [ { "u_has_trait": "TELEPATH" }, { "math": [ "u_spell_level('telepathic_blast_radius')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telepathic_scream" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_BEAST_TAMING", + "condition": { "and": [ { "u_has_trait": "TELEPATH" }, { "math": [ "u_spell_level('telepathic_beast_taming')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telepathic_beast_taming" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_MIND_CONTROL", + "condition": { "and": [ { "u_has_trait": "TELEPATH" }, { "math": [ "u_spell_level('telepathic_mind_control')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telepathic_mind_control" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPATH_RECIPE_NETWORK", + "condition": { "and": [ { "u_has_trait": "TELEPATH" }, { "math": [ "u_spell_level('telepathic_network')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_telepathic_network" } ] }, { "type": "effect_on_condition", @@ -213,7 +880,94 @@ "eoc_type": "EVENT", "required_event": "game_begin", "condition": { "u_has_trait": "TELEPORTER" }, - "effect": [ { "queue_eocs": "EOC_TEACH_TELEPORT_CONTEMPLATE_RECIPES", "time_in_future": [ "10 seconds", "15 seconds" ] } ] + "effect": [ { "run_eocs": "EOC_TEACH_TELEPORT_CONTEMPLATE_RECIPES" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TEACH_TELEPORT_CONTEMPLATE_RECIPES", + "effect": [ + { + "run_eocs": [ + "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_BLINK", + "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_SLOW", + "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_PHASE", + "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_STRIDE", + "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_TRANSPOSE", + "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_DISPLACEMENT", + "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_COLLAPSE", + "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_FARSTEP", + "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_BANISH", + "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_GATEWAY", + "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_BREACH" + ] + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_BLINK", + "condition": { "and": [ { "u_has_trait": "TELEPORTER" }, { "math": [ "u_spell_level('teleport_blink')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_teleport_blink" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_SLOW", + "condition": { "and": [ { "u_has_trait": "TELEPORTER" }, { "math": [ "u_spell_level('teleport_slow')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_teleport_slow" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_PHASE", + "condition": { "and": [ { "u_has_trait": "TELEPORTER" }, { "math": [ "u_spell_level('teleport_phase')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_teleport_phase" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_STRIDE", + "condition": { "and": [ { "u_has_trait": "TELEPORTER" }, { "math": [ "u_spell_level('teleport_stride')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_teleport_stride" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_TRANSPOSE", + "condition": { "and": [ { "u_has_trait": "TELEPORTER" }, { "math": [ "u_spell_level('teleport_transpose')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_teleport_transpose" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_DISPLACEMENT", + "condition": { "and": [ { "u_has_trait": "TELEPORTER" }, { "math": [ "u_spell_level('teleport_displacement')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_teleport_displacement" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_COLLAPSE", + "condition": { "and": [ { "u_has_trait": "TELEPORTER" }, { "math": [ "u_spell_level('teleport_collapse')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_teleport_collapse" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_FARSTEP", + "condition": { "and": [ { "u_has_trait": "TELEPORTER" }, { "math": [ "u_spell_level('teleport_farstep')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_teleport_farstep" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_BANISH", + "condition": { "and": [ { "u_has_trait": "TELEPORTER" }, { "math": [ "u_spell_level('teleport_banish')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_teleport_banish" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_GATEWAY", + "condition": { "and": [ { "u_has_trait": "TELEPORTER" }, { "math": [ "u_spell_level('teleport_gateway')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_teleport_gateway" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_TELEPORTER_RECIPE_BREACH", + "condition": { "and": [ { "u_has_trait": "TELEPORTER" }, { "math": [ "u_spell_level('teleport_breach')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_teleport_breach" } ] }, { "type": "effect_on_condition", @@ -221,12 +975,144 @@ "eoc_type": "EVENT", "required_event": "game_begin", "condition": { "u_has_trait": "VITAKINETIC" }, - "effect": [ { "queue_eocs": "EOC_TEACH_VITAKIN_CONTEMPLATE_RECIPES", "time_in_future": [ "10 seconds", "15 seconds" ] } ] + "effect": [ { "run_eocs": "EOC_TEACH_VITAKIN_CONTEMPLATE_RECIPES" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TEACH_VITAKIN_CONTEMPLATE_RECIPES", + "effect": [ + { + "run_eocs": [ + "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_SLOW_BLEEDING", + "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_HEALTH_POWER", + "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_STOP_BLEEDING", + "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_HURT_TOUCH", + "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_HEALING_TOUCH", + "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_REMOVE_POISON", + "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_CURE_DISEASE", + "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_SLEEPING_TRANCE", + "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_PAIN_SPLIT", + "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_STOP_INFECTION", + "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_HEALING_TRANCE", + "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_ATTACK_TOUCH", + "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_BLOOD_PURGE", + "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_BANISH_ILLNESS", + "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_SUPER_HEAL", + "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_LIMB_RESTORE", + "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_RETURN_FROM_DEATH" + ] + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_SLOW_BLEEDING", + "condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "math": [ "u_spell_level('vita_slow_bleeding')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_vita_slow_bleeding" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_HEALTH_POWER", + "condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "math": [ "u_spell_level('vita_health_power')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_vita_health_power" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_STOP_BLEEDING", + "condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "math": [ "u_spell_level('vita_stop_bleeding')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_vita_stop_bleeding" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_HURT_TOUCH", + "condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "math": [ "u_spell_level('vita_hurt_touch')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_vita_hurt_touch" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_HEALING_TOUCH", + "condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "math": [ "u_spell_level('vita_health_power_ally')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_vita_healing_touch" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_REMOVE_POISON", + "condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "math": [ "u_spell_level('vita_remove_poison')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_vita_remove_poison" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_CURE_DISEASE", + "condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "math": [ "u_spell_level('vita_cure_disease')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_vita_cure_disease" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_SLEEPING_TRANCE", + "condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "math": [ "u_spell_level('vita_sleeping_trance')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_vita_sleeping_trance" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_PAIN_SPLIT", + "condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "math": [ "u_spell_level('vita_pain_split')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_vita_pain_split" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_STOP_INFECTION", + "condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "math": [ "u_spell_level('vita_stop_infection')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_vita_stop_infection" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_HEALING_TRANCE", + "condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "math": [ "u_spell_level('vita_healing_trance')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_vita_healing_trance" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_ATTACK_TOUCH", + "condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "math": [ "u_spell_level('vita_attack_touch')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_vita_attack_touch" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_BLOOD_PURGE", + "condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "math": [ "u_spell_level('vita_blood_purge')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_vita_blood_purge" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_BANISH_ILLNESS", + "condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "math": [ "u_spell_level('vita_banish_illness')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_vita_banish_illness" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_SUPER_HEAL", + "condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "math": [ "u_spell_level('vita_super_heal')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_vita_super_heal" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_LIMB_RESTORE", + "condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "math": [ "u_spell_level('vita_limb_restore')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_vita_limb_restore" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_CHECK_GAMEBEGIN_VITAKIN_RECIPE_RETURN_FROM_DEATH", + "condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "math": [ "u_spell_level('vita_return_from_death')", ">=", "0" ] } ] }, + "effect": [ { "u_learn_recipe": "practice_vita_return_from_death" } ] }, { "type": "effect_on_condition", "id": "EOC_PSI_LEARNING_VITAMIN_COUNTER", - "recurrence": [ "12 hours", "168 hours" ], + "recurrence": [ + { "math": [ "jmath_psi_learning_counter_time_low(global_insight_power_learning_time_low)" ] }, + { "math": [ "jmath_psi_learning_counter_time_high(global_insight_power_learning_time_high)" ] } + ], "condition": { "and": [ { From ea2f0978bd6936be8c9e76f247eb374f15b54284 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:04:19 -0500 Subject: [PATCH 07/27] Update night vision values --- .../effects/effects_psionic.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/data/mods/MindOverMatter/effects/effects_psionic.json b/data/mods/MindOverMatter/effects/effects_psionic.json index 08a200c80c2ef..3856f1550cf1e 100644 --- a/data/mods/MindOverMatter/effects/effects_psionic.json +++ b/data/mods/MindOverMatter/effects/effects_psionic.json @@ -550,7 +550,7 @@ "rating": "good", "max_duration": "7 days" }, - { + { "type": "effect_type", "id": "effect_clair_night_eyes_1", "name": [ "Night Eyes" ], @@ -564,7 +564,7 @@ "rating": "good", "max_duration": "7 days", "max_intensity": 106, - "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 3 } ], + "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 2 } ], "flags": [ "EFFECT_LIMB_SCORE_MOD" ] }, { @@ -581,7 +581,7 @@ "rating": "good", "max_duration": "7 days", "max_intensity": 106, - "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 5 } ], + "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 4 } ], "flags": [ "EFFECT_LIMB_SCORE_MOD" ] }, { @@ -598,7 +598,7 @@ "rating": "good", "max_duration": "7 days", "max_intensity": 106, - "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 7 } ], + "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 6 } ], "flags": [ "EFFECT_LIMB_SCORE_MOD" ] }, { @@ -615,7 +615,7 @@ "rating": "good", "max_duration": "7 days", "max_intensity": 106, - "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 9 } ], + "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 8 } ], "flags": [ "EFFECT_LIMB_SCORE_MOD" ] }, { @@ -632,7 +632,7 @@ "rating": "good", "max_duration": "7 days", "max_intensity": 106, - "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 11 } ], + "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 10 } ], "flags": [ "EFFECT_LIMB_SCORE_MOD" ] }, { @@ -649,7 +649,7 @@ "rating": "good", "max_duration": "7 days", "max_intensity": 106, - "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 13 } ], + "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 12 } ], "flags": [ "EFFECT_LIMB_SCORE_MOD" ] }, { @@ -666,7 +666,7 @@ "rating": "good", "max_duration": "7 days", "max_intensity": 106, - "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 15 } ], + "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 14 } ], "flags": [ "EFFECT_LIMB_SCORE_MOD" ] }, { @@ -683,7 +683,7 @@ "rating": "good", "max_duration": "7 days", "max_intensity": 106, - "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 17 } ], + "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 16 } ], "flags": [ "EFFECT_LIMB_SCORE_MOD" ] }, { From 8ea8a61f6dbf94d9d6ca078dbfa57a6870d57172 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:05:44 -0500 Subject: [PATCH 08/27] rng to rand --- .../powers/nether_attunement_spells.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/data/mods/MindOverMatter/powers/nether_attunement_spells.json b/data/mods/MindOverMatter/powers/nether_attunement_spells.json index 04be52af52767..40bb875049594 100644 --- a/data/mods/MindOverMatter/powers/nether_attunement_spells.json +++ b/data/mods/MindOverMatter/powers/nether_attunement_spells.json @@ -24,11 +24,11 @@ "condition": { "u_has_effect": "effect_noetic_resilience" }, "effect": [ { "u_message": "You feel a strange tingling sensation as your powers are unleashed.", "type": "mixed" }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,1 )" ] } + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rand(1)" ] } ], "false_effect": [ { "u_message": "You feel a strange tingling sensation as your powers are unleashed.", "type": "mixed" }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,3 )" ] } + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rand(3)" ] } ] }, { @@ -37,11 +37,11 @@ "condition": { "u_has_effect": "effect_noetic_resilience" }, "effect": [ { "u_message": "You feel a strange tingling sensation as your powers are unleashed.", "type": "mixed" }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,3 ) * u_nether_attunement_power_scaling" ] } + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rand(3) * u_nether_attunement_power_scaling" ] } ], "false_effect": [ { "u_message": "You feel a strange tingling sensation as your powers are unleashed.", "type": "mixed" }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 2,6 ) * u_nether_attunement_power_scaling" ] } + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "(rand(5) + 2) * u_nether_attunement_power_scaling" ] } ] }, { @@ -292,11 +292,11 @@ "condition": { "u_has_effect": "effect_noetic_resilience" }, "effect": [ { "u_message": "You feel a strange tingling sensation as you concentrate.", "type": "mixed" }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,1 )" ] } + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rand(1)" ] } ], "false_effect": [ { "u_message": "You feel a strange tingling sensation as you concentrate.", "type": "mixed" }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,3 )" ] } + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rand(3)" ] } ] }, { @@ -305,11 +305,11 @@ "condition": { "u_has_effect": "effect_noetic_resilience" }, "effect": [ { "u_message": "You feel a strange tingling sensation as you concentrate.", "type": "mixed" }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,3 ) * u_nether_attunement_power_scaling" ] } + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rand(3) * u_nether_attunement_power_scaling" ] } ], "false_effect": [ { "u_message": "You feel a strange tingling sensation as you concentrate.", "type": "mixed" }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 2,6 ) * u_nether_attunement_power_scaling" ] } + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "(rand(5) + 2) * u_nether_attunement_power_scaling" ] } ] }, { From 6d29c445eefe284ded8f3b51092abe3884886a80 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:07:28 -0500 Subject: [PATCH 09/27] rng to rand --- .../effectoncondition/eoc_nether_attunement_events.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/mods/MindOverMatter/effectoncondition/eoc_nether_attunement_events.json b/data/mods/MindOverMatter/effectoncondition/eoc_nether_attunement_events.json index 91964a24fc621..c1a5be35b93b3 100644 --- a/data/mods/MindOverMatter/effectoncondition/eoc_nether_attunement_events.json +++ b/data/mods/MindOverMatter/effectoncondition/eoc_nether_attunement_events.json @@ -290,7 +290,7 @@ }, "effect": [ { "u_message": "As you unleash your powers, you feel a strange tingling sensation.", "type": "mixed" }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 2,6 )" ] } + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rand(5) + 2" ] } ] }, { @@ -650,7 +650,7 @@ "effect": [ { "u_message": "psi_nether_attention_nightmares", "snippet": true, "type": "bad" }, { "u_add_morale": "morale_nightmare", "bonus": [ -15, -30 ], "max_bonus": -30 }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 3,9 )" ] } + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rand(7) + 3" ] } ] }, { From a08a5ae7baa720673e596c2b362ffb997420dda1 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:08:25 -0500 Subject: [PATCH 10/27] Update proficiencies.json --- .../MindOverMatter/recipes/proficiencies.json | 87 +++++++++++++++++-- 1 file changed, 81 insertions(+), 6 deletions(-) diff --git a/data/mods/MindOverMatter/recipes/proficiencies.json b/data/mods/MindOverMatter/recipes/proficiencies.json index 12d1090285055..9158bae231732 100644 --- a/data/mods/MindOverMatter/recipes/proficiencies.json +++ b/data/mods/MindOverMatter/recipes/proficiencies.json @@ -51,24 +51,99 @@ "id": "prof_contemplation_biokinesis", "category": "prof_contemplation", "name": { "str": "Biokinetic Insight" }, - "description": "You have an understanding on how biokinesis functions and unlocking new powers is easier for you.", + "description": "You have an understanding of how biokinesis 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" + "time_to_learn": "32 h" + }, + { + "type": "proficiency", + "id": "prof_contemplation_clairsentience", + "category": "prof_contemplation", + "name": { "str": "Clairsentient Insight" }, + "description": "You have an understanding of how clairsentience 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": "32 h" }, { "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.", + "description": "You have an understanding of 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": "32 h" + }, + { + "type": "proficiency", + "id": "prof_contemplation_photokinesis", + "category": "prof_contemplation", + "name": { "str": "Photokinetic Insight" }, + "description": "You have an understanding of how photokinesis 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": "32 h" + }, + { + "type": "proficiency", + "id": "prof_contemplation_pyrokinesis", + "category": "prof_contemplation", + "name": { "str": "Pyrokinetic Insight" }, + "description": "You have an understanding of how pyrokinesis 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": "32 h" + }, + { + "type": "proficiency", + "id": "prof_contemplation_telekinesis", + "category": "prof_contemplation", + "name": { "str": "Telekinetic Insight" }, + "description": "You have an understanding of how telekinesis 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": "32 h" + }, + { + "type": "proficiency", + "id": "prof_contemplation_telepathy", + "category": "prof_contemplation", + "name": { "str": "Telepathic Insight" }, + "description": "You have an understanding of how telepathy 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": "32 h" + }, + { + "type": "proficiency", + "id": "prof_contemplation_teleportation", + "category": "prof_contemplation", + "name": { "str": "Teleportation Insight" }, + "description": "You have an understanding of how teleportation 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": "32 h" + }, + { + "type": "proficiency", + "id": "prof_contemplation_vitakinesis", + "category": "prof_contemplation", + "name": { "str": "Vitakinetic Insight" }, + "description": "You have an understanding of how vitakinesis 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" + "time_to_learn": "32 h" }, { "type": "proficiency_category", From ee437e6814da31eff540f7d52c092f2a6dc4bd1f Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:09:13 -0500 Subject: [PATCH 11/27] Rename update for jmath to electrokinesis.json --- .../learning_eocs/{update for jmath => electrokinesis.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename data/mods/MindOverMatter/powers/learning_eocs/{update for jmath => electrokinesis.json} (100%) diff --git a/data/mods/MindOverMatter/powers/learning_eocs/update for jmath b/data/mods/MindOverMatter/powers/learning_eocs/electrokinesis.json similarity index 100% rename from data/mods/MindOverMatter/powers/learning_eocs/update for jmath rename to data/mods/MindOverMatter/powers/learning_eocs/electrokinesis.json From 496eafe57bb75c2c1b575695dee34e4c94e777dc Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:10:14 -0500 Subject: [PATCH 12/27] Add learning recipes --- .../practice/clairsentient_practice.json | 1016 +++++++++++------ 1 file changed, 664 insertions(+), 352 deletions(-) diff --git a/data/mods/MindOverMatter/recipes/practice/clairsentient_practice.json b/data/mods/MindOverMatter/recipes/practice/clairsentient_practice.json index 58874652911d0..5203306ee390d 100644 --- a/data/mods/MindOverMatter/recipes/practice/clairsentient_practice.json +++ b/data/mods/MindOverMatter/recipes/practice/clairsentient_practice.json @@ -40,47 +40,27 @@ "difficulty": 0, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_clairsentience", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_clairsentience", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_CLAIR_NIGHT_VISION", - "condition": { - "and": [ - { "math": [ "u_spell_level('clair_night_vision')", ">=", "1" ] }, - { "math": [ "u_spell_exp('clair_night_vision')", "<=", "(difficulty_one_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('clair_night_vision')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('clair_night_vision')", "+=", "(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_CLAIR_NIGHT_VISION_FALSE", - "condition": { "math": [ "u_spell_level('clair_night_vision')", ">=", "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: danger sense", + "name": "contemplation: premonition", "id": "practice_clair_danger_sense", "description": "Contemplate your powers and improve your sense of nearby danger.", "category": "CC_*", @@ -89,40 +69,71 @@ "difficulty": 1, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_clairsentience", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_clairsentience", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_CLAIR_DANGER_SENSE", - "condition": { - "and": [ - { "math": [ "u_spell_level('clair_danger_sense')", ">=", "1" ] }, - { "math": [ "u_spell_exp('clair_danger_sense')", "<=", "(difficulty_two_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('clair_danger_sense')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('clair_danger_sense')", "+=", "(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_CLAIR_DANGER_SENSE_FALSE", - "condition": { "math": [ "u_spell_level('clair_danger_sense')", ">=", "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_CLAIR_DANGER_SENSE_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_CLAIR_DANGER_SENSE_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_CLAIR_DANGER_SENSE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_clairsentience')" ] }, + "difficulty": 6 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Premonition power.", + "popup": true + }, + { "math": [ "u_spell_level('clair_danger_sense')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -138,40 +149,20 @@ "difficulty": 1, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_clairsentience", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_clairsentience", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_CLAIR_SPEED_READING", - "condition": { - "and": [ - { "math": [ "u_spell_level('clair_speed_reading')", ">=", "1" ] }, - { "math": [ "u_spell_exp('clair_speed_reading')", "<=", "(difficulty_two_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('clair_speed_reading')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('clair_speed_reading')", "+=", "(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_CLAIR_SPEED_READING_FALSE", - "condition": { "math": [ "u_spell_level('clair_speed_reading')", ">=", "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" } - ] - } - ] - } + ] } ] }, @@ -187,40 +178,71 @@ "difficulty": 2, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_clairsentience", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_clairsentience", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_CLAIR_SPOT_WEAKNESS", - "condition": { - "and": [ - { "math": [ "u_spell_level('clair_spot_weakness')", ">=", "1" ] }, - { "math": [ "u_spell_exp('clair_spot_weakness')", "<=", "(difficulty_three_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('clair_spot_weakness')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('clair_spot_weakness')", "+=", "(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_CLAIR_SPOT_WEAKNESS_FALSE", - "condition": { "math": [ "u_spell_level('clair_spot_weakness')", ">=", "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_CLAIR_SPOT_WEAKNESS_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_CLAIR_SPOT_WEAKNESS_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_CLAIR_SPOT_WEAKNESS_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_clairsentience')" ] }, + "difficulty": 7 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Discern Weakness power.", + "popup": true + }, + { "math": [ "u_spell_level('clair_spot_weakness')", "=", "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,40 +258,20 @@ "difficulty": 2, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_clairsentience", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_clairsentience", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_CLAIR_SENSE_RADS", - "condition": { - "and": [ - { "math": [ "u_spell_level('clair_sense_rads')", ">=", "1" ] }, - { "math": [ "u_spell_exp('clair_sense_rads')", "<=", "(difficulty_three_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('clair_sense_rads')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('clair_sense_rads')", "+=", "(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_CLAIR_SENSE_RADS_FALSE", - "condition": { "math": [ "u_spell_level('clair_sense_rads')", ">=", "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" } - ] - } - ] - } + ] } ] }, @@ -285,40 +287,71 @@ "difficulty": 2, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_clairsentience", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_clairsentience", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_CLAIR_SEE_AURAS", - "condition": { - "and": [ - { "math": [ "u_spell_level('clair_see_auras')", ">=", "1" ] }, - { "math": [ "u_spell_exp('clair_see_auras')", "<=", "(difficulty_three_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('clair_see_auras')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('clair_see_auras')", "+=", "(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_CLAIR_SEE_AURAS_FALSE", - "condition": { "math": [ "u_spell_level('clair_see_auras')", ">=", "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_CLAIR_SEE_AURAS_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_CLAIR_SEE_AURAS_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_CLAIR_SEE_AURAS_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_clairsentience')" ] }, + "difficulty": 7 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Aura Sight power.", + "popup": true + }, + { "math": [ "u_spell_level('clair_see_auras')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -334,41 +367,72 @@ "difficulty": 3, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_clairsentience", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_clairsentience", -1 ] ] ], "components": [ [ [ "matrix_crystal_clair_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_CLAIR_RANGED_ENHANCE", - "condition": { - "and": [ - { "math": [ "u_spell_level('clair_ranged_enhance')", ">=", "1" ] }, - { "math": [ "u_spell_exp('clair_ranged_enhance')", "<=", "(difficulty_four_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('clair_ranged_enhance')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('clair_ranged_enhance')", "+=", "(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_CLAIR_RANGED_ENHANCE_FALSE", - "condition": { "math": [ "u_spell_level('clair_ranged_enhance')", ">=", "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_CLAIR_RANGED_ENHANCE_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_CLAIR_RANGED_ENHANCE_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_CLAIR_RANGED_ENHANCE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_clairsentience')" ] }, + "difficulty": 8 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Markman's Eye power.", + "popup": true + }, + { "math": [ "u_spell_level('clair_ranged_enhance')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -384,41 +448,72 @@ "difficulty": 4, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_clairsentience", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_clairsentience", -1 ] ] ], "components": [ [ [ "matrix_crystal_clair_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_CLAIR_VOYANCE", - "condition": { - "and": [ - { "math": [ "u_spell_level('clair_voyance')", ">=", "1" ] }, - { "math": [ "u_spell_exp('clair_voyance')", "<=", "(difficulty_five_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('clair_voyance')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('clair_voyance')", "+=", "(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_CLAIR_VOYANCE_FALSE", - "condition": { "math": [ "u_spell_level('clair_voyance')", ">=", "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_CLAIR_VOYANCE_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_CLAIR_VOYANCE_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_CLAIR_VOYANCE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_clairsentience')" ] }, + "difficulty": 9 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Clairvoyance power.", + "popup": true + }, + { "math": [ "u_spell_level('clair_voyance')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -434,41 +529,72 @@ "difficulty": 5, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_clairsentience", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_clairsentience", -1 ] ] ], "components": [ [ [ "matrix_crystal_clair_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_CLAIR_COMBAT_SENSE", - "condition": { - "and": [ - { "math": [ "u_spell_level('clair_dodge_power')", ">=", "1" ] }, - { "math": [ "u_spell_exp('clair_dodge_power')", "<=", "(difficulty_six_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('clair_dodge_power')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('clair_dodge_power')", "+=", "(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_CLAIR_COMBAT_SENSE_FALSE", - "condition": { "math": [ "u_spell_level('clair_dodge_power')", ">=", "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_CLAIR_COMBAT_SENSE_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_CLAIR_COMBAT_SENSE_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_CLAIR_COMBAT_SENSE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_clairsentience')" ] }, + "difficulty": 10 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Combat Sense power.", + "popup": true + }, + { "math": [ "u_spell_level('clair_dodge_power')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -484,41 +610,72 @@ "difficulty": 5, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_clairsentience", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_clairsentience", -1 ] ] ], "components": [ [ [ "matrix_crystal_clair_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_CLAIR_CRAFT_BONUS", - "condition": { - "and": [ - { "math": [ "u_spell_level('clair_craft_bonus')", ">=", "1" ] }, - { "math": [ "u_spell_exp('clair_craft_bonus')", "<=", "(difficulty_six_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('clair_craft_bonus')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('clair_craft_bonus')", "+=", "(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_CLAIR_CRAFT_BONUS_FALSE", - "condition": { "math": [ "u_spell_level('clair_craft_bonus')", ">=", "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_CLAIR_CRAFT_BONUS_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_CLAIR_CRAFT_BONUS_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_CLAIR_CRAFT_BONUS_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_clairsentience')" ] }, + "difficulty": 10 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Intuitive Artisan power.", + "popup": true + }, + { "math": [ "u_spell_level('clair_craft_bonus')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -534,41 +691,72 @@ "difficulty": 6, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_clairsentience", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_clairsentience", -1 ] ] ], "components": [ [ [ "matrix_crystal_clair_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_CLAIR_SEE_MAP", - "condition": { - "and": [ - { "math": [ "u_spell_level('clair_see_map')", ">=", "1" ] }, - { "math": [ "u_spell_exp('clair_see_map')", "<=", "(difficulty_seven_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('clair_see_map')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('clair_see_map')", "+=", "(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_CLAIR_SEE_MAP_FALSE", - "condition": { "math": [ "u_spell_level('clair_see_map')", ">=", "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_CLAIR_SEE_MAP_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_CLAIR_SEE_MAP_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_CLAIR_SEE_MAP_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_clairsentience')" ] }, + "difficulty": 11 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Satellite View power.", + "popup": true + }, + { "math": [ "u_spell_level('clair_see_map')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -584,41 +772,72 @@ "difficulty": 6, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_clairsentience", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_clairsentience", -1 ] ] ], "components": [ [ [ "matrix_crystal_clair_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_CLAIR_PERFECT_SHOT", - "condition": { - "and": [ - { "math": [ "u_spell_level('clair_perfect_shot')", ">=", "1" ] }, - { "math": [ "u_spell_exp('clair_perfect_shot')", "<=", "(difficulty_seven_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('clair_perfect_shot')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('clair_perfect_shot')", "+=", "(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_CLAIR_PERFECT_SHOT_FALSE", - "condition": { "math": [ "u_spell_level('clair_perfect_shot')", ">=", "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_CLAIR_PERFECT_SHOT_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_CLAIR_PERFECT_SHOT_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_CLAIR_PERFECT_SHOT_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_clairsentience')" ] }, + "difficulty": 11 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the One Perfect Shot power.", + "popup": true + }, + { "math": [ "u_spell_level('clair_perfect_shot')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -634,41 +853,72 @@ "difficulty": 7, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_clairsentience", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_clairsentience", -1 ] ] ], "components": [ [ [ "matrix_crystal_clair_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_CLAIR_CLEAR_SIGHT", - "condition": { - "and": [ - { "math": [ "u_spell_level('clair_clear_sight')", ">=", "1" ] }, - { "math": [ "u_spell_exp('clair_clear_sight')", "<=", "(difficulty_eight_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('clair_clear_sight')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('clair_clear_sight')", "+=", "(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_CLAIR_CLEAR_SIGHT_FALSE", - "condition": { "math": [ "u_spell_level('clair_clear_sight')", ">=", "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_CLAIR_CLEAR_SIGHT_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_CLAIR_CLEAR_SIGHT_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_CLAIR_CLEAR_SIGHT_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_clairsentience')" ] }, + "difficulty": 12 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Clarity power.", + "popup": true + }, + { "math": [ "u_spell_level('clair_clear_sight')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -684,41 +934,72 @@ "difficulty": 8, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_clairsentience", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_clairsentience", -1 ] ] ], "components": [ [ [ "matrix_crystal_clair_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_CLAIR_GROUP_TACTICS", - "condition": { - "and": [ - { "math": [ "u_spell_level('clair_group_tactics')", ">=", "1" ] }, - { "math": [ "u_spell_exp('clair_group_tactics')", "<=", "(difficulty_nine_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('clair_group_tactics')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('clair_group_tactics')", "+=", "(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_CLAIR_GROUP_TACTICS_FALSE", - "condition": { "math": [ "u_spell_level('clair_group_tactics')", ">=", "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_CLAIR_CLEAR_SIGHT_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_CLAIR_GROUP_TACTICS_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_CLAIR_GROUP_TACTICS_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_clairsentience')" ] }, + "difficulty": 13 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Prescient Tactics power.", + "popup": true + }, + { "math": [ "u_spell_level('clair_group_tactics')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -734,41 +1015,72 @@ "difficulty": 9, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_clairsentience", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_clairsentience", -1 ] ] ], "components": [ [ [ "matrix_crystal_clair_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_CLAIR_OMNISCENCE", - "condition": { - "and": [ - { "math": [ "u_spell_level('clair_omniscience')", ">=", "1" ] }, - { "math": [ "u_spell_exp('clair_omniscience')", "<=", "(difficulty_ten_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('clair_omniscience')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('clair_omniscience')", "+=", "(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_CLAIR_OMNISCENCE_FALSE", - "condition": { "math": [ "u_spell_level('clair_omniscience')", ">=", "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_CLAIR_OMNISCENCE_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_CLAIR_OMNISCENCE_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_CLAIR_OMNISCENCE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_clairsentience')" ] }, + "difficulty": 14 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Omniscience power.", + "popup": true + }, + { "math": [ "u_spell_level('clair_omniscience')", "=", "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 )" ] } + ] + } + ] } ] } From 4c90ee7a0d27e7b438a65c063e4acdee5415f811 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:10:39 -0500 Subject: [PATCH 13/27] Add photokinesis learning recipes --- .../practice/photokinesis_practice.json | 1067 +++++++++++------ 1 file changed, 713 insertions(+), 354 deletions(-) diff --git a/data/mods/MindOverMatter/recipes/practice/photokinesis_practice.json b/data/mods/MindOverMatter/recipes/practice/photokinesis_practice.json index 50fce9e58447b..196c71614d421 100644 --- a/data/mods/MindOverMatter/recipes/practice/photokinesis_practice.json +++ b/data/mods/MindOverMatter/recipes/practice/photokinesis_practice.json @@ -40,40 +40,20 @@ "difficulty": 0, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_photokinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_photokinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_PHOTOKIN_LIGHT_LOCAL", - "condition": { - "and": [ - { "math": [ "u_spell_level('photokinetic_light_local')", ">=", "1" ] }, - { "math": [ "u_spell_exp('photokinetic_light_local')", "<=", "(difficulty_one_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('photokinetic_light_local')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('photokinetic_light_local')", "+=", "(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_PHOTOKIN_LIGHT_LOCAL_FALSE", - "condition": { "math": [ "u_spell_level('photokinetic_light_local')", ">=", "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" } - ] - } - ] - } + ] } ] }, @@ -89,40 +69,20 @@ "difficulty": 1, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_photokinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_photokinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_PHOTOKIN_CREATE_LIGHT", - "condition": { - "and": [ - { "math": [ "u_spell_level('photokinetic_create_light')", ">=", "1" ] }, - { "math": [ "u_spell_exp('photokinetic_create_light')", "<=", "(difficulty_two_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('photokinetic_create_light')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('photokinetic_create_light')", "+=", "(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_PHOTOKIN_CREATE_LIGHT_FALSE", - "condition": { "math": [ "u_spell_level('photokinetic_create_light')", ">=", "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, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_photokinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_photokinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_PHOTOKIN_SNUFF_LIGHT", - "condition": { - "and": [ - { "math": [ "u_spell_level('photokinetic_snuff_light')", ">=", "1" ] }, - { "math": [ "u_spell_exp('photokinetic_snuff_light')", "<=", "(difficulty_two_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('photokinetic_snuff_light')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('photokinetic_snuff_light')", "+=", "(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_PHOTOKIN_SNUFF_LIGHT_FALSE", - "condition": { "math": [ "u_spell_level('photokinetic_snuff_light')", ">=", "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_PHOTOKIN_SNUFF_LIGHT_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_PHOTOKIN_SNUFF_LIGHT_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_PHOTOKIN_SNUFF_LIGHT_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_photokinesis')" ] }, + "difficulty": 6 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Blackout power.", + "popup": true + }, + { "math": [ "u_spell_level('photokinetic_snuff_light')", "=", "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": 1, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_photokinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_photokinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_PHOTOKIN_LIGHT_DODGE", - "condition": { - "and": [ - { "math": [ "u_spell_level('photokinetic_light_dodge')", ">=", "1" ] }, - { "math": [ "u_spell_exp('photokinetic_light_dodge')", "<=", "(difficulty_two_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('photokinetic_light_dodge')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('photokinetic_light_dodge')", "+=", "(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_PHOTOKIN_LIGHT_DODGE_FALSE", - "condition": { "math": [ "u_spell_level('photokinetic_light_dodge')", ">=", "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_PHOTOKIN_LIGHT_DODGE_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_PHOTOKIN_LIGHT_DODGE_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_PHOTOKIN_LIGHT_DODGE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_photokinesis')" ] }, + "difficulty": 6 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Trick of the Light power.", + "popup": true + }, + { "math": [ "u_spell_level('photokinetic_light_dodge')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -236,40 +258,71 @@ "difficulty": 2, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_photokinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_photokinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_PHOTOKIN_LIGHT_BEAM", - "condition": { - "and": [ - { "math": [ "u_spell_level('photokinetic_light_beam')", ">=", "1" ] }, - { "math": [ "u_spell_exp('photokinetic_light_beam')", "<=", "(difficulty_three_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('photokinetic_light_beam')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('photokinetic_light_beam')", "+=", "(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_PHOTOKIN_LIGHT_BEAM_FALSE", - "condition": { "math": [ "u_spell_level('photokinetic_light_beam')", ">=", "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_PHOTOKIN_LIGHT_BEAM_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_PHOTOKIN_LIGHT_BEAM_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_PHOTOKIN_LIGHT_BEAM_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_photokinesis')" ] }, + "difficulty": 7 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Photon Beam power.", + "popup": true + }, + { "math": [ "u_spell_level('photokinetic_light_beam')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -285,41 +338,71 @@ "difficulty": 2, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], - "components": [ [ [ "matrix_crystal_photokin_dust", 1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_photokinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_photokinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_PHOTOKIN_CAMOUFLAGE", - "condition": { - "and": [ - { "math": [ "u_spell_level('photokinetic_camouflage')", ">=", "1" ] }, - { "math": [ "u_spell_exp('photokinetic_camouflage')", "<=", "(difficulty_three_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('photokinetic_camouflage')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('photokinetic_camouflage')", "+=", "(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_PHOTOKIN_CAMOUFLAGE_FALSE", - "condition": { "math": [ "u_spell_level('photokinetic_camouflage')", ">=", "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_PHOTOKIN_CAMOUFLAGE_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_PHOTOKIN_CAMOUFLAGE_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_PHOTOKIN_CAMOUFLAGE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_photokinesis')" ] }, + "difficulty": 7 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Chameleoflage power.", + "popup": true + }, + { "math": [ "u_spell_level('photokinetic_camouflage')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -335,48 +418,78 @@ "difficulty": 2, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], - "components": [ [ [ "matrix_crystal_photokin_dust", 1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_photokinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_photokinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_PHOTOKIN_RAD_IMMUNITY", - "condition": { - "and": [ - { "math": [ "u_spell_level('photokinetic_rad_immunity')", ">=", "1" ] }, - { "math": [ "u_spell_exp('photokinetic_rad_immunity')", "<=", "(difficulty_three_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('photokinetic_rad_immunity')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('photokinetic_rad_immunity')", "+=", "(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_PHOTOKIN_RAD_IMMUNITY_FALSE", - "condition": { "math": [ "u_spell_level('photokinetic_rad_immunity')", ">=", "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_PHOTOKIN_RAD_IMMUNITY_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_PHOTOKIN_RAD_IMMUNITY_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_PHOTOKIN_RAD_IMMUNITY_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_photokinesis')" ] }, + "difficulty": 7 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Lucent Barrier power.", + "popup": true + }, + { "math": [ "u_spell_level('photokinetic_rad_immunity')", "=", "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 )" ] } + ] + } + ] } ] }, { "type": "recipe", "activity_level": "LIGHT_EXERCISE", - "name": "contemplation: refraction of arms", + "name": "contemplation: refracted arms", "id": "practice_photokinetic_light_arms", "description": "Contemplate your powers and improve your ability to create illusions of extra arms.", "category": "CC_*", @@ -385,41 +498,72 @@ "difficulty": 3, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_photokinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_photokinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_photokin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_PHOTOKIN_LIGHT_ARMS", - "condition": { - "and": [ - { "math": [ "u_spell_level('photokinetic_light_arms')", ">=", "1" ] }, - { "math": [ "u_spell_exp('photokinetic_light_arms')", "<=", "(difficulty_four_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('photokinetic_light_arms')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('photokinetic_light_arms')", "+=", "(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_PHOTOKIN_LIGHT_ARMS_FALSE", - "condition": { "math": [ "u_spell_level('photokinetic_light_arms')", ">=", "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_PHOTOKIN_LIGHT_ARMS_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_PHOTOKIN_LIGHT_ARMS_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_PHOTOKIN_LIGHT_ARMS_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_photokinesis')" ] }, + "difficulty": 8 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Refracted Arms power.", + "popup": true + }, + { "math": [ "u_spell_level('photokinetic_light_arms')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -435,41 +579,72 @@ "difficulty": 3, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_photokinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_photokinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_photokin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_PHOTOKIN_HIDE_UGLY", - "condition": { - "and": [ - { "math": [ "u_spell_level('photokinetic_hide_ugly')", ">=", "1" ] }, - { "math": [ "u_spell_exp('photokinetic_hide_ugly')", "<=", "(difficulty_four_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('photokinetic_hide_ugly')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('photokinetic_hide_ugly')", "+=", "(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_PHOTOKIN_HIDE_UGLY_FALSE", - "condition": { "math": [ "u_spell_level('photokinetic_hide_ugly')", ">=", "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_PHOTOKIN_HIDE_UGLY_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_PHOTOKIN_HIDE_UGLY_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_PHOTOKIN_HIDE_UGLY_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_photokinesis')" ] }, + "difficulty": 8 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Refracted Arms power.", + "popup": true + }, + { "math": [ "u_spell_level('photokinetic_hide_ugly')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -485,41 +660,72 @@ "difficulty": 4, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_photokinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_photokinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_photokin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_PHOTOKIN_LIGHT_IMAGE", - "condition": { - "and": [ - { "math": [ "u_spell_level('photokinetic_light_image')", ">=", "1" ] }, - { "math": [ "u_spell_exp('photokinetic_light_image')", "<=", "(difficulty_five_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('photokinetic_light_image')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('photokinetic_light_image')", "+=", "(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_PHOTOKIN_LIGHT_IMAGE_FALSE", - "condition": { "math": [ "u_spell_level('photokinetic_light_image')", ">=", "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_PHOTOKIN_LIGHT_IMAGE_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_PHOTOKIN_LIGHT_IMAGE_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_PHOTOKIN_LIGHT_IMAGE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_photokinesis')" ] }, + "difficulty": 9 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Lucid Shadows power.", + "popup": true + }, + { "math": [ "u_spell_level('photokinetic_light_image')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -535,40 +741,71 @@ "difficulty": 4, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_photokinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_photokinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_PHOTOKIN_RADIO", - "condition": { - "and": [ - { "math": [ "u_spell_level('photokinetic_radio')", ">=", "1" ] }, - { "math": [ "u_spell_exp('photokinetic_radio')", "<=", "(difficulty_five_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('photokinetic_radio')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('photokinetic_radio')", "+=", "(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_PHOTOKIN_RADIO_FALSE", - "condition": { "math": [ "u_spell_level('photokinetic_radio')", ">=", "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_PHOTOKIN_RADIO_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_PHOTOKIN_RADIO_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_PHOTOKIN_RADIO_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_photokinesis')" ] }, + "difficulty": 9 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Radio Transception power.", + "popup": true + }, + { "math": [ "u_spell_level('photokinetic_radio')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -584,41 +821,72 @@ "difficulty": 5, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_photokinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_photokinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_photokin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_PHOTOKIN_INVISIBILITY", - "condition": { - "and": [ - { "math": [ "u_spell_level('photokinetic_invisibility')", ">=", "1" ] }, - { "math": [ "u_spell_exp('photokinetic_invisibility')", "<=", "(difficulty_six_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('photokinetic_invisibility')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('photokinetic_invisibility')", "+=", "(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_PHOTOKIN_INVISIBILITY_FALSE", - "condition": { "math": [ "u_spell_level('photokinetic_invisibility')", ">=", "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_PHOTOKIN_INVISIBILITY_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_PHOTOKIN_INVISIBILITY_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_PHOTOKIN_INVISIBILITY_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_photokinesis')" ] }, + "difficulty": 10 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Veil of Light power.", + "popup": true + }, + { "math": [ "u_spell_level('photokinetic_invisibility')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -634,41 +902,72 @@ "difficulty": 5, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_photokinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_photokinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_photokin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_PHOTOKIN_LIGHT_FLASH", - "condition": { - "and": [ - { "math": [ "u_spell_level('photokinetic_light_flash')", ">=", "1" ] }, - { "math": [ "u_spell_exp('photokinetic_light_flash')", "<=", "(difficulty_six_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('photokinetic_light_flash')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('photokinetic_light_flash')", "+=", "(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_PHOTOKIN_LIGHT_FLASH_FALSE", - "condition": { "math": [ "u_spell_level('photokinetic_light_flash')", ">=", "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_PHOTOKIN_LIGHT_FLASH_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_PHOTOKIN_LIGHT_FLASH_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_PHOTOKIN_LIGHT_FLASH_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_photokinesis')" ] }, + "difficulty": 10 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Star Flash power.", + "popup": true + }, + { "math": [ "u_spell_level('photokinetic_light_flash')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -684,41 +983,72 @@ "difficulty": 6, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_photokinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_photokinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_photokin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_PHOTOKIN_BLINDING_GLARE", - "condition": { - "and": [ - { "math": [ "u_spell_level('photokinetic_blinding_glare')", ">=", "1" ] }, - { "math": [ "u_spell_exp('photokinetic_blinding_glare')", "<=", "(difficulty_seven_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('photokinetic_blinding_glare')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('photokinetic_blinding_glare')", "+=", "(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_PHOTOKIN_BLINDING_GLARE_FALSE", - "condition": { "math": [ "u_spell_level('photokinetic_blinding_glare')", ">=", "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_PHOTOKIN_BLINDING_GLARE_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_PHOTOKIN_BLINDING_GLARE_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_PHOTOKIN_BLINDING_GLARE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_photokinesis')" ] }, + "difficulty": 11 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Blinding Radiance power.", + "popup": true + }, + { "math": [ "u_spell_level('photokinetic_blinding_glare')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -734,43 +1064,72 @@ "difficulty": 7, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_photokinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_photokinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_photokin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_PHOTOKIN_LIGHT_DISINTEGRATE", - "condition": { - "and": [ - { "math": [ "u_spell_level('photokinetic_light_disintegrate')", ">=", "1" ] }, - { - "math": [ "u_spell_exp('photokinetic_light_disintegrate')", "<=", "(difficulty_eight_contemplation(1))" ] - } - ] - }, + "condition": { "math": [ "u_spell_level('photokinetic_light_disintegrate')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('photokinetic_light_disintegrate')", "+=", "(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_PHOTOKIN_LIGHT_DISINTEGRATE_FALSE", - "condition": { "math": [ "u_spell_level('photokinetic_light_disintegrate')", ">=", "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_PHOTOKIN_LIGHT_DISINTEGRATE_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_PHOTOKIN_LIGHT_DISINTEGRATE_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_PHOTOKIN_LIGHT_DISINTEGRATE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_photokinesis')" ] }, + "difficulty": 12 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Luminous Disintegration power.", + "popup": true + }, + { "math": [ "u_spell_level('photokinetic_blinding_glare')", "=", "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 )" ] } + ] + } + ] } ] } From 99d0bf5db3494df1ae5d5184d797009fb6c4b64e Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:13:37 -0500 Subject: [PATCH 14/27] Update starting powers for traits --- data/mods/MindOverMatter/mutations/traits.json | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/data/mods/MindOverMatter/mutations/traits.json b/data/mods/MindOverMatter/mutations/traits.json index 0996dcf3c9122..bd19412be0864 100644 --- a/data/mods/MindOverMatter/mutations/traits.json +++ b/data/mods/MindOverMatter/mutations/traits.json @@ -19,12 +19,7 @@ "starting_trait": false, "purifiable": false, "valid": false, - "spells_learned": [ - [ "clair_night_vision", 2 ], - [ "clair_danger_sense", 2 ], - [ "clair_speed_reading", 2 ], - [ "classless_toggleable_concentration_end", 1 ] - ] + "spells_learned": [ [ "clair_night_vision", 2 ], [ "clair_speed_reading", 2 ], [ "classless_toggleable_concentration_end", 1 ] ] }, { "type": "mutation", @@ -46,12 +41,16 @@ "id": "PHOTOKINETIC", "name": "Awakened Photokinetic", "points": 0, - "description": "You have the power to control the light around you with your mind.", + "description": "Mental control of visible light and electromagnetic waves.", "starting_trait": false, "purifiable": false, "valid": false, "flags": [ "PHOTOKINETIC" ], - "spells_learned": [ [ "photokinetic_snuff_light", 2 ], [ "photokinetic_light_dodge", 2 ], [ "photokinetic_light_local", 2 ] ] + "spells_learned": [ + [ "photokinetic_create_light", 2 ], + [ "photokinetic_light_local", 2 ], + [ "classless_toggleable_concentration_end", 1 ] + ] }, { "type": "mutation", From 02a96d5b01f2fa111d1bb3d98f4ebfb6cf4ce9ea Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:15:47 -0500 Subject: [PATCH 15/27] Add power learning variable --- data/mods/MindOverMatter/jmath.json | 49 ++++++++++++++++------------- 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/data/mods/MindOverMatter/jmath.json b/data/mods/MindOverMatter/jmath.json index ff61c4fd85195..c9b6950859fba 100644 --- a/data/mods/MindOverMatter/jmath.json +++ b/data/mods/MindOverMatter/jmath.json @@ -57,7 +57,7 @@ "type": "jmath_function", "id": "contemplation_factor", "num_args": 1, - "return": "(u_val('focus') * 5.8) * (_0)" + "return": "(u_val('focus') * 18) * (_0)" }, { "type": "jmath_function", @@ -73,62 +73,69 @@ }, { "type": "jmath_function", - "id": "difficulty_one_contemplation", + "id": "jmath_psi_learning_counter_time_low", "num_args": 1, - "return": "_0 * 49417" + "//": "Reduces time between insight moments by 3% per point of Intelligence above 10 (increase by 3% per point below 10), to a max of 60% faster from intelligence, and by 5% per point of Metaphysics skill above 5.", + "return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * clamp(( 1 - (((u_skill('metaphysics') - 4) + 20 ) / 21) + 1),0.75,1)" }, { "type": "jmath_function", - "id": "difficulty_two_contemplation", + "id": "jmath_psi_learning_counter_time_high", "num_args": 1, - "return": "_0 * 49417" + "return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * clamp(( 1 - (((u_skill('metaphysics') - 4) + 20 ) / 21) + 1),0.75,1)" }, { "type": "jmath_function", - "id": "difficulty_three_contemplation", + "id": "jmath_biokinesis_learning_eocs_modifiers", "num_args": 1, - "return": "_0 * 49417" + "return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_biokinesis')))" }, { "type": "jmath_function", - "id": "difficulty_four_contemplation", + "id": "jmath_clairsentience_learning_eocs_modifiers", "num_args": 1, - "return": "_0 * 35278" + "return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_clairsentience')))" }, { "type": "jmath_function", - "id": "difficulty_five_contemplation", + "id": "jmath_electrokinesis_learning_eocs_modifiers", "num_args": 1, - "return": "_0 * 35278" + "return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_electrokinesis')))" }, { "type": "jmath_function", - "id": "difficulty_six_contemplation", + "id": "jmath_photokinesis_learning_eocs_modifiers", "num_args": 1, - "return": "_0 * 20513" + "return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_photokinesis')))" }, { "type": "jmath_function", - "id": "difficulty_seven_contemplation", + "id": "jmath_pyrokinesis_learning_eocs_modifiers", "num_args": 1, - "return": "_0 * 20513" + "return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_pyrokinesis')))" }, { "type": "jmath_function", - "id": "difficulty_eight_contemplation", + "id": "jmath_telekinesis_learning_eocs_modifiers", "num_args": 1, - "return": "_0 * 13722" + "return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_telekinesis')))" }, { "type": "jmath_function", - "id": "difficulty_nine_contemplation", + "id": "jmath_telepathy_learning_eocs_modifiers", "num_args": 1, - "return": "_0 * 13722" + "return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_telepathy')))" }, { "type": "jmath_function", - "id": "difficulty_ten_contemplation", + "id": "jmath_teleportation_learning_eocs_modifiers", "num_args": 1, - "return": "_0 * 13722" + "return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_teleportation')))" + }, + { + "type": "jmath_function", + "id": "jmath_vitakinesis_learning_eocs_modifiers", + "num_args": 1, + "return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_vitakinesis')))" } ] From ceed44deb8bf2530f2cadccc08fd0cf13b0b5349 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:18:14 -0500 Subject: [PATCH 16/27] Add darkness field --- data/mods/MindOverMatter/fields.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/data/mods/MindOverMatter/fields.json b/data/mods/MindOverMatter/fields.json index dd95d93be05b7..6b146dc41b61a 100644 --- a/data/mods/MindOverMatter/fields.json +++ b/data/mods/MindOverMatter/fields.json @@ -185,5 +185,12 @@ "half_life": "30 minutes", "phase": "plasma", "display_field": true + }, + { + "id": "fd_darkness", + "type": "field_type", + "intensity_levels": [ { "name": "darkness", "light_override": 0.0 } ], + "half_life": "5 minutes", + "percent_spread": 50 } ] From 7f4f19a286f433a9b910d40e685b32f06fbf8fa6 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:19:41 -0500 Subject: [PATCH 17/27] Add extra blind chance --- data/mods/MindOverMatter/damage_types.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/data/mods/MindOverMatter/damage_types.json b/data/mods/MindOverMatter/damage_types.json index 2593036fdf118..03b0628d89b6f 100644 --- a/data/mods/MindOverMatter/damage_types.json +++ b/data/mods/MindOverMatter/damage_types.json @@ -8,7 +8,7 @@ "skill": "metaphysics", "derived_from": [ "heat", 0.8 ], "immune_flags": { "character": [ "PHOTOKIN_CHAR_IMMUNE" ], "monster": [ "PHOTOKIN_MONSTER_IMMUNE" ] }, - "ondamage_eocs": [ "EOC_PHOTOKINETIC_DAMAGE_BLIND_CHANCE" ] + "ondamage_eocs": [ "EOC_PHOTOKINETIC_DAMAGE_BLIND_CHANCE", "EOC_PHOTOKINETIC_DAMAGE_EXTRA_BLIND_CHANCE" ] }, { "type": "effect_on_condition", @@ -24,6 +24,20 @@ }, "effect": [ { "npc_add_effect": "blind", "duration": "3 s" } ] }, + { + "type": "effect_on_condition", + "id": "EOC_PHOTOKINETIC_DAMAGE_EXTRA_BLIND_CHANCE", + "condition": { + "and": [ + { "x_in_y_chance": { "x": 1, "y": 20 } }, + { "math": [ "_damage_taken", ">", "0" ] }, + { "not": { "npc_has_trait": "PHOTOKINETIC" } }, + { "not": { "npc_has_flag": "PHOTOKIN_CHAR_IMMUNE" } }, + { "not": { "npc_has_flag": "PHOTOKIN_MONSTER_IMMUNE" } } + ] + }, + "effect": [ { "npc_add_effect": "blind", "duration": "10 s" } ] + }, { "id": "psi_photokinetic_damage", "type": "damage_info_order", From 3695473b9ebbe6e6f9526707c5e5ac6a1261215b Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:21:58 -0500 Subject: [PATCH 18/27] Update photokinesis.json --- .../MindOverMatter/powers/photokinesis.json | 213 ++++++++---------- 1 file changed, 94 insertions(+), 119 deletions(-) diff --git a/data/mods/MindOverMatter/powers/photokinesis.json b/data/mods/MindOverMatter/powers/photokinesis.json index 5df55d4edce5a..e0f855c71fe57 100644 --- a/data/mods/MindOverMatter/powers/photokinesis.json +++ b/data/mods/MindOverMatter/powers/photokinesis.json @@ -17,12 +17,12 @@ "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('photokinetic_light_local') * 30000) + 180000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_light_local') * 26000) + 156000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('photokinetic_light_local') * 90000) + 540000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_light_local') * 87000) + 342000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", @@ -35,8 +35,7 @@ "math": [ "u_effect_intensity('effect_photokin_light_local') > -1 ? 10 : max((125 -(u_spell_level('photokinetic_light_local') * 7.5)), 50)" ] - }, - "learn_spells": { "photokinetic_create_light": 5, "photokinetic_light_beam": 10, "photokinetic_light_image": 15 } + } }, { "id": "photokinetic_create_light", @@ -58,22 +57,16 @@ "energy_source": "STAMINA", "base_energy_cost": 2500, "final_energy_cost": 1000, - "energy_increment": -150, - "base_casting_time": 125, - "final_casting_time": 50, - "casting_time_increment": -7.5, - "learn_spells": { - "photokinetic_light_beam": 6, - "photokinetic_camouflage": 8, - "photokinetic_light_image": 12, - "photokinetic_invisibility": 16 - } + "energy_increment": -115, + "base_casting_time": 150, + "final_casting_time": 75, + "casting_time_increment": -6.5 }, { "id": "photokinetic_create_light_01", "type": "SPELL", - "name": "[Ψ]Field of Light Subspell #1", - "description": "The first create light subspell. If you have this, it's a bug.", + "name": "[Ψ]Field of Light", + "description": "Create photons to illuminate an entire area.", "message": "", "teachable": false, "valid_targets": [ "self", "ground", "ally", "hostile" ], @@ -104,8 +97,8 @@ { "id": "photokinetic_create_light_02", "type": "SPELL", - "name": "[Ψ]Field of Light Subspell #2", - "description": "The second create light subspell. If you have this, it's a bug.", + "name": "[Ψ]Field of Light", + "description": "Create photons to illuminate an entire area.", "message": "", "teachable": false, "valid_targets": [ "self", "ground", "ally", "hostile" ], @@ -136,8 +129,8 @@ { "id": "photokinetic_create_light_03", "type": "SPELL", - "name": "[Ψ]Field of Light Subspell #3", - "description": "The third create light subspell. If you have this, it's a bug.", + "name": "[Ψ]Field of Light", + "description": "Create photons to illuminate an entire area.", "message": "", "teachable": false, "valid_targets": [ "self", "ground", "ally", "hostile" ], @@ -176,11 +169,10 @@ "spell_class": "PHOTOKINETIC", "skill": "metaphysics", "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_PROJECTILE", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "RANDOM_DURATION" ], + "difficulty": 2, + "max_level": { "math": [ "int_to_level(1)" ] }, "effect": "attack", - "extra_effects": [ { "id": "psionic_drained_difficulty_one", "hit_self": true } ], - "field_id": "fd_darkness", - "min_field_intensity": 1, - "max_field_intensity": 1, + "extra_effects": [ { "id": "psionic_drained_difficulty_two", "hit_self": true } ], "shape": "blast", "min_duration": { "math": [ "((u_spell_level('photokinetic_snuff_light') * 1000) + 5000) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ "((u_spell_level('photokinetic_snuff_light') * 1000) + 10000) * u_nether_attunement_power_scaling" ] }, @@ -195,16 +187,16 @@ "min( (( (u_spell_level('photokinetic_snuff_light') * 0.8) + 1) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 50)" ] }, + "field_id": "fd_darkness", + "min_field_intensity": 1, + "max_field_intensity": 1, "energy_source": "STAMINA", - "difficulty": 2, - "max_level": { "math": [ "int_to_level(1)" ] }, - "base_energy_cost": 2000, - "final_energy_cost": 500, + "base_energy_cost": 2500, + "final_energy_cost": 1000, "energy_increment": -150, - "base_casting_time": 125, - "final_casting_time": 50, - "casting_time_increment": -7.5, - "learn_spells": { "photokinetic_rad_immunity": 8, "photokinetic_invisibility": 18 } + "base_casting_time": 150, + "final_casting_time": 75, + "casting_time_increment": -6.5 }, { "id": "photokinetic_light_dodge", @@ -217,30 +209,29 @@ "spell_class": "PHOTOKINETIC", "skill": "metaphysics", "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "RANDOM_DURATION" ], + "difficulty": 2, + "max_level": { "math": [ "int_to_level(1)" ] }, "effect": "attack", "effect_str": "effect_photokin_dodge", "extra_effects": [ { "id": "psionic_drained_difficulty_two", "hit_self": true } ], "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('photokinetic_light_dodge') * 2000) + 3000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_light_dodge') * 1300) + 2800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('photokinetic_light_dodge') * 2000) + 6000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_light_dodge') * 2700) + 12500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", - "difficulty": 2, - "max_level": { "math": [ "int_to_level(1)" ] }, "base_energy_cost": 2250, "final_energy_cost": 500, - "energy_increment": -125, - "base_casting_time": 125, + "energy_increment": -135, + "base_casting_time": 200, "final_casting_time": 65, - "casting_time_increment": -9.5, - "learn_spells": { "photokinetic_hide_ugly": 12, "photokinetic_light_image": 15, "photokinetic_invisibility": 18 } + "casting_time_increment": -9.5 }, { "id": "photokinetic_light_beam", @@ -254,17 +245,17 @@ "skill": "metaphysics", "flags": [ "PSIONIC", "CONCENTRATE", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "SILENT", "RANDOM_DAMAGE" ], "effect": "attack", - "extra_effects": [ { "id": "psionic_drained_difficulty_two", "hit_self": true } ], + "extra_effects": [ { "id": "psionic_drained_difficulty_three", "hit_self": true } ], "difficulty": 3, "shape": "line", "min_damage": { "math": [ - "( (u_spell_level('photokinetic_light_beam') * 2) + 3) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_light_beam') * 1.5) + 3) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_damage": { "math": [ - "( (u_spell_level('photokinetic_light_beam') * 2) + 15) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_light_beam') * 3.5) + 15) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "damage_type": "psi_photokinetic_damage", @@ -280,24 +271,17 @@ "max_field_intensity": 2, "field_chance": 1, "energy_source": "STAMINA", - "base_energy_cost": 2500, + "base_energy_cost": 2750, "final_energy_cost": 800, - "energy_increment": -125, - "base_casting_time": 200, - "final_casting_time": 50, - "casting_time_increment": -12.5, - "learn_spells": { - "photokinetic_radio": 8, - "photokinetic_light_flash": 12, - "photokinetic_blinding_glare": 15, - "photokinetic_light_disintegrate": 18 - } + "energy_increment": -110, + "base_casting_time": 100, + "final_casting_time": 35, + "casting_time_increment": -6 }, { "id": "photokinetic_camouflage", "type": "SPELL", - "name": "[Ψ]Chameleoflage (C)", - "//~": "Combination of chameleon and camouflage", + "name": { "//~": "Combination of chameleon and camouflage", "str": "[Ψ]Chameleoflage (C)" }, "description": "By blending the light reflecting from you with the light reflecting from nearby surfaces, you can make yourself much harder to spot from a distance.\n\nThis power is maintained by concentration and may fail if concentration is interrupted.", "message": "", "teachable": false, @@ -312,12 +296,12 @@ "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('photokinetic_camouflage') * 5000) + 60000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_camouflage') * 4800) + 69000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('photokinetic_camouflage') * 10000) + 120000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_camouflage') * 11300) + 143000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", @@ -330,8 +314,7 @@ "math": [ "u_effect_intensity('effect_photokin_camouflage') > -1 ? 10 : max((150 -(u_spell_level('photokinetic_camouflage') * 8)), 75)" ] - }, - "learn_spells": { "photokinetic_light_image": 7, "photokinetic_hide_ugly": 10, "photokinetic_invisibility": 14 } + } }, { "id": "photokinetic_rad_immunity", @@ -351,12 +334,12 @@ "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('photokinetic_rad_immunity') * 3000) + 2000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_rad_immunity') * 1800) + 37000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('photokinetic_rad_immunity') * 3000) + 8000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_rad_immunity') * 18200) + 81000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", @@ -369,13 +352,12 @@ "math": [ "u_effect_intensity('effect_photokin_light_barrier') > -1 ? 10 : max((250 -(u_spell_level('photokinetic_rad_immunity') * 4.5)), 100)" ] - }, - "learn_spells": { "photokinetic_invisibility": 5, "photokinetic_light_flash": 7 } + } }, { "id": "photokinetic_light_arms", "type": "SPELL", - "name": "[Ψ]Refraction of Arms", + "name": "[Ψ]Refracted Arms", "description": "Create the illusion of extra arms and wielded items to trick your enemies, forcing them off balance and rendering them open to attack.", "message": "Light around your arms shimmers and refracts, creating the illusion of multiple arms.", "teachable": false, @@ -383,30 +365,29 @@ "spell_class": "PHOTOKINETIC", "skill": "metaphysics", "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "RANDOM_DURATION" ], + "difficulty": 4, + "max_level": { "math": [ "int_to_level(1)" ] }, "effect": "attack", "effect_str": "effect_photokin_arms", "extra_effects": [ { "id": "psionic_drained_difficulty_four", "hit_self": true } ], "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('photokinetic_light_arms') * 2000) + 3000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_light_arms') * 800) + 2600) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('photokinetic_light_arms') * 2000) + 6000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_light_arms') * 4100) + 7100) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", - "difficulty": 4, - "max_level": { "math": [ "int_to_level(1)" ] }, - "base_energy_cost": 3500, + "base_energy_cost": 4000, "final_energy_cost": 1500, "energy_increment": -125, - "base_casting_time": 250, - "final_casting_time": 100, - "casting_time_increment": -12.5, - "learn_spells": { "photokinetic_hide_ugly": 6, "photokinetic_light_flash": 9, "photokinetic_light_disintegrate": 12 } + "base_casting_time": 125, + "final_casting_time": 25, + "casting_time_increment": -7 }, { "id": "photokinetic_hide_ugly", @@ -432,7 +413,7 @@ }, "max_duration": { "math": [ - "( (u_spell_level('photokinetic_hide_ugly') * 5500) + 80000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_hide_ugly') * 5500) + 89000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", @@ -443,10 +424,9 @@ }, "base_casting_time": { "math": [ - "u_effect_intensity('effect_photokin_hide_ugly') > -1 ? 10 : max((1500 -(u_spell_level('photokinetic_hide_ugly') * 100)), 150)" + "u_effect_intensity('effect_photokin_hide_ugly') > -1 ? 10 : max((1500 -(u_spell_level('photokinetic_hide_ugly') * 75)), 150)" ] - }, - "learn_spells": { "photokinetic_light_image": 6 } + } }, { "id": "photokinetic_light_image", @@ -462,7 +442,7 @@ "max_level": { "math": [ "int_to_level(1)" ] }, "effect": "summon", "effect_str": "mon_photokin_image", - "extra_effects": [ { "id": "psionic_drained_difficulty_three", "hit_self": true } ], + "extra_effects": [ { "id": "psionic_drained_difficulty_five", "hit_self": true } ], "shape": "blast", "min_damage": 1, "max_damage": { @@ -470,8 +450,8 @@ " (u_spell_level('photokinetic_light_beam') / 3) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, - "min_duration": { "math": [ "((u_spell_level('photokinetic_light_image') * 1000) + 5000) * u_nether_attunement_power_scaling" ] }, - "max_duration": { "math": [ "((u_spell_level('photokinetic_light_image') * 1000) + 10000) * u_nether_attunement_power_scaling" ] }, + "min_duration": { "math": [ "((u_spell_level('photokinetic_light_image') * 550) + 4840) * u_nether_attunement_power_scaling" ] }, + "max_duration": { "math": [ "((u_spell_level('photokinetic_light_image') * 1350) + 13650) * u_nether_attunement_power_scaling" ] }, "min_range": { "math": [ "min( (( (u_spell_level('photokinetic_light_image') * 0.8) + 2) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 40)" @@ -481,13 +461,12 @@ "min_aoe": 3, "max_aoe": 3, "energy_source": "STAMINA", - "base_energy_cost": 2000, - "final_energy_cost": 1000, - "energy_increment": -125.0, + "base_energy_cost": 4000, + "final_energy_cost": 1750, + "energy_increment": -145, "base_casting_time": 150, "final_casting_time": 90, - "casting_time_increment": -12.5, - "learn_spells": { "photokinetic_invisibility": 10, "photokinetic_blinding_glare": 15 } + "casting_time_increment": -4 }, { "id": "photokinetic_radio", @@ -499,7 +478,7 @@ "valid_targets": [ "self" ], "spell_class": "PHOTOKINETIC", "skill": "metaphysics", - "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX" ], + "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "RANDOM_DURATION", "NO_EXPLOSION_SFX" ], "difficulty": 5, "max_level": { "math": [ "int_to_level(1)" ] }, "effect": "effect_on_condition", @@ -507,26 +486,25 @@ "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('photokinetic_radio') * 12000) + 180000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_radio') * 12600) + 145600) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('photokinetic_radio') * 18000) + 540000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_radio') * 77200) + 522000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", "base_energy_cost": { "math": [ - "u_effect_intensity('effect_photokinetic_radio') > -1 ? 0 : max((4000 - (u_spell_level('photokinetic_radio') * 100)), 1500)" + "u_effect_intensity('effect_photokinetic_radio') > -1 ? 0 : max((5000 - (u_spell_level('photokinetic_radio') * 100)), 2250)" ] }, "base_casting_time": { "math": [ "u_effect_intensity('effect_photokinetic_radio') > -1 ? 10 : max((250 -(u_spell_level('biokin_hammerhand') * 10)), 75)" ] - }, - "learn_spells": { "photokinetic_rad_immunity": 6, "photokinetic_blinding_glare": 9 } + } }, { "id": "photokinetic_invisibility", @@ -543,26 +521,25 @@ "max_level": { "math": [ "int_to_level(1)" ] }, "effect": "attack", "effect_str": "effect_photokin_invisibility", - "extra_effects": [ { "id": "psionic_drained_difficulty_four", "hit_self": true } ], + "extra_effects": [ { "id": "psionic_drained_difficulty_six", "hit_self": true } ], "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('photokinetic_invisibility') * 500) + 1500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_invisibility') * 600) + 1600) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('photokinetic_invisibility') * 1500) + 4000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_invisibility') * 2300) + 4200) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", - "base_energy_cost": 3000, + "base_energy_cost": 3500, "final_energy_cost": 1200, "energy_increment": -125, - "base_casting_time": 250, - "final_casting_time": 100, - "casting_time_increment": -12.5, - "learn_spells": { "photokinetic_light_flash": 6, "photokinetic_light_disintegrate": 12 } + "base_casting_time": 150, + "final_casting_time": 35, + "casting_time_increment": -6.5 }, { "id": "photokinetic_light_flash", @@ -587,7 +564,7 @@ }, "max_damage": { "math": [ - "( (u_spell_level('photokinetic_light_flash') * 5) + 40) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_light_flash') * 6) + 54) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "damage_type": "psi_photokinetic_damage", @@ -599,7 +576,7 @@ "max_range": 50, "min_aoe": { "math": [ - "min( (( (u_spell_level('photokinetic_light_flash') * 0.3) + 2) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 20)" + "min( (( (u_spell_level('photokinetic_light_flash') * 0.3) + 1) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 20)" ] }, "max_aoe": 20, @@ -608,13 +585,12 @@ "max_field_intensity": 3, "field_chance": 1, "energy_source": "STAMINA", - "base_energy_cost": 4000, - "final_energy_cost": 1500, + "base_energy_cost": 5500, + "final_energy_cost": 2750, "energy_increment": -125, - "base_casting_time": 200, - "final_casting_time": 50, - "casting_time_increment": -12.5, - "learn_spells": { "photokinetic_light_arms": 5, "photokinetic_blinding_glare": 7, "photokinetic_light_disintegrate": 11 } + "base_casting_time": 135, + "final_casting_time": 40, + "casting_time_increment": -8.5 }, { "id": "photokinetic_blinding_glare", @@ -635,22 +611,21 @@ "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('photokinetic_blinding_glare') * 1000) + 6000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_blinding_glare') * 1100) + 5900) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('photokinetic_blinding_glare') * 2500) + 18000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_blinding_glare') * 4700) + 17800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", "base_energy_cost": 6500, - "final_energy_cost": 2500, - "energy_increment": -125, + "final_energy_cost": 3250, + "energy_increment": -95, "base_casting_time": 125, - "final_casting_time": 150, - "casting_time_increment": -7.5, - "learn_spells": { "photokinetic_light_disintegrate": 7 } + "final_casting_time": 25, + "casting_time_increment": -7.5 }, { "id": "photokinetic_light_disintegrate", @@ -670,12 +645,12 @@ "extra_effects": [ { "id": "psionic_drained_difficulty_eight", "hit_self": true } ], "min_damage": { "math": [ - "( (u_spell_level('photokinetic_light_disintegrate') * 5) + 40) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_light_disintegrate') * 5.5) + 45) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_damage": { "math": [ - "( (u_spell_level('photokinetic_light_disintegrate') * 7) + 120) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_light_disintegrate') * 17) + 135) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "damage_type": "psi_photokinetic_damage", @@ -686,8 +661,8 @@ }, "max_range": 50, "energy_source": "STAMINA", - "base_energy_cost": 7000, - "final_energy_cost": 3000, + "base_energy_cost": 8000, + "final_energy_cost": 4000, "energy_increment": -150, "base_casting_time": 200, "final_casting_time": 50, From b8512ea3ad0048916836f722015a9ccdbe292ab2 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:22:29 -0500 Subject: [PATCH 19/27] Update photokinesis_concentration_eoc.json --- .../photokinesis_concentration_eoc.json | 67 +++++++++++++------ 1 file changed, 48 insertions(+), 19 deletions(-) diff --git a/data/mods/MindOverMatter/powers/photokinesis_concentration_eoc.json b/data/mods/MindOverMatter/powers/photokinesis_concentration_eoc.json index b2242174c8a9b..c87a5c2612462 100644 --- a/data/mods/MindOverMatter/powers/photokinesis_concentration_eoc.json +++ b/data/mods/MindOverMatter/powers/photokinesis_concentration_eoc.json @@ -12,12 +12,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('photokinetic_light_local') * 300) + 1800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_light_local') * 260) + 1560) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('photokinetic_light_local') * 900) + 5400) * (scaling_factor(u_val('intelligence') ) ) *u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_light_local') * 870) + 3420) * (scaling_factor(u_val('intelligence') ) ) *u_nether_attunement_power_scaling" ] } ] @@ -45,12 +45,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('photokinetic_light_local') * 150) + 2500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_light_local') * 260) + 1560) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('photokinetic_light_local') * 360) + 4500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_light_local') * 870) + 3420) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -74,12 +74,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('photokinetic_rad_immunity') * 150) + 2500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_rad_immunity') * 18) + 370) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('photokinetic_rad_immunity') * 360) + 4500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_rad_immunity') * 182) + 810) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -111,12 +111,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('photokinetic_rad_immunity') * 150) + 2500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_rad_immunity') * 18) + 370) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('photokinetic_rad_immunity') * 360) + 4500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_rad_immunity') * 182) + 810) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -134,16 +134,16 @@ { "run_eocs": [ "EOC_POWER_MAINTENANCE_PLUS_ONE", "EOC_PHOTOKIN_CAMOUFLAGE_SWITCHER" ] }, { "u_cast_spell": { "id": "psionic_drained_difficulty_three", "hit_self": true } }, { - "queue_eocs": "EOC_PHOTOKIN_LIGHT_LOCAL_DRAIN", + "queue_eocs": "EOC_PHOTOKIN_CAMOUFLAGE_DRAIN", "time_in_future": [ { "math": [ - "( (u_spell_level('photokinetic_camouflage') * 50) + 600) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_camouflage') * 48) + 690) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('photokinetic_camouflage') * 100) + 1200) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_camouflage') * 113) + 1430) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -156,7 +156,7 @@ "id": "EOC_PHOTOKIN_CAMOUFLAGE_SWITCHER", "effect": [ { - "switch": { "u_val": "spell_level", "spell": "photokinetic_camouflage" }, + "switch": { "math": [ "u_spell_level('photokinetic_camouflage')" ] }, "cases": [ { "case": 0, "effect": { "u_add_trait": "PHOTOKINETIC_CAMOUFLAGE_1" } }, { "case": 4, "effect": { "u_add_trait": "PHOTOKINETIC_CAMOUFLAGE_2" } }, @@ -183,6 +183,33 @@ { "run_eocs": "EOC_POWER_MAINTENANCE_MINUS_ONE" } ] }, + { + "type": "effect_on_condition", + "id": "EOC_PHOTOKIN_CAMOUFLAGE_DRAIN", + "condition": { "u_has_effect": "effect_photokin_camouflage" }, + "effect": [ + { "u_cast_spell": { "id": "psionic_maintenance_drained_difficulty_three", "hit_self": true } }, + { "math": [ "u_val('stored_kcal')", "-=", "psionics_kcal_cost(3)" ] }, + { "math": [ "u_spell_exp('photokinetic_camouflage')", "+=", "(maintenance_exp_factor(u_val('focus')))" ] }, + { "run_eocs": "EOC_POWER_MAINTENANCE_CONCENTRATION_CHECK" }, + { + "queue_eocs": "EOC_PHOTOKIN_CAMOUFLAGE_DRAIN", + "time_in_future": [ + { + "math": [ + "( (u_spell_level('photokinetic_camouflage') * 48) + 690) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + ] + }, + { + "math": [ + "( (u_spell_level('photokinetic_camouflage') * 113) + 1430) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + ] + } + ] + } + ], + "false_effect": [ ] + }, { "type": "effect_on_condition", "id": "EOC_PHOTOKIN_HIDE_UGLY_INITIATE", @@ -204,7 +231,7 @@ }, { "math": [ - "( (u_spell_level('photokinetic_hide_ugly') * 55) + 800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_hide_ugly') * 55) + 890) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -216,7 +243,7 @@ "type": "effect_on_condition", "id": "EOC_PHOTOKIN_HIDE_UGLY_SWITCHER", "effect": { - "switch": { "u_val": "spell_level", "spell": "photokinetic_hide_ugly" }, + "switch": { "math": [ "u_spell_level('photokinetic_hide_ugly')" ] }, "cases": [ { "case": 0, "effect": { "u_add_trait": "PHOTOKIN_HIDE_UGLY_01" } }, { "case": 4, "effect": { "u_add_trait": "PHOTOKIN_HIDE_UGLY_02" } }, @@ -262,7 +289,7 @@ }, { "math": [ - "( (u_spell_level('photokinetic_hide_ugly') * 55) + 800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_hide_ugly') * 55) + 890) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -285,12 +312,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('photokinetic_radio') * 120) + 1800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_radio') * 126) + 1456) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('photokinetic_radio') * 180) + 5400) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_radio') * 772) + 5220) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -315,18 +342,20 @@ "condition": { "u_has_effect": "effect_photokinetic_radio" }, "effect": [ { "u_cast_spell": { "id": "psionic_maintenance_drained_difficulty_five", "hit_self": true } }, + { "math": [ "u_val('stored_kcal')", "-=", "psionics_kcal_cost(5)" ] }, + { "math": [ "u_spell_exp('photokinetic_radio')", "+=", "(maintenance_exp_factor(u_val('focus')))" ] }, { "run_eocs": "EOC_POWER_MAINTENANCE_CONCENTRATION_CHECK" }, { "queue_eocs": "EOC_PHOTOKIN_RADIO_DRAIN", "time_in_future": [ { "math": [ - "( (u_spell_level('photokinetic_radio') * 120) + 1800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_radio') * 126) + 1456) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('photokinetic_radio') * 180) + 5400) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('photokinetic_radio') * 772) + 5220) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] From be0a4c3006b1933ff3733fa9616f6efcc1580a84 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:22:44 -0500 Subject: [PATCH 20/27] Update clairsentience.json --- .../MindOverMatter/powers/clairsentience.json | 118 +++++++----------- 1 file changed, 47 insertions(+), 71 deletions(-) diff --git a/data/mods/MindOverMatter/powers/clairsentience.json b/data/mods/MindOverMatter/powers/clairsentience.json index 03d8abbfe1e66..e87b1ef609ed2 100644 --- a/data/mods/MindOverMatter/powers/clairsentience.json +++ b/data/mods/MindOverMatter/powers/clairsentience.json @@ -17,24 +17,23 @@ "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('clair_night_vision') * 20000) + 15000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_night_vision') * 15000) + 29000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('clair_night_vision') * 20000) + 180000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_night_vision') * 27000) + 98000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", "base_energy_cost": { "math": [ - "u_effect_intensity('effect_clair_night_eyes') > -1 ? 0 : max((1500 - (u_spell_level('clair_night_vision') * 50)), 500)" + "u_effect_intensity('effect_clair_night_eyes') > -1 ? 0 : max((1500 - (u_spell_level('clair_night_vision') * 65)), 500)" ] }, "base_casting_time": { "math": [ "u_effect_intensity('effect_clair_night_eyes') > -1 ? 10 : max((50 -(u_spell_level('clair_night_vision') * 2)), 20)" ] - }, - "learn_spells": { "clair_see_auras": 7, "clair_danger_sense": 9, "clair_voyance": 12, "clair_see_map": 18 } + } }, { "id": "clair_speed_reading", @@ -54,12 +53,12 @@ "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('clair_speed_reading') * 36000) + 360000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_speed_reading') * 37200) + 72000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('clair_speed_reading') * 72000) + 1080000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_speed_reading') * 81000) + 140000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", @@ -72,13 +71,6 @@ "math": [ "u_effect_intensity('effect_clair_speed_reader') > -1 ? 10 : max((500 -(u_spell_level('clair_speed_reading') * 12)), 250)" ] - }, - "learn_spells": { - "clair_spot_weakness": 5, - "clair_see_auras": 7, - "clair_ranged_enhance": 8, - "clair_voyance": 9, - "clair_clear_sight": 15 } }, { @@ -104,21 +96,20 @@ }, "max_duration": { "math": [ - "( (u_spell_level('clair_danger_sense') * 7500) + 90000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_danger_sense') * 7500) + 49000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", "base_energy_cost": { "math": [ - "u_effect_intensity('effect_clair_premonition') > -1 ? 0 : max((1500 - (u_spell_level('clair_danger_sense') * 85)), 850)" + "u_effect_intensity('effect_clair_premonition') > -1 ? 0 : max((2250 - (u_spell_level('clair_danger_sense') * 85)), 850)" ] }, "base_casting_time": { "math": [ "u_effect_intensity('effect_clair_premonition') > -1 ? 10 : max((85 -(u_spell_level('clair_danger_sense') * 7)), 25)" ] - }, - "learn_spells": { "clair_spot_weakness": 6, "clair_dodge_power": 12, "clair_clear_sight": 15 } + } }, { "id": "clair_spot_weakness", @@ -139,7 +130,7 @@ "shape": "blast", "min_range": { "math": [ - "min( (( (u_spell_level('clair_spot_weakness') * 1.1) + 1) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 100)" + "min( (( (u_spell_level('clair_spot_weakness') * 1.2) + 1) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 100)" ] }, "max_range": 100, @@ -150,18 +141,17 @@ }, "max_duration": { "math": [ - "( (u_spell_level('clair_spot_weakness') * 150) + 3000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_spot_weakness') * 250) + 3000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", - "base_energy_cost": 2500, - "final_energy_cost": 700, + "base_energy_cost": 3000, + "final_energy_cost": 1250, "energy_increment": -125, "base_casting_time": 150, "final_casting_time": 75, "casting_time_increment": -5.5, - "ignored_monster_species": [ "PSI_NULL" ], - "learn_spells": { "clair_ranged_enhance": 6, "clair_voyance": 10, "clair_craft_bonus": 12, "clair_clear_sight": 17 } + "ignored_monster_species": [ "PSI_NULL" ] }, { "id": "clair_see_auras", @@ -187,19 +177,18 @@ }, "max_duration": { "math": [ - "( (u_spell_level('clair_see_auras') * 19000) + 120000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_see_auras') * 19000) + 113000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", "base_energy_cost": { "math": [ - "u_effect_intensity('effect_clair_see_auras') > -1 ? 0 : max((4000 - (u_spell_level('clair_see_auras') * 125)), 1750)" + "u_effect_intensity('effect_clair_see_auras') > -1 ? 0 : max((4000 - (u_spell_level('clair_see_auras') * 115)), 1750)" ] }, "base_casting_time": { "math": [ "u_effect_intensity('effect_clair_see_auras') > -1 ? 10 : max((300 -(u_spell_level('clair_see_auras') * 8.5)), 100)" ] - }, - "learn_spells": { "clair_dodge_power": 9, "clair_craft_bonus": 12, "clair_clear_sight": 15 } + } }, { "id": "clair_sense_rads", @@ -218,8 +207,8 @@ "effect_str": "EOC_CLAIR_RAD_SENSE", "shape": "blast", "energy_source": "STAMINA", - "base_energy_cost": 2500, - "final_energy_cost": 500, + "base_energy_cost": 4500, + "final_energy_cost": 2000, "energy_increment": -125, "base_casting_time": 250, "final_casting_time": 100, @@ -298,31 +287,24 @@ "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('clair_ranged_enhance') * 800) + 20000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_ranged_enhance') * 800) + 21000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('clair_ranged_enhance') * 2500) + 60000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_ranged_enhance') * 2500) + 64000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", "base_energy_cost": { "math": [ - "u_effect_intensity('effect_clair_ranged_enhance') > -1 ? 0 : max((4000 - (u_spell_level('clair_ranged_enhance') * 175)), 1500)" + "u_effect_intensity('effect_clair_ranged_enhance') > -1 ? 0 : max((4500 - (u_spell_level('clair_ranged_enhance') * 135)), 2250)" ] }, "base_casting_time": { "math": [ "u_effect_intensity('effect_clair_ranged_enhance') > -1 ? 10 : max((200 -(u_spell_level('clair_ranged_enhance') * 6)), 125)" ] - }, - "learn_spells": { - "clair_spot_weakness": 5, - "clair_craft_bonus": 8, - "clair_see_map": 10, - "clair_perfect_shot": 12, - "clair_clear_sight": 16 } }, { @@ -360,21 +342,20 @@ }, "max_duration": { "math": [ - "( (u_spell_level('clair_voyance') * 50) + 1500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_voyance') * 110) + 1500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "field_id": "fd_clairvoyant", "min_field_intensity": 1, "max_field_intensity": 1, "energy_source": "STAMINA", - "base_energy_cost": 5000, - "final_energy_cost": 2500, - "energy_increment": -250, + "base_energy_cost": 6000, + "final_energy_cost": 3500, + "energy_increment": -195, "base_casting_time": 1000, "final_casting_time": 500, "casting_time_increment": -25, - "ignored_monster_species": [ "PSI_NULL" ], - "learn_spells": { "clair_dodge_power": 8, "clair_see_map": 12, "clair_omniscience": 20 } + "ignored_monster_species": [ "PSI_NULL" ] }, { "id": "clair_dodge_power", @@ -394,22 +375,21 @@ "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('clair_dodge_power') * 1000) + 12000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_dodge_power') * 900) + 12000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('clair_dodge_power') * 2000) + 45000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_dodge_power') * 1700) + 45000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", "base_energy_cost": { - "math": [ "u_effect_intensity('effect_clair_dodge') > -1 ? 0 : max((5500 - (u_spell_level('clair_dodge_power') * 145)), 2250)" ] + "math": [ "u_effect_intensity('effect_clair_dodge') > -1 ? 0 : max((5500 - (u_spell_level('clair_dodge_power') * 145)), 2750)" ] }, "base_casting_time": { "math": [ "u_effect_intensity('effect_clair_dodge') > -1 ? 10 : max((150 -(u_spell_level('clair_dodge_power') * 9)), 70)" ] - }, - "learn_spells": { "clair_spot_weakness": 3, "clair_ranged_enhance": 6, "clair_clear_sight": 10, "clair_perfect_shot": 12 } + } }, { "id": "clair_craft_bonus", @@ -440,15 +420,14 @@ "energy_source": "STAMINA", "base_energy_cost": { "math": [ - "u_effect_intensity('effect_clair_craft_bonus') > -1 ? 0 : max((5500 - (u_spell_level('clair_craft_bonus') * 145)), 2250)" + "u_effect_intensity('effect_clair_craft_bonus') > -1 ? 0 : max((6500 - (u_spell_level('clair_craft_bonus') * 145)), 3250)" ] }, "base_casting_time": { "math": [ - "u_effect_intensity('effect_clair_craft_bonus') > -1 ? 10 : max((150 -(u_spell_level('clair_craft_bonus') * 9)), 70)" + "u_effect_intensity('effect_clair_craft_bonus') > -1 ? 10 : max((500 -(u_spell_level('clair_craft_bonus') * 3)), 300)" ] - }, - "learn_spells": { "clair_clear_sight": 8, "clair_omniscience": 12 } + } }, { "id": "clair_perfect_shot", @@ -470,8 +449,8 @@ "min_duration": 1000, "max_duration": 1000, "energy_source": "STAMINA", - "base_energy_cost": 6500, - "final_energy_cost": 3500, + "base_energy_cost": 7500, + "final_energy_cost": 5000, "energy_increment": -160, "base_casting_time": 100, "final_casting_time": 35, @@ -495,7 +474,7 @@ "shape": "blast", "min_aoe": { "math": [ - "( (u_spell_level('clair_see_map') * 1) + 4) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_see_map') * 0.5) + 4) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_aoe": { @@ -505,8 +484,7 @@ }, "energy_source": "STAMINA", "base_energy_cost": 9000, - "base_casting_time": 6000, - "learn_spells": { "clair_omniscience": 12 } + "base_casting_time": 6000 }, { "id": "clair_clear_sight", @@ -537,15 +515,14 @@ "energy_source": "STAMINA", "base_energy_cost": { "math": [ - "u_effect_intensity('effect_clair_clear_sight') > -1 ? 0 : max((5000 - (u_spell_level('clair_clear_sight') * 150)), 2000)" + "u_effect_intensity('effect_clair_clear_sight') > -1 ? 0 : max((8000 - (u_spell_level('clair_clear_sight') * 150)), 4500)" ] }, "base_casting_time": { "math": [ "u_effect_intensity('effect_clair_clear_sight') > -1 ? 10 : max((75 -(u_spell_level('clair_clear_sight') * 3.5)), 25)" ] - }, - "learn_spells": { "clair_omniscience": 7 } + } }, { "id": "clair_group_tactics", @@ -565,18 +542,18 @@ "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('clair_group_tactics') * 1200) + 6000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_group_tactics') * 900) + 6000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('clair_group_tactics') * 2500) + 18000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_group_tactics') * 2300) + 18000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", "base_energy_cost": { "math": [ - "u_effect_intensity('effect_clair_group_tactics_self') > -1 ? 0 : max((6500 - (u_spell_level('clair_group_tactics') * 150)), 2500)" + "u_effect_intensity('effect_clair_group_tactics_self') > -1 ? 0 : max((7500 - (u_spell_level('clair_group_tactics') * 125)), 4000)" ] }, "base_casting_time": { @@ -604,21 +581,20 @@ "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('clair_omniscience') * 100) + 200) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_omniscience') * 75) + 200) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('clair_omniscience') * 100) + 1000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_omniscience') * 150) + 1000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", "base_energy_cost": 10000, "final_energy_cost": 7500, - "energy_increment": -250, + "energy_increment": -115, "base_casting_time": 75, "final_casting_time": 25, - "casting_time_increment": -3.5, - "learn_spells": { "clair_omniscience": 7 } + "casting_time_increment": -3.5 } ] From c5ac4f8515c249629ab8fa6e061c46ce47b458f1 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:22:54 -0500 Subject: [PATCH 21/27] Update clairsentience_concentration_eocs.json --- .../clairsentience_concentration_eocs.json | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/data/mods/MindOverMatter/powers/clairsentience_concentration_eocs.json b/data/mods/MindOverMatter/powers/clairsentience_concentration_eocs.json index cea62060a79ab..db1c1ba53e7bf 100644 --- a/data/mods/MindOverMatter/powers/clairsentience_concentration_eocs.json +++ b/data/mods/MindOverMatter/powers/clairsentience_concentration_eocs.json @@ -13,12 +13,12 @@ "time_in_future": [ { "math": [ - "( ( (u_spell_level('clair_night_vision') * 200 ) + 150) * (scaling_factor(u_val('intelligence') ) ) ) * u_nether_attunement_power_scaling" + "( ( (u_spell_level('clair_night_vision') * 150 ) + 290) * (scaling_factor(u_val('intelligence') ) ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( ( (u_spell_level('clair_night_vision') * 200 ) + 1800) * (scaling_factor(u_val('intelligence') ) ) ) * u_nether_attunement_power_scaling" + "( ( (u_spell_level('clair_night_vision') * 270 ) + 980) * (scaling_factor(u_val('intelligence') ) ) ) * u_nether_attunement_power_scaling" ] } ] @@ -30,7 +30,7 @@ "type": "effect_on_condition", "id": "EOC_CLAIR_NIGHT_EYES_SWITCHER", "effect": { - "switch": { "u_val": "spell_level", "spell": "clair_night_vision" }, + "switch": { "math": [ "u_spell_level('clair_night_vision')" ] }, "cases": [ { "case": 0, "effect": { "u_add_effect": "effect_clair_night_eyes_1", "duration": "PERMANENT" } }, { "case": 3, "effect": { "u_add_effect": "effect_clair_night_eyes_2", "duration": "PERMANENT" } }, @@ -74,12 +74,12 @@ "time_in_future": [ { "math": [ - "( ( (u_spell_level('clair_night_vision') * 200 ) + 150) * (scaling_factor(u_val('intelligence') ) ) ) * u_nether_attunement_power_scaling" + "( ( (u_spell_level('clair_night_vision') * 150 ) + 290) * (scaling_factor(u_val('intelligence') ) ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( ( (u_spell_level('clair_night_vision') * 200 ) + 1800) * (scaling_factor(u_val('intelligence') ) ) ) * u_nether_attunement_power_scaling" + "( ( (u_spell_level('clair_night_vision') * 270 ) + 980) * (scaling_factor(u_val('intelligence') ) ) ) * u_nether_attunement_power_scaling" ] } ] @@ -102,12 +102,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('clair_speed_reading') * 360) + 3600) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_speed_reading') * 372) + 7200) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('clair_speed_reading') * 720) + 10800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_speed_reading') * 810) + 1400) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -140,12 +140,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('clair_speed_reading') * 360) + 3600) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_speed_reading') * 372) + 720) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('clair_speed_reading') * 720) + 10800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_speed_reading') * 810) + 1400) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -172,7 +172,7 @@ }, { "math": [ - "( (u_spell_level('clair_see_auras') * 190) + 1200) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_see_auras') * 190) + 1130) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -205,7 +205,7 @@ }, { "math": [ - "( (u_spell_level('clair_see_auras') * 190) + 1200) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_see_auras') * 190) + 1130) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -232,7 +232,7 @@ }, { "math": [ - "( (u_spell_level('clair_danger_sense') * 75) + 900) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_danger_sense') * 75) + 490) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -265,7 +265,7 @@ }, { "math": [ - "( (u_spell_level('clair_danger_sense') * 75) + 900) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_danger_sense') * 75) + 490) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -287,12 +287,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('clair_ranged_enhance') * 8) + 200) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_ranged_enhance') * 8) + 210) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('clair_ranged_enhance') * 25) + 600) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_ranged_enhance') * 25) + 640) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -320,12 +320,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('clair_ranged_enhance') * 8) + 200) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_ranged_enhance') * 8) + 210) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('clair_ranged_enhance') * 25) + 600) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_ranged_enhance') * 25) + 640) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -347,12 +347,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('clair_dodge_power') * 10) + 120) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_dodge_power') * 9) + 120) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('clair_dodge_power') * 20) + 450) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_dodge_power') * 17) + 450) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -380,12 +380,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('clair_dodge_power') * 10) + 120) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_dodge_power') * 9) + 120) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('clair_dodge_power') * 20) + 450) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_dodge_power') * 17) + 450) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -424,7 +424,7 @@ "type": "effect_on_condition", "id": "EOC_CLAIR_CRAFT_BONUS_SWITCHER", "effect": { - "switch": { "u_val": "spell_level", "spell": "clair_craft_bonus" }, + "switch": { "math": [ "u_spell_level('clair_craft_bonus')" ] }, "cases": [ { "case": 0, "effect": { "u_add_trait": "CLAIR_CRAFT_BONUS_01" } }, { "case": 4, "effect": { "u_add_trait": "CLAIR_CRAFT_BONUS_02" } }, @@ -554,12 +554,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('clair_group_tactics') * 12) + 60) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_group_tactics') * 9) + 60) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('clair_group_tactics') * 25) + 180) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_group_tactics') * 23) + 180) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -590,12 +590,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('clair_group_tactics') * 12) + 60) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_group_tactics') * 9) + 60) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('clair_group_tactics') * 25) + 180) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('clair_group_tactics') * 23) + 180) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] From 1f7504e4375d41a121ade751cb952c659ad332e6 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:26:03 -0500 Subject: [PATCH 22/27] Update professions.json --- data/mods/MindOverMatter/professions.json | 40 ++++++++++++++++------- 1 file changed, 28 insertions(+), 12 deletions(-) diff --git a/data/mods/MindOverMatter/professions.json b/data/mods/MindOverMatter/professions.json index c04d8f3d040f9..347e3d3f0b733 100644 --- a/data/mods/MindOverMatter/professions.json +++ b/data/mods/MindOverMatter/professions.json @@ -70,19 +70,29 @@ "female": { "entries": [ { "item": "sports_bra" }, { "item": "panties" } ] } } }, - { + { "type": "profession", "id": "psi_clairsentient_doomseer", "name": "Doomseer", "description": "You knew the world was going to end, but they never listened. They never listened! They couldn't see the things that walked among them! They didn't know what you had seen, what you knew was coming, and where are they now? In a zombie's stomach or walking with those corpses themselves, but you're still alive.", "points": 0, - "skills": [ { "level": 3, "name": "speech" }, { "level": 3, "name": "metaphysics" }, { "level": 3, "name": "survival" } ], + "skills": [ { "level": 4, "name": "speech" }, { "level": 5, "name": "metaphysics" }, { "level": 3, "name": "survival" } ], "traits": [ "CLAIRSENTIENT", "CLAIR_SENSES", "SCHIZOPHRENIC" ], "spells": [ { "id": "clair_night_vision", "level": 4 }, - { "id": "clair_danger_sense", "level": 3 }, - { "id": "clair_spot_weakness", "level": 3 }, - { "id": "clair_voyance", "level": 2 } + { "id": "clair_danger_sense", "level": 10 }, + { "id": "clair_speed_reading", "level": 9 }, + { "id": "clair_see_auras", "level": 8 }, + { "id": "clair_spot_weakness", "level": 5 }, + { "id": "clair_voyance", "level": 6 } + ], + "recipes": [ + "practice_clair_night_vision", + "practice_clair_danger_sense", + "practice_clair_speed_reading", + "practice_clair_aura_sight", + "practice_clair_spot_weakness", + "practice_clair_voyance" ], "items": { "both": { @@ -91,6 +101,7 @@ { "item": "socks" }, { "item": "robe" }, { "item": "lowtops" }, + { "item": "matrix_crystal_clairsentience" }, { "item": "newest_newspaper" }, { "item": "weeks_old_newspaper" }, { "item": "months_old_newspaper" }, @@ -157,19 +168,23 @@ "id": "psi_photokinetic_magician", "name": "Magician", "description": "Ever since you were a young kid, you just loved magic. Growing up you managed to become a professional magician and even performed at a few big shows. You were practicing a new trick when the Cataclysm hit, when you realized you don't need to practice anymore. You can just do it, for real.", - "points": 4, + "points": 8, "skills": [ { "level": 2, "name": "cooking" }, { "level": 1, "name": "driving" }, - { "level": 2, "name": "metaphysics" }, - { "level": 4, "name": "speech" } + { "level": 3, "name": "swimming" }, + { "level": 3, "name": "metaphysics" }, + { "level": 5, "name": "speech" } ], "traits": [ "FAST_REFLEXES", "PHOTOKINETIC", "PHOTO_EYES" ], "spells": [ - { "id": "photokinetic_snuff_light", "level": 4 }, - { "id": "photokinetic_light_dodge", "level": 3 }, - { "id": "photokinetic_light_beam", "level": 4 }, - { "id": "photokinetic_light_arms", "level": 2 } + { "id": "photokinetic_light_local", "level": 6 }, + { "id": "photokinetic_create_light", "level": 9 }, + { "id": "photokinetic_snuff_light", "level": 9 }, + { "id": "photokinetic_camouflage", "level": 6 }, + { "id": "photokinetic_light_dodge", "level": 8 }, + { "id": "photokinetic_light_beam", "level": 6 }, + { "id": "photokinetic_light_arms", "level": 7 } ], "items": { "both": { @@ -177,6 +192,7 @@ { "item": "socks" }, { "item": "jeans" }, { "item": "sneakers" }, + { "item": "matrix_crystal_drained" }, { "item": "tshirt", "variant": "generic_tshirt" }, { "item": "deck_of_cards" }, { "item": "tophat" }, From 668f6b36816d83146db03827d52c0f15336e958a Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:32:17 -0500 Subject: [PATCH 23/27] Update biokinesis_concentration_eocs.json --- .../MindOverMatter/powers/biokinesis_concentration_eocs.json | 1 - 1 file changed, 1 deletion(-) diff --git a/data/mods/MindOverMatter/powers/biokinesis_concentration_eocs.json b/data/mods/MindOverMatter/powers/biokinesis_concentration_eocs.json index c75d590dde4f1..bb9dac630b852 100644 --- a/data/mods/MindOverMatter/powers/biokinesis_concentration_eocs.json +++ b/data/mods/MindOverMatter/powers/biokinesis_concentration_eocs.json @@ -415,7 +415,6 @@ "id": "EOC_BIOKIN_HAMMERHAND_DRAIN", "condition": { "u_has_effect": "biokin_hammerhand" }, "effect": [ - { "u_cast_spell": { "id": "psionic_maintenance_drained_difficulty_five", "hit_self": true } }, { "u_cast_spell": { "id": "psionic_maintenance_drained_difficulty_five", "hit_self": true } }, { "math": [ "u_val('stored_kcal')", "-=", "psionics_kcal_cost(5)" ] }, { "math": [ "u_spell_exp('biokin_hammerhand')", "+=", "(maintenance_exp_factor(u_val('focus')))" ] }, From d1f97acca8f72015a847e1a3092f22366316ddb6 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:39:32 -0500 Subject: [PATCH 24/27] Update data/mods/MindOverMatter/effects/effects_psionic.json Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- data/mods/MindOverMatter/effects/effects_psionic.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/mods/MindOverMatter/effects/effects_psionic.json b/data/mods/MindOverMatter/effects/effects_psionic.json index 3856f1550cf1e..9f233d332f1b6 100644 --- a/data/mods/MindOverMatter/effects/effects_psionic.json +++ b/data/mods/MindOverMatter/effects/effects_psionic.json @@ -550,7 +550,7 @@ "rating": "good", "max_duration": "7 days" }, - { + { "type": "effect_type", "id": "effect_clair_night_eyes_1", "name": [ "Night Eyes" ], From bc380e84e9bb10b5f3f443291baed403c4e43d47 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:39:38 -0500 Subject: [PATCH 25/27] Update data/mods/MindOverMatter/professions.json Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- data/mods/MindOverMatter/professions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/mods/MindOverMatter/professions.json b/data/mods/MindOverMatter/professions.json index 347e3d3f0b733..e48d1a37a439a 100644 --- a/data/mods/MindOverMatter/professions.json +++ b/data/mods/MindOverMatter/professions.json @@ -70,7 +70,7 @@ "female": { "entries": [ { "item": "sports_bra" }, { "item": "panties" } ] } } }, - { + { "type": "profession", "id": "psi_clairsentient_doomseer", "name": "Doomseer", From 01be47b7d88d8f74f129713126cc782b58c7b594 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Wed, 4 Sep 2024 08:59:30 -0500 Subject: [PATCH 26/27] Apply test fix --- tests/reloading_test.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/reloading_test.cpp b/tests/reloading_test.cpp index 09509a8a01e3b..ccb30585bae3a 100644 --- a/tests/reloading_test.cpp +++ b/tests/reloading_test.cpp @@ -799,8 +799,6 @@ TEST_CASE( "reload_gun_with_integral_magazine_using_speedloader", "[reload],[gun // Make sure the player doesn't drop anything :P dummy.wear_item( item( "backpack", calendar::turn_zero ) ); - item_location ammo = dummy.i_add( item( "38_special", calendar::turn_zero, - item::default_charges_tag{} ) ); item_location speedloader = dummy.i_add( item( "38_speedloader", calendar::turn_zero, false ) ); item_location ammo = dummy.i_add( item( "38_special", calendar::turn_zero, speedloader->remaining_ammo_capacity() ) ); From 7180f49f5f335ae2dce86e1b46668043eb31d862 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Wed, 4 Sep 2024 10:01:10 -0500 Subject: [PATCH 27/27] Re-add contemplation difficulty jmath for now until all backporting is done --- data/mods/MindOverMatter/jmath.json | 60 +++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/data/mods/MindOverMatter/jmath.json b/data/mods/MindOverMatter/jmath.json index c9b6950859fba..90c22a0456da2 100644 --- a/data/mods/MindOverMatter/jmath.json +++ b/data/mods/MindOverMatter/jmath.json @@ -137,5 +137,65 @@ "id": "jmath_vitakinesis_learning_eocs_modifiers", "num_args": 1, "return": "_0 * max(( 1 - ( ( ( u_val('intelligence') + 23.33) / 33.33 ) ) + 1 ),0.4) * (1 - (0.2 * u_has_proficiency('prof_contemplation_vitakinesis')))" + }, + { + "type": "jmath_function", + "id": "difficulty_one_contemplation", + "num_args": 1, + "return": "_0 * 49417" + }, + { + "type": "jmath_function", + "id": "difficulty_two_contemplation", + "num_args": 1, + "return": "_0 * 49417" + }, + { + "type": "jmath_function", + "id": "difficulty_three_contemplation", + "num_args": 1, + "return": "_0 * 49417" + }, + { + "type": "jmath_function", + "id": "difficulty_four_contemplation", + "num_args": 1, + "return": "_0 * 35278" + }, + { + "type": "jmath_function", + "id": "difficulty_five_contemplation", + "num_args": 1, + "return": "_0 * 35278" + }, + { + "type": "jmath_function", + "id": "difficulty_six_contemplation", + "num_args": 1, + "return": "_0 * 20513" + }, + { + "type": "jmath_function", + "id": "difficulty_seven_contemplation", + "num_args": 1, + "return": "_0 * 20513" + }, + { + "type": "jmath_function", + "id": "difficulty_eight_contemplation", + "num_args": 1, + "return": "_0 * 13722" + }, + { + "type": "jmath_function", + "id": "difficulty_nine_contemplation", + "num_args": 1, + "return": "_0 * 13722" + }, + { + "type": "jmath_function", + "id": "difficulty_ten_contemplation", + "num_args": 1, + "return": "_0 * 13722" } ]