diff --git a/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json b/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json index f331f5d4b8ea7..c055dca93e35d 100644 --- a/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json +++ b/data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json @@ -983,7 +983,6 @@ "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", @@ -1004,12 +1003,6 @@ } ] }, - { - "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", diff --git a/data/mods/MindOverMatter/effects/effects_psionic.json b/data/mods/MindOverMatter/effects/effects_psionic.json index 9f233d332f1b6..e3ca2b4654fcd 100644 --- a/data/mods/MindOverMatter/effects/effects_psionic.json +++ b/data/mods/MindOverMatter/effects/effects_psionic.json @@ -366,7 +366,7 @@ "type": "effect_type", "id": "effect_biokin_metabolism_enhance", "name": [ "Hyperenhanced Metabolism" ], - "desc": [ "c ." ], + "desc": [ "Your metabolism is far more efficient than before." ], "apply_message": "", "remove_message": "Your stomach rumbles.", "rating": "good", diff --git a/data/mods/MindOverMatter/items/teleporter_start_items.json b/data/mods/MindOverMatter/items/teleporter_start_items.json index 4af8c0724f133..8ee039e176ac7 100644 --- a/data/mods/MindOverMatter/items/teleporter_start_items.json +++ b/data/mods/MindOverMatter/items/teleporter_start_items.json @@ -22,7 +22,7 @@ "range": 45, "ammo_effects": [ "PLASMA", "PLASMA_BUBBLE", "INCENDIARY" ], "ammo": [ "mom_fusion_ammo" ], - "pocket_data": [ { "pocket_type": "MAGAZINE_WELL", "item_restriction": [ "mom_fusion_mag" ] } ], + "pocket_data": [ { "pocket_type": "MAGAZINE_WELL", "magazine_well": "25 ml", "item_restriction": [ "mom_fusion_mag" ] } ], "flags": [ "NEVER_JAMS", "NON_FOULING", "NEEDS_NO_LUBE" ] }, { @@ -45,8 +45,8 @@ "type": "AMMO", "name": { "str": "Ch47 power cartridge" }, "description": "Power cartridges for the Ch47. You had better make every shot count, because there's no way you're finding any more of these.", - "weight": "20 g", - "volume": "192 ml", + "weight": "1 g", + "volume": "1 ml", "price": 160, "price_postapoc": 800, "flags": [ "IRREPLACEABLE_CONSUMABLE" ], @@ -84,7 +84,19 @@ "copy-from": "holster", "type": "ARMOR", "name": { "str": "Ch47 holster" }, - "description": "A holster for the Ch47. You could put one of the primitive local ranged weapons in here too, if you had to." + "description": "A holster for the Ch47. You could put one of the primitive local ranged weapons in here too, if you had to.", + "pocket_data": [ + { + "magazine_well": "350 ml", + "pocket_type": "CONTAINER", + "holster": true, + "min_item_volume": "250 ml", + "max_contains_volume": "1000 ml", + "max_contains_weight": "2 kg", + "max_item_length": "30 cm", + "moves": 50 + } + ] }, { "id": "itzcuauhtli_tunic", diff --git a/data/mods/MindOverMatter/mutations/traits.json b/data/mods/MindOverMatter/mutations/traits.json index bd19412be0864..00bd4316e0d01 100644 --- a/data/mods/MindOverMatter/mutations/traits.json +++ b/data/mods/MindOverMatter/mutations/traits.json @@ -93,12 +93,7 @@ "starting_trait": false, "purifiable": false, "valid": false, - "spells_learned": [ - [ "telekinetic_pull", 2 ], - [ "telekinetic_push", 2 ], - [ "telekinetic_momentum", 2 ], - [ "classless_toggleable_concentration_end", 1 ] - ] + "spells_learned": [ [ "telekinetic_pull", 2 ], [ "telekinetic_push", 2 ], [ "classless_toggleable_concentration_end", 1 ] ] }, { "type": "mutation", @@ -109,12 +104,7 @@ "starting_trait": false, "purifiable": false, "valid": false, - "spells_learned": [ - [ "teleport_blink", 2 ], - [ "teleport_slow", 2 ], - [ "teleport_transpose", 2 ], - [ "classless_toggleable_concentration_end", 1 ] - ] + "spells_learned": [ [ "teleport_blink", 2 ], [ "teleport_slow", 2 ], [ "classless_toggleable_concentration_end", 1 ] ] }, { "type": "mutation", @@ -125,12 +115,16 @@ "starting_trait": false, "purifiable": false, "valid": false, - "spells_learned": [ - [ "vita_stop_bleeding", 2 ], - [ "vita_health_power", 2 ], - [ "vita_hurt_touch", 2 ], - [ "classless_toggleable_concentration_end", 1 ] - ] + "spells_learned": [ [ "vita_stop_bleeding", 2 ], [ "vita_health_power", 2 ], [ "classless_toggleable_concentration_end", 1 ] ] + }, + { + "type": "mutation", + "id": "FIFTH_SUN_PEOPLE", + "name": { "str": "Fifth Sun People" }, + "points": 0, + "description": "You aren't from this universe and hopefully someday you can go home. This is a hidden trait, used for dialogue.", + "valid": false, + "player_display": false }, { "type": "mutation", diff --git a/data/mods/MindOverMatter/powers/biokinesis.json b/data/mods/MindOverMatter/powers/biokinesis.json index 065c4f4b1f8eb..fb85d2e40e68f 100644 --- a/data/mods/MindOverMatter/powers/biokinesis.json +++ b/data/mods/MindOverMatter/powers/biokinesis.json @@ -234,7 +234,7 @@ "id": "biokin_adrenaline", "type": "SPELL", "name": "[Ψ]Adrenaline Trigger", - "description": "With a moment of concentration, you can trigger a surge of adrenaline. This provides a .", + "description": "With a moment of concentration, you can trigger a surge of adrenaline. This provides a speed boost, albeit at a draining cost when the boost expires.", "message": "Your heartbeat surges as your body floods with adrenaline.", "teachable": false, "valid_targets": [ "self" ], diff --git a/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json b/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json new file mode 100644 index 0000000000000..09e83855b4ff5 --- /dev/null +++ b/data/mods/MindOverMatter/powers/learning_eocs/telekinesis.json @@ -0,0 +1,1165 @@ +[ + { + "type": "effect_on_condition", + "id": "EOC_TELEKIN_LEARNING_NOISEMAKER", + "recurrence": [ + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEKINETIC" }, + { "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('telekinetic_noise')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_telekinetic_noise" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_noise')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_telekinetic_noise" }, + { + "u_message": "Use of your powers has led to an insight. You could use a quick burst of telekinetic force to create noise, luring enemies away from you or toward a trapped location, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEKIN_LEARNING_SLAM_DOWN", + "recurrence": [ "12 hours", "24 hours" ], + "condition": { + "and": [ + { "u_has_trait": "TELEKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 20 } }, + { + "or": [ + { "math": [ "u_spell_level('telekinetic_push')", ">=", "4" ] }, + { "math": [ "u_spell_level('telekinetic_noise')", ">=", "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('telekinetic_slam_down')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_telekinetic_slam_down" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_slam_down')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_telekinetic_slam_down" }, + { + "u_message": "Use of your powers has led to an insight. Instead of just shoving someone away from your location, you could direct the force orthogonally to knock someone to the ground, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEKIN_LEARNING_MOMENTUM", + "recurrence": [ + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 20 } }, + { + "and": [ + { "math": [ "u_spell_level('telekinetic_push')", ">=", "5" ] }, + { "math": [ "u_spell_level('telekinetic_pull')", ">=", "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('telekinetic_momentum')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_telekinetic_momentum" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_momentum')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_telekinetic_momentum" }, + { + "u_message": "Use of your powers has led to an insight. Instead of just applying all of your force at once, you could apply it gradually to all movement around you, making yourself slightly faster and anything dangerous slightly slower, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEKIN_LEARNING_SLOWFALL", + "recurrence": [ + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 20 } }, + { "and": [ { "math": [ "u_spell_level('telekinetic_momentum')", ">=", "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('telekinetic_slowfall')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_telekinetic_slowfall" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_slowfall')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_telekinetic_slowfall" }, + { + "u_message": "Use of your powers has led to an insight. You could lift yourself just a little, slowing you any time you take a fall and making swimming much easier, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEKIN_LEARNING_WAVE", + "recurrence": [ + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { "math": [ "u_spell_level('telekinetic_push')", ">=", "7" ] }, + { "math": [ "u_spell_level('telekinetic_slam_down')", ">=", "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('telekinetic_wave')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_telekinetic_wave" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_wave')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_telekinetic_wave" }, + { + "u_message": "Use of your powers has led to an insight. You could release force in all directions, knocking back everyone surrounding you all at once, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEKIN_LEARNING_STRENGTH", + "recurrence": [ + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { + "or": [ + { "math": [ "u_spell_level('telekinetic_pull')", ">=", "6" ] }, + { "math": [ "u_spell_level('telekinetic_push')", ">=", "6" ] } + ] + }, + { "math": [ "u_spell_level('telekinetic_momentum')", ">=", "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('telekinetic_strength')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_telekinetic_strength" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_strength')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_telekinetic_strength" }, + { + "u_message": "Use of your powers has led to an insight. You could enhance your own strength, allowing you to pull much heavier objects or smash through study doors and walls, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEKIN_LEARNING_HAMMER", + "recurrence": [ + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { + "or": [ + { "math": [ "u_spell_level('telekinetic_wave')", ">=", "4" ] }, + { "math": [ "u_spell_level('telekinetic_push')", ">=", "8" ] } + ] + }, + { "math": [ "u_spell_level('telekinetic_slam_down')", ">=", "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('telekinetic_hammer')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_telekinetic_hammer" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_hammer')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_telekinetic_hammer" }, + { + "u_message": "Use of your powers has led to an insight. You could concentrate your application of force into a blunt instrument, shattering bones and splintering furniture, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEKIN_LEARNING_VEHICLE_LIFT", + "recurrence": [ + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "or": [ + { + "and": [ + { "math": [ "u_spell_level('telekinetic_pull')", ">=", "8" ] }, + { "math": [ "u_spell_level('telekinetic_slowfall')", ">=", "8" ] } + ] + }, + { "math": [ "u_spell_level('telekinetic_strength')", ">=", "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('telekinetic_vehicle_lift')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_telekinetic_vehicle_lift" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_vehicle_lift')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_telekinetic_vehicle_lift" }, + { + "u_message": "Use of your powers has led to an insight. Rather than smashing objects with your telekinetic strength, you could apply it to lifting a car, allowing you to work on the undercarriage without a jack, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEKIN_LEARNING_SHIELD", + "recurrence": [ + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { "math": [ "u_spell_level('telekinetic_wave')", ">=", "8" ] }, + { "math": [ "u_spell_level('telekinetic_momentum')", ">=", "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('telekinetic_shield')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_telekinetic_shield" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_shield')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_telekinetic_shield" }, + { + "u_message": "Use of your powers has led to an insight. You could create a barrier of force around yourself, shielding you from harm, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEKIN_LEARNING_EXPLOSION", + "recurrence": [ + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "and": [ + { + "or": [ + { "math": [ "u_spell_level('telekinetic_slam_down')", ">=", "12" ] }, + { "math": [ "u_spell_level('telekinetic_hammer')", ">=", "7" ] } + ] + }, + { + "or": [ + { "math": [ "u_spell_level('telekinetic_push')", ">=", "10" ] }, + { "math": [ "u_spell_level('telekinetic_pull')", ">=", "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('telekinetic_explosion')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_telekinetic_explosion" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_explosion')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_telekinetic_explosion" }, + { + "u_message": "Use of your powers has led to an insight. Rather than striking a single point, you could create an explosion of telekinetic force, damaging an entire area, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEKIN_LEARNING_LEVITATION", + "recurrence": [ + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "and": [ + { + "or": [ + { "math": [ "u_spell_level('telekinetic_push')", ">=", "12" ] }, + { "math": [ "u_spell_level('telekinetic_vehicle_lift')", ">=", "5" ] } + ] + }, + { "math": [ "u_spell_level('telekinetic_slowfall')", ">=", "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('telekinetic_levitation')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_telekinetic_levitation" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_levitation')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_telekinetic_levitation" }, + { + "u_message": "Use of your powers has led to an insight. Rather than simply slowing your fall, you could stop it, completely defying gravity and walking on air, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEKIN_LEARNING_AEGIS", + "recurrence": [ + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "and": [ + { + "or": [ + { "math": [ "u_spell_level('telekinetic_wave')", ">=", "8" ] }, + { "math": [ "u_spell_level('telekinetic_slowfall')", ">=", "9" ] } + ] + }, + { + "or": [ + { "math": [ "u_spell_level('telekinetic_momentum')", ">=", "12" ] }, + { "math": [ "u_spell_level('telekinetic_strength')", ">=", "8" ] } + ] + }, + { "math": [ "u_spell_level('telekinetic_shield')", ">=", "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('telekinetic_aegis')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_telekinetic_aegis" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_aegis')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_telekinetic_aegis" }, + { + "u_message": "Use of your powers has led to an insight. You could take all the energy of a telekinetic shield and pour it into a single instant, forming a barrier strong enough to repel a ballistic missile, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEKIN_LEARNING_EARTHSHAKER", + "recurrence": [ + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_telekinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "and": [ + { + "or": [ + { "math": [ "u_spell_level('telekinetic_explosion')", ">=", "8" ] }, + { "math": [ "u_spell_level('telekinetic_wave')", ">=", "13" ] } + ] + }, + { + "or": [ + { "math": [ "u_spell_level('telekinetic_move_large_weight')", ">=", "5" ] }, + { "math": [ "u_spell_level('telekinetic_hammer')", ">=", "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('telekinetic_earthshaker')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_telekinetic_earthshaker" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "TELEKINETIC" } }, { "math": [ "u_spell_level('telekinetic_earthshaker')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_telekinetic_earthshaker" }, + { + "u_message": "Use of your powers has led to an insight. You could grab the very earth with your powers, shaking it and causing a minor local earthquake, if you can figure out the proper technique.", + "popup": true + } + ] + } +] diff --git a/data/mods/MindOverMatter/powers/learning_eocs/teleportation.json b/data/mods/MindOverMatter/powers/learning_eocs/teleportation.json new file mode 100644 index 0000000000000..ccc0482633cc0 --- /dev/null +++ b/data/mods/MindOverMatter/powers/learning_eocs/teleportation.json @@ -0,0 +1,786 @@ +[ + { + "type": "effect_on_condition", + "id": "EOC_TELEPORT_LEARNING_PHASE", + "recurrence": [ + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEPORTER" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ { "x_in_y_chance": { "x": 1, "y": 20 } }, { "math": [ "u_spell_level('teleport_blink')", ">=", "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('teleport_phase')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_teleport_phase" } } + ] + }, + "deactivate_condition": { "or": [ { "not": { "u_has_trait": "TELEPORTER" } }, { "math": [ "u_spell_level('teleport_phase')", ">=", "1" ] } ] }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_teleport_phase" }, + { + "u_message": "Use of your powers has led to an insight. You could control your teleporting, traveling short distances without crossing the intervening space, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEPORT_LEARNING_STRIDE", + "recurrence": [ + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEPORTER" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 20 } }, + { + "and": [ + { "math": [ "u_spell_level('teleport_phase')", ">=", "4" ] }, + { "math": [ "u_spell_level('teleport_slow')", ">=", "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('teleport_stride')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_teleport_stride" } } + ] + }, + "deactivate_condition": { "or": [ { "not": { "u_has_trait": "TELEPORTER" } }, { "math": [ "u_spell_level('teleport_stride')", ">=", "1" ] } ] }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_teleport_stride" }, + { + "u_message": "Use of your powers has led to an insight. Rather than expanding space, you could collapse it, making each of your steps cover a larger area of ground despite not moving any more quickly, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEPORT_LEARNING_TRANSPOSE", + "recurrence": [ + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEPORTER" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { "math": [ "u_spell_level('teleport_displacement')", ">=", "5" ] }, + { "math": [ "u_spell_level('teleport_stride')", ">=", "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('teleport_transpose')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_teleport_transpose" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "TELEPORTER" } }, { "math": [ "u_spell_level('teleport_transpose')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_teleport_transpose" }, + { + "u_message": "Use of your powers has led to an insight. You could combine moving yourself and moving a target to swap places, moving them to your previous location while you take their place, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEPORT_LEARNING_DISPLACEMENT", + "recurrence": [ + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEPORTER" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { "math": [ "u_spell_level('teleport_phase')", ">=", "5" ] }, + { "math": [ "u_spell_level('teleport_slow')", ">=", "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('teleport_displacement')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_teleport_displacement" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "TELEPORTER" } }, { "math": [ "u_spell_level('teleport_displacement')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_teleport_displacement" }, + { + "u_message": "Use of your powers has led to an insight. You could teleport only your target, sending them somewhere nearby away from you, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEPORT_LEARNING_COLLAPSE", + "recurrence": [ + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEPORTER" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { + "or": [ + { "math": [ "u_spell_level('teleport_slow')", ">=", "10" ] }, + { "math": [ "u_spell_level('teleport_transpose')", ">=", "6" ] } + ] + }, + { "math": [ "u_spell_level('teleport_stride')", ">=", "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('teleport_collapse')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_teleport_collapse" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "TELEPORTER" } }, { "math": [ "u_spell_level('teleport_collapse')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_teleport_collapse" }, + { + "u_message": "Use of your powers has led to an insight. You could warp space to such a degree that you could redirect your targets' movement, forcing them to travel toward a central point regardless of their intent, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEPORT_LEARNING_FARSTEP", + "recurrence": [ + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEPORTER" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { + "or": [ + { "math": [ "u_spell_level('teleport_stride')", ">=", "8" ] }, + { "math": [ "u_spell_level('teleport_collapse')", ">=", "6" ] } + ] + }, + { "math": [ "u_spell_level('teleport_phase')", ">=", "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('teleport_farstep')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_teleport_farstep" } } + ] + }, + "deactivate_condition": { "or": [ { "not": { "u_has_trait": "TELEPORTER" } }, { "math": [ "u_spell_level('teleport_farstep')", ">=", "1" ] } ] }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_teleport_farstep" }, + { + "u_message": "Use of your powers has led to an insight. You could travel much further distances, crossing dozens of meters in moments, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEPORT_LEARNING_BANISH", + "recurrence": [ + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEPORTER" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "and": [ + { + "or": [ + { "math": [ "u_spell_level('teleport_farstep')", ">=", "6" ] }, + { "math": [ "u_spell_level('teleport_collapse')", ">=", "8" ] }, + { "math": [ "u_spell_level('teleport_transpose')", ">=", "8" ] } + ] + }, + { "math": [ "u_spell_level('teleport_displacement')", ">=", "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('teleport_banish')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_teleport_banish" } } + ] + }, + "deactivate_condition": { "or": [ { "not": { "u_has_trait": "TELEPORTER" } }, { "math": [ "u_spell_level('teleport_banish')", ">=", "1" ] } ] }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_teleport_banish" }, + { + "u_message": "Use of your powers has led to an insight. You could send your target somewhere *else*, some other place far from you in the endless parade of realities, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEPORT_LEARNING_GATEWAY", + "recurrence": [ + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEPORTER" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "and": [ + { "math": [ "u_spell_level('teleport_stride')", ">=", "10" ] }, + { "math": [ "u_spell_level('teleport_farstep')", ">=", "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('teleport_gateway')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_teleport_gateway" } } + ] + }, + "deactivate_condition": { "or": [ { "not": { "u_has_trait": "TELEPORTER" } }, { "math": [ "u_spell_level('teleport_gateway')", ">=", "1" ] } ] }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_teleport_gateway" }, + { + "u_message": "Use of your powers has led to an insight. Once you properly study a location so you're familiar enough with it, you could return there in moments even if you're fifty miles away, if you can figure out the technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_TELEPORT_LEARNING_BREACH", + "recurrence": [ + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_teleportation_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "TELEPORTER" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "and": [ + { + "or": [ + { "math": [ "u_spell_level('teleport_displacement')", ">=", "12" ] }, + { "math": [ "u_spell_level('teleport_banish')", ">=", "7" ] } + ] + }, + { "math": [ "u_spell_level('teleport_gateway')", ">=", "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('teleport_breach')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_teleport_breach" } } + ] + }, + "deactivate_condition": { "or": [ { "not": { "u_has_trait": "TELEPORTER" } }, { "math": [ "u_spell_level('teleport_breach')", ">=", "1" ] } ] }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_teleport_breach" }, + { + "u_message": "Use of your powers has led to an insight. Just as you can send a target away from you, you could open up a portal to the Nether and allow some of its denizens to come through to Earth, if you can figure out the technique.", + "popup": true + } + ] + } +] diff --git a/data/mods/MindOverMatter/powers/learning_eocs/vitakinesis.json b/data/mods/MindOverMatter/powers/learning_eocs/vitakinesis.json new file mode 100644 index 0000000000000..d373fc498044d --- /dev/null +++ b/data/mods/MindOverMatter/powers/learning_eocs/vitakinesis.json @@ -0,0 +1,1131 @@ +[ + { + "type": "effect_on_condition", + "id": "EOC_VITAKIN_LEARNING_HEALING_TOUCH", + "recurrence": [ + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "VITAKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ { "x_in_y_chance": { "x": 1, "y": 20 } }, { "math": [ "u_spell_level('vita_health_power')", ">=", "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('vita_health_power_ally')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_vita_healing_touch" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_health_power_ally')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_vita_healing_touch" }, + { + "u_message": "Use of your powers has led to an insight. The same way you encourage your own healing and good health, you could use physical contact to provide that same bonus to an ally, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_VITAKIN_LEARNING_HURT_TOUCH", + "recurrence": [ + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "VITAKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 20 } }, + { + "and": [ + { "math": [ "u_spell_level('vita_health_power_ally')", ">=", "5" ] }, + { "math": [ "u_spell_level('vita_stop_bleeding')", ">=", "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('vita_hurt_touch')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_vita_hurt_touch" } } + ] + }, + "deactivate_condition": { "or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_hurt_touch')", ">=", "1" ] } ] }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_vita_hurt_touch" }, + { + "u_message": "Use of your powers has led to an insight. Rather than speeding healing, you could slow it, causing damage and especially reducing the preternatural healing of some of the post-Cataclysm creatures out there, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_VITAKIN_LEARNING_REMOVE_POISON", + "recurrence": [ + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_low)" ] }, + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_one_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "VITAKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 20 } }, + { + "and": [ + { "math": [ "u_spell_level('vita_health_power')", ">=", "8" ] }, + { "or": [ { "math": [ "u_spell_level('vita_stop_bleeding')", ">=", "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('vita_remove_poison')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_vita_remove_poison" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_remove_poison')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_vita_remove_poison" }, + { + "u_message": "Use of your powers has led to an insight. You could remove poison from your body, carrying it your skin and sweating it out, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_VITAKIN_LEARNING_CURE_DISEASE", + "recurrence": [ + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "VITAKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ { "x_in_y_chance": { "x": 1, "y": 40 } }, { "math": [ "u_spell_level('vita_remove_poison')", ">=", "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('vita_cure_disease')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_vita_cure_disease" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_cure_disease')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_vita_cure_disease" }, + { + "u_message": "Use of your powers has led to an insight. Instead of carrying poison to your skin, you could carry antibodies and white blood cells to diseased parts of your body, speeding your recovery time, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_VITAKIN_LEARNING_SLEEPING_TRANCE", + "recurrence": [ + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "VITAKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { "math": [ "u_spell_level('vita_health_power')", ">=", "8" ] }, + { "math": [ "u_spell_level('vita_cure_disease')", ">=", "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('vita_sleeping_trance')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_vita_sleeping_trance" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_sleeping_trance')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_vita_sleeping_trance" }, + { + "u_message": "Use of your powers has led to an insight. You could enter a trance, allowing your mind and body to restore themselves more efficiently than natural sleep, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_VITAKIN_LEARNING_PAIN_SPLIT", + "recurrence": [ + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "VITAKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { + "or": [ + { "math": [ "u_spell_level('vita_remove_poison')", ">=", "5" ] }, + { "math": [ "u_spell_level('vita_cure_disease')", ">=", "5" ] } + ] + }, + { + "or": [ + { "math": [ "u_spell_level('vita_health_power')", ">=", "10" ] }, + { "math": [ "u_spell_level('vita_stop_bleeding')", ">=", "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('vita_pain_split')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_vita_pain_split" } } + ] + }, + "deactivate_condition": { "or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_pain_split')", ">=", "1" ] } ] }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_vita_pain_split" }, + { + "u_message": "Use of your powers has led to an insight. You could reroute stem cells and blood flow to injured parts, speeding their healing at the expense of your uninjured areas, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_VITAKIN_LEARNING_STOP_INFECTION", + "recurrence": [ + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "VITAKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ { "x_in_y_chance": { "x": 1, "y": 40 } }, { "math": [ "u_spell_level('vita_cure_disease')", ">=", "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('vita_stop_infection')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_vita_stop_infection" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_stop_infection')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_vita_stop_infection" }, + { + "u_message": "Use of your powers has led to an insight. You could clean your wounds with an act of will, preventing infection or curing one before it leads to life-threatening problems, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_VITAKIN_LEARNING_HEALING_TRANCE", + "recurrence": [ + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "VITAKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 40 } }, + { + "and": [ + { "math": [ "u_spell_level('vita_stop_infection')", ">=", "5" ] }, + { "math": [ "u_spell_level('vita_pain_split')", ">=", "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('vita_healing_trance')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_vita_healing_trance" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_healing_trance')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_vita_healing_trance" }, + { + "u_message": "Use of your powers has led to an insight. You could sink into a trance, focusing all of your energy on healing and speed your recovery hundreds of times, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_VITAKIN_LEARNING_ATTACK_TOUCH", + "recurrence": [ + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_low)" ] }, + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_two_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "VITAKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ { "x_in_y_chance": { "x": 1, "y": 40 } }, { "math": [ "u_spell_level('vita_hurt_touch')", ">=", "8" ] } ] + }, + { + "not": { + "u_has_any_effect": [ + "sleep", + "effect_psi_learning_new_power", + "effect_vitakin_wakeful_resting", + "infected", + "spores", + "taint", + "visuals", + "hallu", + "motor_seizure", + "frostbite", + "blisters", + "formication", + "pre_common_cold", + "common_cold", + "pre_flu", + "flu", + "pre_conjunctivitis_viral", + "conjunctivitis_viral", + "pre_conjunctivitis_bacterial", + "conjunctivitis_bacterial", + "asthma", + "brainworms", + "bloodworms", + "grabbed", + "lack_sleep", + "sleep_deprived", + "under_operation", + "zapped", + "electrocuted", + "anemia", + "redcells_anemia", + "scurvy", + "toxin_buildup", + "bad_food_ennui", + "hypovolemia", + "disabled", + "foodpoison", + "venom_pain", + "venom_dmg", + "badpoison", + "onfire", + "dazed", + "stunned" + ] + } + }, + { "math": [ "u_spell_level('vita_attack_touch')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_vita_attack_touch" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_attack_touch')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_vita_attack_touch" }, + { + "u_message": "Use of your powers has led to an insight. Rather than merely slowing your enemies' healing, you could directly damage their cells, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_VITAKIN_LEARNING_BLOOD_PURGE", + "recurrence": [ + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "VITAKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "and": [ + { "math": [ "u_spell_level('vita_healing_trance')", ">=", "6" ] }, + { + "or": [ + { "math": [ "u_spell_level('vita_remove_poison')", ">=", "8" ] }, + { "math": [ "u_spell_level('vita_stop_infection')", ">=", "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('vita_blood_purge')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_vita_blood_purge" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_blood_purge')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_vita_blood_purge" }, + { + "u_message": "Use of your powers has led to an insight. You could perform a full sweep of your bloodstream, purging all foreign contaminants, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_VITAKIN_LEARNING_BANISH_ILLNESS", + "recurrence": [ + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "VITAKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "and": [ + { "math": [ "u_spell_level('vita_stop_infection')", ">=", "12" ] }, + { + "or": [ + { "math": [ "u_spell_level('vita_pain_split')", ">=", "8" ] }, + { "math": [ "u_spell_level('vita_cure_disease')", ">=", "12" ] } + ] + } + ] + } + ] + }, + { + "not": { + "u_has_any_effect": [ + "sleep", + "effect_psi_learning_new_power", + "effect_vitakin_wakeful_resting", + "infected", + "spores", + "taint", + "visuals", + "hallu", + "motor_seizure", + "frostbite", + "blisters", + "formication", + "pre_common_cold", + "common_cold", + "pre_flu", + "flu", + "pre_conjunctivitis_viral", + "conjunctivitis_viral", + "pre_conjunctivitis_bacterial", + "conjunctivitis_bacterial", + "asthma", + "brainworms", + "bloodworms", + "grabbed", + "lack_sleep", + "sleep_deprived", + "under_operation", + "zapped", + "electrocuted", + "anemia", + "redcells_anemia", + "scurvy", + "toxin_buildup", + "bad_food_ennui", + "hypovolemia", + "disabled", + "foodpoison", + "venom_pain", + "venom_dmg", + "badpoison", + "onfire", + "dazed", + "stunned" + ] + } + }, + { "math": [ "u_spell_level('vita_banish_illness')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_vita_banish_illness" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_banish_illness')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_vita_banish_illness" }, + { + "u_message": "Use of your powers has led to an insight. You could cure diseases directly, even long-term or chronic conditions, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_VITAKIN_LEARNING_SUPER_HEAL", + "recurrence": [ + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "VITAKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "and": [ + { + "or": [ + { "math": [ "u_spell_level('vita_health_power')", ">=", "14" ] }, + { "math": [ "u_spell_level('vita_healing_trance')", ">=", "9" ] } + ] + }, + { + "or": [ + { "math": [ "u_spell_level('vita_pain_split')", ">=", "10" ] }, + { "math": [ "u_spell_level('vita_remove_poison')", ">=", "7" ] }, + { "math": [ "u_spell_level('vita_blood_purge')", ">=", "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('vita_super_heal')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_vita_super_heal" } } + ] + }, + "deactivate_condition": { "or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_super_heal')", ">=", "1" ] } ] }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_vita_super_heal" }, + { + "u_message": "Use of your powers has led to an insight. You could speed your healing rate thousands of times, closing wounds in minutes, albeit at a great physical cost to your body, if you can figure out the proper technique.", + "popup": true + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_VITAKIN_LEARNING_RETURN_FROM_DEATH", + "recurrence": [ + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_low)" ] }, + { "math": [ "jmath_vitakinesis_learning_eocs_modifiers(global_tier_three_power_learning_time_high)" ] } + ], + "condition": { + "and": [ + { "u_has_trait": "VITAKINETIC" }, + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "==", "1" ] }, + { + "or": [ + { "x_in_y_chance": { "x": 1, "y": 80 } }, + { + "or": [ + { "math": [ "u_spell_level('vita_super_heal')", ">=", "6" ] }, + { + "and": [ + { "math": [ "u_spell_level('vita_banish_illness')", ">=", "8" ] }, + { "math": [ "u_spell_level('vita_healing_trance')", ">=", "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('vita_return_from_death')", "<=", "0" ] }, + { "not": { "u_know_recipe": "practice_vita_return_from_death" } } + ] + }, + "deactivate_condition": { + "or": [ { "not": { "u_has_trait": "VITAKINETIC" } }, { "math": [ "u_spell_level('vita_return_from_death')", ">=", "1" ] } ] + }, + "effect": [ + { "math": [ "u_vitamin('vitamin_psi_learning_counter')", "=", "0" ] }, + { "u_learn_recipe": "practice_vita_return_from_death" }, + { + "u_message": "Use of your powers has led to an insight. You could prepare for grievous or potentially-fatal injury, kicking your healing into overdrive and preventing yourself from dying, if you can figure out the proper technique.", + "popup": true + } + ] + } +] diff --git a/data/mods/MindOverMatter/powers/pyrokinesis.json b/data/mods/MindOverMatter/powers/pyrokinesis.json index ba8d4b7662a24..c96400e112139 100644 --- a/data/mods/MindOverMatter/powers/pyrokinesis.json +++ b/data/mods/MindOverMatter/powers/pyrokinesis.json @@ -28,7 +28,7 @@ }, "min_range": { "math": [ - "min( (( (u_spell_level('pyrokinetic_eruption') / 10) + 1) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 5)" + "clamp( (( (u_spell_level('pyrokinetic_eruption') / 10) + 1) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 1, 5)" ] }, "max_range": 5, diff --git a/data/mods/MindOverMatter/powers/telekinesis.json b/data/mods/MindOverMatter/powers/telekinesis.json index b02a7c4a9c61d..9e56b465344a5 100644 --- a/data/mods/MindOverMatter/powers/telekinesis.json +++ b/data/mods/MindOverMatter/powers/telekinesis.json @@ -18,7 +18,7 @@ "damage_type": "psi_telekinetic_damage", "min_damage": { "math": [ - "( (u_spell_level('telekinetic_pull') * -1.5) - 1) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('telekinetic_pull') * -0.5) - 1) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_damage": { @@ -39,8 +39,7 @@ "base_casting_time": 50, "final_casting_time": 10, "casting_time_increment": -4, - "ignored_monster_species": [ "PSI_NULL" ], - "learn_spells": { "telekinetic_hammer": 7, "telekinetic_shield": 15 } + "ignored_monster_species": [ "PSI_NULL" ] }, { "id": "telekinetic_push", @@ -53,37 +52,77 @@ "spell_class": "TELEKINETIC", "skill": "metaphysics", "flags": [ "PSIONIC", "CONCENTRATE", "RANDOM_DAMAGE", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX" ], - "difficulty": 2, + "difficulty": 1, "max_level": { "math": [ "int_to_level(1)" ] }, "effect": "directed_push", - "extra_effects": [ { "id": "psionic_drained_difficulty_two", "hit_self": true } ], + "extra_effects": [ { "id": "psionic_drained_difficulty_one", "hit_self": true } ], "shape": "blast", "damage_type": "psi_telekinetic_damage", "min_damage": { "math": [ - "( (u_spell_level('telekinetic_push') * 0.25) + 2) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "min( ( ( (u_spell_level('telekinetic_push') * 0.5) + 2) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 30)" ] }, "max_damage": { "math": [ - "( (u_spell_level('telekinetic_push') * 0.25) + 6) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "min( ( ( (u_spell_level('telekinetic_push') * 1) + 4) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 30)" ] }, "min_range": { "math": [ - "min( (( (u_spell_level('telekinetic_push') * 0.9) + 1) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 40)" + "min( ( ( (u_spell_level('telekinetic_push') * 0.9) + 1) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 40)" ] }, "max_range": 40, "energy_source": "STAMINA", - "base_energy_cost": 2500, + "base_energy_cost": 1750, "final_energy_cost": 750, "energy_increment": -80, "base_casting_time": 50, "final_casting_time": 10, "casting_time_increment": -4, - "ignored_monster_species": [ "PSI_NULL" ], - "learn_spells": { "telekinetic_wave": 7, "telekinetic_hammer": 10, "telekinetic_strength": 13, "telekinetic_explosion": 15 } + "ignored_monster_species": [ "PSI_NULL" ] + }, + { + "id": "telekinetic_noise", + "type": "SPELL", + "name": "[Ψ]Noisemaker", + "description": "Using a focused burst of telekinesis, slam two objects together, or an object into the ground, or simply hit the ground with your powers, causing a loud noise.", + "message": "You lash out at the ground with your powers.", + "teachable": false, + "valid_targets": [ "ground" ], + "spell_class": "TELEKINETIC", + "skill": "metaphysics", + "flags": [ "PSIONIC", "CONCENTRATE", "RANDOM_DAMAGE", "NO_PROJECTILE", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX" ], + "difficulty": 2, + "max_level": { "math": [ "int_to_level(1)" ] }, + "effect": "noise", + "shape": "blast", + "min_damage": { + "math": [ + "( (u_spell_level('telekinetic_noise') * 0.5) + 3) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + ] + }, + "max_damage": { + "math": [ + "( (u_spell_level('telekinetic_noise') * 1.5) + 8) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + ] + }, + "min_range": { + "math": [ + "min( (( (u_spell_level('telekinetic_noise') * 0.9) + 2) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 60)" + ] + }, + "max_range": 60, + "energy_source": "STAMINA", + "base_energy_cost": 1750, + "final_energy_cost": 450, + "energy_increment": -85, + "base_casting_time": 65, + "final_casting_time": 15, + "casting_time_increment": -4, + "sound_type": "combat", + "sound_description": "a loud thump" }, { "id": "telekinetic_slam_down", @@ -165,18 +204,15 @@ ] }, "energy_source": "STAMINA", - "base_energy_cost": 3000, - "final_energy_cost": 1500, - "energy_increment": -125, - "base_casting_time": 300, - "final_casting_time": 125, - "casting_time_increment": -7.5, - "learn_spells": { - "telekinetic_slowfall": 5, - "telekinetic_wave": 7, - "telekinetic_strength": 10, - "telekinetic_shield": 15, - "telekinetic_vehicle_lift": 17 + "base_energy_cost": { + "math": [ + "u_effect_intensity('effect_telekinetic_momentum') > -1 ? 0 : max((3500 - (u_spell_level('telekinetic_momentum') * 125)), 1750)" + ] + }, + "base_casting_time": { + "math": [ + "u_effect_intensity('effect_telekinetic_momentum') > -1 ? 10 : max((300 -(u_spell_level('telekinetic_momentum') * 7.5)), 125)" + ] } }, { @@ -203,17 +239,16 @@ }, "max_duration": { "math": [ - "( (u_spell_level('telekinetic_slowfall') * 200) + 1500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('telekinetic_slowfall') * 400) + 1500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", - "base_energy_cost": 1750, + "base_energy_cost": 2250, "final_energy_cost": 650, "energy_increment": -85, "base_casting_time": 85, "final_casting_time": 25, - "casting_time_increment": -4.5, - "learn_spells": { "telekinetic_vehicle_lift": 7, "telekinetic_shield": 11, "telekinetic_levitation": 15 } + "casting_time_increment": -4.5 }, { "id": "telekinetic_wave", @@ -232,19 +267,12 @@ "effect_str": "EOC_TELEKIN_WAVE_FORCE", "shape": "blast", "energy_source": "STAMINA", - "base_energy_cost": 3000, - "final_energy_cost": 1250, - "energy_increment": -175, + "base_energy_cost": 4500, + "final_energy_cost": 2250, + "energy_increment": -125, "base_casting_time": 50, - "final_casting_time": 10, - "casting_time_increment": -4, - "learn_spells": { - "telekinetic_strength": 3, - "telekinetic_shield": 9, - "telekinetic_hammer": 11, - "telekinetic_explosion": 12, - "telekinetic_aegis": 16 - } + "final_casting_time": 20, + "casting_time_increment": -4 }, { "id": "telekinetic_wave_wonder", @@ -289,14 +317,7 @@ }, "min_range": 1, "max_range": 1, - "energy_source": "STAMINA", - "base_energy_cost": 2500, - "final_energy_cost": 750, - "energy_increment": -150, - "base_casting_time": 50, - "final_casting_time": 10, - "ignored_monster_species": [ "PSI_NULL" ], - "casting_time_increment": -6.666667 + "ignored_monster_species": [ "PSI_NULL" ] }, { "id": "telekinetic_strength", @@ -308,22 +329,12 @@ "valid_targets": [ "self" ], "spell_class": "TELEKINETIC", "skill": "metaphysics", - "flags": [ - "PSIONIC", - "CONCENTRATE", - "SILENT", - "NO_HANDS", - "NO_LEGS", - "NO_EXPLOSION_SFX", - "RANDOM_DURATION", - "EXTRA_EFFECTS_FIRST" - ], + "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "RANDOM_DURATION" ], "difficulty": 5, "max_level": { "math": [ "int_to_level(1)" ] }, "effect": "effect_on_condition", "effect_str": "EOC_TELEKIN_STRENGTH_INITIATE", "shape": "blast", - "min_damage": 1, "min_duration": { "math": [ "( (u_spell_level('telekinetic_strength') * 1500) + 3000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" @@ -337,15 +348,10 @@ "energy_source": "STAMINA", "base_energy_cost": { "math": [ - "u_effect_intensity('effect_telekinetic_strength') > -1 ? 0 : max((4000 - (u_spell_level('telekinetic_strength') * 150)), 2000)" - ] - }, - "base_casting_time": { - "math": [ - "u_effect_intensity('effect_telekinetic_strength') > -1 ? 10 : max((1500 -(u_spell_level('telekinetic_strength') * 86)), 200)" + "u_effect_intensity('effect_telekinetic_strength') > -1 ? 0 : max((5000 - (u_spell_level('telekinetic_strength') * 150)), 2000)" ] }, - "learn_spells": { "telekinetic_vehicle_lift": 4, "telekinetic_shield": 8 } + "base_casting_time": { "math": [ "u_effect_intensity('effect_telekinetic_strength') > -1 ? 10 : 300" ] } }, { "id": "telekinetic_hammer", @@ -369,12 +375,12 @@ "shape": "blast", "min_damage": { "math": [ - "( (u_spell_level('telekinetic_hammer') * 1.5) + 18) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('telekinetic_hammer') * 1.25) + 18) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_damage": { "math": [ - "( (u_spell_level('telekinetic_hammer') * 1.5) + 73) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('telekinetic_hammer') * 3.5) + 55) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "min_range": { @@ -384,16 +390,15 @@ }, "max_range": 70, "energy_source": "STAMINA", - "base_energy_cost": 3500, - "final_energy_cost": 850, - "energy_increment": -175, + "base_energy_cost": 3750, + "final_energy_cost": 1750, + "energy_increment": -135, "base_casting_time": 50, "final_casting_time": 25, - "casting_time_increment": -1.5, + "casting_time_increment": -2.5, "sound_type": "combat", "sound_description": "a heavy thud!", - "ignored_monster_species": [ "PSI_NULL" ], - "learn_spells": { "telekinetic_explosion": 9, "telekinetic_shield": 12, "telekinetic_earthshaker": 18 } + "ignored_monster_species": [ "PSI_NULL" ] }, { "id": "tele_mindhammer_bash", @@ -408,12 +413,12 @@ "damage_type": "bash", "min_damage": { "math": [ - "( (u_spell_level('telekinetic_hammer') * 1.5) + 18) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('telekinetic_hammer') * 1.5) + 25) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_damage": { "math": [ - "( (u_spell_level('telekinetic_hammer') * 2) + 73) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('telekinetic_hammer') * 3) + 55) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "min_range": { @@ -442,26 +447,25 @@ "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('telekinetic_vehicle_lift') * 18000) + 60000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('telekinetic_vehicle_lift') * 19000) + 60000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('telekinetic_vehicle_lift') * 36000) + 120000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('telekinetic_vehicle_lift') * 42000) + 150000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", "base_energy_cost": { "math": [ - "u_effect_intensity('effect_telekinetic_vehicle_lift') > -1 ? 0 : max((6500 - (u_spell_level('telekinetic_vehicle_lift') * 200)), 2750)" + "u_effect_intensity('effect_telekinetic_vehicle_lift') > -1 ? 0 : max((6500 - (u_spell_level('telekinetic_vehicle_lift') * 200)), 3250)" ] }, "base_casting_time": { "math": [ "u_effect_intensity('effect_telekinetic_vehicle_lift') > -1 ? 10 : max((250 -(u_spell_level('telekinetic_vehicle_lift') * 8)), 125)" ] - }, - "learn_spells": { "telekinetic_wave": 4, "telekinetic_explosion": 8, "telekinetic_earthshaker": 15 } + } }, { "id": "telekinetic_shield", @@ -481,26 +485,25 @@ "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('telekinetic_shield') * 1500) + 9000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('telekinetic_shield') * 1400) + 28000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('telekinetic_shield') * 2500) + 90000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('telekinetic_shield') * 3700) + 72000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", "base_energy_cost": { "math": [ - "u_effect_intensity('effect_telekinetic_armor') > -1 ? 0 : max((6000 - (u_spell_level('telekinetic_shield') * 250)), 3500)" + "u_effect_intensity('effect_telekinetic_armor') > -1 ? 0 : max((8000 - (u_spell_level('telekinetic_shield') * 185)), 3250)" ] }, "base_casting_time": { "math": [ - "u_effect_intensity('effect_telekinetic_armor') > -1 ? 10 : max((150 -(u_spell_level('telekinetic_shield') * 5)), 75)" + "u_effect_intensity('effect_telekinetic_armor') > -1 ? 10 : max((250 -(u_spell_level('telekinetic_shield') * 8)), 65)" ] - }, - "learn_spells": { "telekinetic_push": 4, "telekinetic_wave": 6, "telekinetic_aegis": 8 } + } }, { "id": "telekinetic_explosion", @@ -539,7 +542,7 @@ }, "max_damage": { "math": [ - "( (u_spell_level('telekinetic_explosion') * 5) + 100) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('telekinetic_explosion') * 7.5) + 99) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "min_range": { @@ -555,16 +558,15 @@ }, "max_aoe": 30, "energy_source": "STAMINA", - "base_energy_cost": 7500, - "final_energy_cost": 3500, - "energy_increment": -250, + "base_energy_cost": 8500, + "final_energy_cost": 4500, + "energy_increment": -200, "base_casting_time": 200, "final_casting_time": 75, "casting_time_increment": -7.5, "sound_type": "combat", "sound_description": "a loud crash!", - "ignored_monster_species": [ "PSI_NULL" ], - "learn_spells": { "telekinetic_earthshaker": 10 } + "ignored_monster_species": [ "PSI_NULL" ] }, { "id": "tele_explosion_damage", @@ -584,7 +586,7 @@ }, "max_damage": { "math": [ - "( (u_spell_level('telekinetic_explosion') * 5) + 100) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('telekinetic_explosion') * 7.5) + 99) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "min_range": { @@ -611,7 +613,7 @@ "valid_targets": [ "self" ], "spell_class": "TELEKINETIC", "skill": "metaphysics", - "flags": [ "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "RANDOM_DURATION" ], + "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "RANDOM_DURATION" ], "difficulty": 7, "max_level": { "math": [ "int_to_level(1)" ] }, "effect": "effect_on_condition", @@ -630,7 +632,7 @@ "energy_source": "STAMINA", "base_energy_cost": { "math": [ - "u_effect_intensity('effect_telekinetic_levitation') > -1 ? 0 : max((7500 - (u_spell_level('telekinetic_levitation') * 250)), 3500)" + "u_effect_intensity('effect_telekinetic_levitation') > -1 ? 0 : max((7500 - (u_spell_level('telekinetic_levitation') * 165)), 3500)" ] }, "base_casting_time": { @@ -664,8 +666,8 @@ }, "energy_source": "STAMINA", "base_energy_cost": 9500, - "final_energy_cost": 4000, - "energy_increment": -350, + "final_energy_cost": 5500, + "energy_increment": -225, "base_casting_time": 125, "final_casting_time": 55, "casting_time_increment": -5 @@ -703,15 +705,15 @@ }, "min_aoe": { "math": [ - "min( (( (u_spell_level('telekinetic_earthshaker') * 0.8) + 5) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 35)" + "min( ( ( (u_spell_level('telekinetic_earthshaker') * 0.8) + 5) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 35)" ] }, "max_aoe": 30, "energy_source": "STAMINA", - "base_energy_cost": 8500, - "final_energy_cost": 6500, - "base_casting_time": 200, - "final_casting_time": 75, + "base_energy_cost": 11500, + "final_energy_cost": 7000, + "base_casting_time": 150, + "final_casting_time": 45, "casting_time_increment": -6, "sound_description": "the ground shaking!", "sound_id": "earth_spell", @@ -738,7 +740,7 @@ }, "min_aoe": { "math": [ - "min( (( (u_spell_level('telekinetic_earthshaker') * 0.7) + 5) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 35)" + "min( ( ( (u_spell_level('telekinetic_earthshaker') * 0.7) + 5) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 35)" ] }, "max_aoe": 35 @@ -755,7 +757,7 @@ "shape": "blast", "min_aoe": { "math": [ - "min( (( (u_spell_level('telekinetic_earthshaker') * 0.7) + 5) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 35)" + "min( ( ( (u_spell_level('telekinetic_earthshaker') * 0.7) + 5) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 35)" ] }, "max_aoe": 35 diff --git a/data/mods/MindOverMatter/powers/telepathy_concentration_eoc.json b/data/mods/MindOverMatter/powers/telepathy_concentration_eoc.json index 7009839415c91..79a66c3a364eb 100644 --- a/data/mods/MindOverMatter/powers/telepathy_concentration_eoc.json +++ b/data/mods/MindOverMatter/powers/telepathy_concentration_eoc.json @@ -65,6 +65,7 @@ { "u_message": "You begin shielding your thoughts.", "type": "good" }, { "run_eocs": "EOC_POWER_MAINTENANCE_PLUS_ONE" }, { "u_add_effect": "effect_telepathic_psi_armor", "duration": "PERMANENT" }, + { "u_spawn_item": "telepath_mind_shield_item", "suppress_message": true, "force_equip": true }, { "u_cast_spell": { "id": "psionic_drained_difficulty_two", "hit_self": true } }, { "queue_eocs": "EOC_TELEPATH_SHIELD_DRAIN", @@ -88,7 +89,11 @@ "type": "effect_on_condition", "id": "EOC_TELEPATH_REMOVE_TELEPATHIC_SHIELD", "condition": { "u_has_effect": "effect_telepathic_psi_armor" }, - "effect": [ { "run_eocs": "EOC_POWER_MAINTENANCE_MINUS_ONE" }, { "u_lose_effect": "effect_telepathic_psi_armor" } ] + "effect": [ + { "run_eocs": "EOC_POWER_MAINTENANCE_MINUS_ONE" }, + { "u_lose_effect": "effect_telepathic_psi_armor" }, + { "u_remove_item_with": "telepath_mind_shield_item" } + ] }, { "type": "effect_on_condition", diff --git a/data/mods/MindOverMatter/powers/teleportation.json b/data/mods/MindOverMatter/powers/teleportation.json index 070fd35b988ca..d0b326ff18e5f 100644 --- a/data/mods/MindOverMatter/powers/teleportation.json +++ b/data/mods/MindOverMatter/powers/teleportation.json @@ -22,19 +22,12 @@ "max_range": 15, "range_increment": 1, "energy_source": "STAMINA", - "base_energy_cost": 800, - "final_energy_cost": 250, + "base_energy_cost": 900, + "final_energy_cost": 350, "energy_increment": -55, "base_casting_time": 50, - "final_casting_time": 0, - "casting_time_increment": -4, - "learn_spells": { - "teleport_phase": 5, - "teleport_transpose": 8, - "teleport_farstep": 12, - "teleport_gateway": 18, - "teleport_area_attune": 18 - } + "final_casting_time": 5, + "casting_time_increment": -3.5 }, { "id": "teleport_slow", @@ -69,7 +62,7 @@ }, "max_duration": { "math": [ - "( (u_spell_level('teleport_slow') * 75) + 1500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('teleport_slow') * 200) + 1500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", @@ -79,8 +72,7 @@ "base_casting_time": 80, "final_casting_time": 35, "casting_time_increment": -4.5, - "ignored_monster_species": [ "PSI_NULL" ], - "learn_spells": { "teleport_collapse": 7, "teleport_stride": 10, "teleport_displacement": 12, "teleport_banish": 18 } + "ignored_monster_species": [ "PSI_NULL" ] }, { "id": "teleport_phase", @@ -106,12 +98,11 @@ "max_range": 4, "energy_source": "STAMINA", "base_energy_cost": 2500, - "final_energy_cost": 1000, + "final_energy_cost": 1250, "energy_increment": -65, "base_casting_time": 65, "final_casting_time": 15, - "casting_time_increment": -3, - "learn_spells": { "teleport_transpose": 4, "teleport_stride": 9, "teleport_gateway": 15, "teleport_area_attune": 15 } + "casting_time_increment": -3 }, { "id": "teleport_stride", @@ -131,24 +122,23 @@ "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('teleport_stride') * 300) + 3000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('teleport_stride') * 1100) + 3000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('teleport_stride') * 400) + 30000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('teleport_stride') * 3700) + 30000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", "base_energy_cost": { "math": [ - "u_effect_intensity('effect_teleport_stride') > -1 ? 0 : max((2500 - (u_spell_level('teleport_stride') * 125)), 750)" + "u_effect_intensity('effect_teleport_stride') > -1 ? 0 : max((3500 - (u_spell_level('teleport_stride') * 95)), 1750)" ] }, "base_casting_time": { "math": [ "u_effect_intensity('effect_teleport_stride') > -1 ? 10 : max((85 -(u_spell_level('teleport_stride') * 7)), 25)" ] - }, - "learn_spells": { "teleport_collapse": 6, "teleport_phase": 8, "teleport_farstep": 14 } + } }, { "id": "teleport_transpose", @@ -174,13 +164,12 @@ "max_range": 80, "energy_source": "STAMINA", "base_energy_cost": 2750, - "final_energy_cost": 1250, - "energy_increment": -95, - "base_casting_time": 55, - "final_casting_time": 0, - "casting_time_increment": -2.75, - "ignored_monster_species": [ "PSI_NULL" ], - "learn_spells": { "teleport_displacement": 5, "teleport_stride": 7, "teleport_farstep": 9, "teleport_banish": 15 } + "final_energy_cost": 1500, + "energy_increment": -85, + "base_casting_time": 75, + "final_casting_time": 30, + "casting_time_increment": -2.5, + "ignored_monster_species": [ "PSI_NULL" ] }, { "id": "teleport_displacement", @@ -193,24 +182,23 @@ "spell_class": "TELEPORTER", "skill": "metaphysics", "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX" ], - "difficulty": 5, + "difficulty": 4, "max_level": { "math": [ "int_to_level(1)" ] }, "effect": "attack", - "extra_effects": [ { "id": "psionic_drained_difficulty_five", "hit_self": true } ], + "extra_effects": [ { "id": "psionic_drained_difficulty_four", "hit_self": true } ], "shape": "blast", "damage_type": "psi_teleporter_teleporting_damage", "min_damage": 1, "max_damage": 1, "min_range": 1, "energy_source": "STAMINA", - "base_energy_cost": 2500, - "final_energy_cost": 1250, + "base_energy_cost": 4000, + "final_energy_cost": 1750, "energy_increment": -65, - "base_casting_time": 75, + "base_casting_time": 95, "final_casting_time": 25, - "casting_time_increment": -3, - "ignored_monster_species": [ "PSI_NULL" ], - "learn_spells": { "teleport_banish": 10 } + "casting_time_increment": -4, + "ignored_monster_species": [ "PSI_NULL" ] }, { "id": "teleport_collapse", @@ -229,20 +217,13 @@ "effect_str": "EOC_TELEPORT_SPACIAL_VORTEX", "shape": "blast", "energy_source": "STAMINA", - "base_energy_cost": 3500, - "final_energy_cost": 1500, + "base_energy_cost": 5500, + "final_energy_cost": 3000, "energy_increment": -75, "base_casting_time": 80, "final_casting_time": 45, "casting_time_increment": -2, - "ignored_monster_species": [ "PSI_NULL" ], - "learn_spells": { - "teleport_displacement": 4, - "teleport_banish": 9, - "teleport_gateway": 12, - "teleport_area_attune": 12, - "teleport_summon": 15 - } + "ignored_monster_species": [ "PSI_NULL" ] }, { "id": "teleport_collapse_01", @@ -548,13 +529,12 @@ }, "max_range": 80, "energy_source": "STAMINA", - "base_energy_cost": 4500, - "final_energy_cost": 1750, + "base_energy_cost": 6500, + "final_energy_cost": 2750, "energy_increment": -105, "base_casting_time": 75, "final_casting_time": 30, - "casting_time_increment": -2.75, - "learn_spells": { "teleport_area_attune": 9, "teleport_gateway": 9, "teleport_banish": 12 } + "casting_time_increment": -3 }, { "id": "teleport_banish", @@ -590,13 +570,12 @@ "max_range": 80, "energy_source": "STAMINA", "base_energy_cost": 7500, - "final_energy_cost": 3500, - "energy_increment": -200, + "final_energy_cost": 4600, + "energy_increment": -170, "base_casting_time": 150, "final_casting_time": 75, "casting_time_increment": -5.5, - "ignored_monster_species": [ "PSI_NULL" ], - "learn_spells": { "teleport_summon": 7 } + "ignored_monster_species": [ "PSI_NULL" ] }, { "id": "teleport_gateway", @@ -617,11 +596,10 @@ "energy_source": "STAMINA", "base_energy_cost": 10000, "final_energy_cost": 6000, - "energy_increment": -300, + "energy_increment": -200, "base_casting_time": 200, "final_casting_time": 75, - "casting_time_increment": -5.5, - "learn_spells": { "teleport_area_attune": 1, "teleport_banish": 6 } + "casting_time_increment": -5.5 }, { "id": "teleport_area_attune", diff --git a/data/mods/MindOverMatter/powers/vitakinesis.json b/data/mods/MindOverMatter/powers/vitakinesis.json index 57505d25acd6d..4eb0a050d8b19 100644 --- a/data/mods/MindOverMatter/powers/vitakinesis.json +++ b/data/mods/MindOverMatter/powers/vitakinesis.json @@ -1,4 +1,38 @@ [ + { + "id": "vita_health_power", + "type": "SPELL", + "name": "[Ψ]Healthy Glow (C)", + "description": "Your powers can keep you in the bloom of health. This can also stop or prevent an asthma attack.\n\nThis power is maintained by concentration and may fail if concentration is interrupted.", + "message": "", + "teachable": false, + "valid_targets": [ "self" ], + "spell_class": "VITAKINETIC", + "skill": "metaphysics", + "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "RANDOM_DURATION", "NO_EXPLOSION_SFX" ], + "difficulty": 1, + "max_level": { "math": [ "int_to_level(1)" ] }, + "effect": "effect_on_condition", + "effect_str": "EOC_VITAKIN_HEALTH_POWER_INITIATE", + "shape": "blast", + "min_duration": { + "math": [ + "( (u_spell_level('vita_health_power') * 2100) + 35400) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + ] + }, + "max_duration": { + "math": [ + "( (u_spell_level('vita_health_power') * 29800) + 155000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + ] + }, + "energy_source": "STAMINA", + "base_energy_cost": { + "math": [ "u_effect_intensity('effect_vita_health') > -1 ? 0 : max((2500 - (u_spell_level('vita_health_power') * 75)), 1000)" ] + }, + "base_casting_time": { + "math": [ "u_effect_intensity('effect_vita_health') > -1 ? 10 : max((100 -(u_spell_level('vita_health_power') * 7.5)), 25)" ] + } + }, { "id": "vita_stop_bleeding", "type": "SPELL", @@ -21,19 +55,12 @@ "min_duration": 1200, "max_duration": 1200, "energy_source": "STAMINA", - "base_energy_cost": 2500, + "base_energy_cost": 3000, "final_energy_cost": 750, "energy_increment": -125, "base_casting_time": 50, "final_casting_time": 20, - "casting_time_increment": -3, - "learn_spells": { - "vita_pain_split": 7, - "vita_stop_infection": 9, - "vita_remove_poison": 11, - "vita_cure_disease": 15, - "vita_blood_purge": 18 - } + "casting_time_increment": -3 }, { "id": "vita_stop_bleeding_01", @@ -86,48 +113,6 @@ "min_duration": 200, "max_duration": 200 }, - { - "id": "vita_health_power", - "type": "SPELL", - "name": "[Ψ]Healthy Glow (C)", - "description": "Your powers can keep you in the bloom of health. This can also stop or prevent an asthma attack.\n\nThis power is maintained by concentration and may fail if concentration is interrupted.", - "message": "", - "teachable": false, - "valid_targets": [ "self" ], - "spell_class": "VITAKINETIC", - "skill": "metaphysics", - "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "RANDOM_DURATION", "NO_EXPLOSION_SFX" ], - "difficulty": 1, - "max_level": { "math": [ "int_to_level(1)" ] }, - "effect": "effect_on_condition", - "effect_str": "EOC_VITAKIN_HEALTH_POWER_INITIATE", - "shape": "blast", - "min_duration": { - "math": [ - "( (u_spell_level('vita_health_power') * 2100) + 18000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" - ] - }, - "max_duration": { - "math": [ - "( (u_spell_level('vita_health_power') * 2700) + 145000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" - ] - }, - "energy_source": "STAMINA", - "base_energy_cost": { - "math": [ "u_effect_intensity('effect_vita_health') > -1 ? 0 : max((3500 - (u_spell_level('vita_health_power') * 75)), 2000)" ] - }, - "base_casting_time": { - "math": [ "u_effect_intensity('effect_vita_health') > -1 ? 10 : max((100 -(u_spell_level('vita_health_power') * 7.5)), 25)" ] - }, - "learn_spells": { - "vita_health_power_ally": 5, - "vita_remove_poison": 7, - "vita_sleeping_trance": 9, - "vita_cure_disease": 12, - "vita_healing_trance": 15, - "vita_banish_illness": 18 - } - }, { "id": "vita_hurt_touch", "type": "SPELL", @@ -151,23 +136,22 @@ "min_range": 1, "min_duration": { "math": [ - "( (u_spell_level('vita_hurt_touch') * 100) + 400) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_hurt_touch') * 50) + 400) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('vita_hurt_touch') * 100) + 3000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_hurt_touch') * 150) + 3000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", - "base_energy_cost": 1500, - "final_energy_cost": 750, + "base_energy_cost": 2000, + "final_energy_cost": 950, "energy_increment": -65, "base_casting_time": 85, "final_casting_time": 55, "casting_time_increment": -3, - "ignored_monster_species": [ "PSI_NULL" ], - "learn_spells": { "vita_pain_split": 7, "vita_health_power_ally": 9, "vita_healing_trance": 15 } + "ignored_monster_species": [ "PSI_NULL" ] }, { "id": "vita_health_power_ally", @@ -189,23 +173,22 @@ "min_range": 1, "min_duration": { "math": [ - "( (u_spell_level('vita_health_power_ally') * 2100) + 18000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_health_power_ally') * 2100) + 35400) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('vita_health_power_ally') * 2700) + 145000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_health_power_ally') * 29800) + 155000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", - "base_energy_cost": 3500, + "base_energy_cost": 4000, "final_energy_cost": 2000, "energy_increment": -75, "base_casting_time": 100, "final_casting_time": 25, "casting_time_increment": -7.5, - "ignored_monster_species": [ "PSI_NULL" ], - "learn_spells": { "vita_pain_split": 4, "vita_blood_purge": 13 } + "ignored_monster_species": [ "PSI_NULL" ] }, { "id": "vita_remove_poison", @@ -226,22 +209,21 @@ "extra_effects": [ { "id": "psionic_drained_difficulty_three", "hit_self": true } ], "min_duration": { "math": [ - "( (u_spell_level('vita_remove_poison') * 500) + 15000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_remove_poison') * 400) + 15600) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('vita_remove_poison') * 3000) + 40000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_remove_poison') * 3200) + 41800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", "base_energy_cost": 3500, - "final_energy_cost": 1250, + "final_energy_cost": 1750, "energy_increment": -115, "base_casting_time": 75, "final_casting_time": 25, - "casting_time_increment": -5, - "learn_spells": { "vita_stop_infection": 7, "vita_blood_purge": 12 } + "casting_time_increment": -5 }, { "id": "vita_sleeping_trance", @@ -262,8 +244,7 @@ "shape": "blast", "energy_source": "STAMINA", "base_energy_cost": 1000, - "base_casting_time": 100, - "learn_spells": { "vita_healing_trance": 9, "vita_blood_purge": 12, "vita_banish_illness": 15 } + "base_casting_time": 100 }, { "id": "vita_cure_disease", @@ -283,12 +264,12 @@ "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('vita_cure_disease') * 4500) + 125000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_cure_disease') * 4800) + 114800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('vita_cure_disease') * 12000) + 275000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_cure_disease') * 31100) + 283400) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", @@ -301,8 +282,7 @@ "math": [ "u_effect_intensity('effect_vita_cure_disease') > -1 ? 10 : max((500 -(u_spell_level('vita_cure_disease') * 18)), 50)" ] - }, - "learn_spells": { "vita_stop_infection": 5, "vita_sleeping_trance": 7, "vita_healing_trance": 15, "vita_banish_illness": 18 } + } }, { "id": "vita_pain_split", @@ -321,13 +301,12 @@ "extra_effects": [ { "id": "psionic_drained_difficulty_five", "hit_self": true } ], "shape": "blast", "energy_source": "STAMINA", - "base_energy_cost": 4500, + "base_energy_cost": 6500, "final_energy_cost": 1750, "energy_increment": -175, "base_casting_time": 200, "final_casting_time": 75, - "casting_time_increment": -12, - "learn_spells": { "vita_healing_trance": 12, "vita_sleeping_trance": 14, "vita_blood_purge": 15 } + "casting_time_increment": -8 }, { "id": "vita_stop_infection", @@ -352,8 +331,7 @@ "energy_increment": -145, "base_casting_time": 350, "final_casting_time": 125, - "casting_time_increment": -14, - "learn_spells": { "vita_blood_purge": 5, "vita_banish_illness": 10, "vita_super_heal": 20 } + "casting_time_increment": -14 }, { "id": "vita_stop_infection_01", @@ -424,24 +402,17 @@ "shape": "blast", "min_damage": { "math": [ - "( (u_spell_level('vita_healing_trance') * -1.5) - 6) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_healing_trance') * -0.5) - 3) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_damage": { "math": [ - "( (u_spell_level('vita_healing_trance') * -2) - 12) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_healing_trance') * -2) - 8) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", "base_energy_cost": 8000, - "base_casting_time": 360000, - "learn_spells": { - "vita_sleeping_trance": 4, - "vita_banish_illness": 6, - "vita_blood_purge": 8, - "vita_super_heal": 15, - "vita_return_from_death": 18 - } + "base_casting_time": 360000 }, { "id": "vita_attack_touch", @@ -462,12 +433,12 @@ "damage_type": "biological", "min_damage": { "math": [ - "( (u_val('spell_level', 'spell: vita_attack_touch') * 2) + 12) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_attack_touch') * 2) + 12) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_damage": { "math": [ - "( (u_val('spell_level', 'spell: vita_attack_touch') * 4) + 35) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_attack_touch') * 4) + 35) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "min_dot": 1, @@ -475,23 +446,22 @@ "min_range": 1, "min_duration": { "math": [ - "( (u_val('spell_level', 'spell: vita_attack_touch') * 50) + 400) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_attack_touch') * 50) + 400) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_val('spell_level', 'spell: vita_attack_touch') * 100) + 800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_attack_touch') * 150) + 800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", - "base_energy_cost": 4500, - "final_energy_cost": 1750, + "base_energy_cost": 6000, + "final_energy_cost": 2350, "energy_increment": -115, "base_casting_time": 85, "final_casting_time": 55, "casting_time_increment": -3, - "ignored_monster_species": [ "PSI_NULL" ], - "learn_spells": { "vita_pain_split": 7, "vita_health_power_ally": 9, "vita_healing_trance": 15 } + "ignored_monster_species": [ "PSI_NULL" ] }, { "id": "vita_purge_rads", @@ -510,9 +480,9 @@ "effect_str": "EOC_VITAKIN_RAD_PURGE", "shape": "blast", "energy_source": "STAMINA", - "base_energy_cost": 5000, - "final_energy_cost": 3500, - "energy_increment": -125, + "base_energy_cost": 7000, + "final_energy_cost": 4500, + "energy_increment": -135, "base_casting_time": 6000 }, { @@ -536,13 +506,12 @@ ], "shape": "blast", "energy_source": "STAMINA", - "base_energy_cost": 7000, + "base_energy_cost": 8500, "final_energy_cost": 4500, - "energy_increment": -200, + "energy_increment": -145, "base_casting_time": 250, "final_casting_time": 100, - "casting_time_increment": -8, - "learn_spells": { "vita_stop_bleeding": 4, "vita_banish_illness": 3 } + "casting_time_increment": -8 }, { "id": "vita_blood_purge_no_mutagens", @@ -574,8 +543,7 @@ "shape": "blast", "energy_source": "STAMINA", "base_energy_cost": 10000, - "base_casting_time": 500, - "learn_spells": { "vita_super_heal": 5 } + "base_casting_time": 500 }, { "id": "vita_super_heal", @@ -595,22 +563,21 @@ "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('vita_super_heal') * 3000) + 15000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_super_heal') * 2900) + 14600) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('vita_super_heal') * 6000) + 30000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_super_heal') * 11000) + 37200) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", "base_energy_cost": { "math": [ - "u_effect_intensity('effect_vita_super_heal') > -1 ? 0 : max((10000 - (u_spell_level('vita_super_heal') * 150)), 8000)" + "u_effect_intensity('effect_vita_super_heal') > -1 ? 0 : max((10000 - (u_spell_level('vita_super_heal') * 150)), 6500)" ] }, - "base_casting_time": { "math": [ "u_effect_intensity('effect_vita_health') > -1 ? 10 : 1000" ] }, - "learn_spells": { "vita_limb_restore": 10, "vita_return_from_death": 14 } + "base_casting_time": { "math": [ "u_effect_intensity('effect_vita_health') > -1 ? 10 : 1000" ] } }, { "id": "vita_super_heal_healing", @@ -686,12 +653,12 @@ "shape": "blast", "min_duration": { "math": [ - "( (u_spell_level('vita_return_from_death') * 90000) + 360000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_return_from_death') * 96200) + 397800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "max_duration": { "math": [ - "( (u_spell_level('vita_return_from_death') * 270000) + 1440000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_return_from_death') * 281900) + 1236000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, "energy_source": "STAMINA", diff --git a/data/mods/MindOverMatter/powers/vitakinesis_concentration_eoc.json b/data/mods/MindOverMatter/powers/vitakinesis_concentration_eoc.json index adc7a2bb9902f..bf660e373f86b 100644 --- a/data/mods/MindOverMatter/powers/vitakinesis_concentration_eoc.json +++ b/data/mods/MindOverMatter/powers/vitakinesis_concentration_eoc.json @@ -13,12 +13,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('vita_health_power') * 120) + 600) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_health_power') * 21) + 354) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('vita_health_power') * 360) + 1800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_health_power') * 298) + 1550) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -46,12 +46,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('vita_health_power') * 120) + 600) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_health_power') * 21) + 354) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('vita_health_power') * 360) + 1800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_health_power') * 298) + 1550) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -73,17 +73,23 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('vita_cure_disease') * 45) + 1250) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_cure_disease') * 48) + 1148) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('vita_cure_disease') * 120) + 1750) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_cure_disease') * 311) + 2834) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] }, - { "queue_eocs": "EOC_VITAKIN_CURE_DISEASE_CHECKS", "time_in_future": [ "10 minutes", "60 minutes" ] } + { + "queue_eocs": "EOC_VITAKIN_CURE_DISEASE_CHECKS", + "time_in_future": [ + { "math": [ "max( ( 600 - (u_spell_level('vita_cure_disease') * 5 ) ), 1)" ] }, + { "math": [ "max( ( 3600 - (u_spell_level('vita_cure_disease') * 30) ), 1)" ] } + ] + } ], "false_effect": [ { "run_eocs": "EOC_VITAKIN_REMOVE_CURE_DISEASE" } ] }, @@ -107,12 +113,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('vita_cure_disease') * 45) + 1250) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_cure_disease') * 48) + 1148) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('vita_cure_disease') * 120) + 1750) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_cure_disease') * 311) + 2834) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -134,12 +140,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('vita_super_heal') * 30) + 150) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_super_heal') * 29) + 146) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('vita_super_heal') * 60) + 300) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_super_heal') * 110) + 372) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -170,12 +176,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('vita_super_heal') * 30) + 150) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_super_heal') * 29) + 146) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('vita_super_heal') * 60) + 300) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_super_heal') * 110) + 372) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -198,12 +204,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('vita_return_from_death') * 900) + 3600) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_return_from_death') * 962) + 3978) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('vita_return_from_death') * 2700) + 14400) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_return_from_death') * 2819) + 12360) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -241,12 +247,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('vita_return_from_death') * 900) + 3600) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_return_from_death') * 962) + 3978) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('vita_return_from_death') * 2700) + 14400) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_return_from_death') * 2819) + 12360) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] diff --git a/data/mods/MindOverMatter/powers/vitakinesis_eoc.json b/data/mods/MindOverMatter/powers/vitakinesis_eoc.json index 992619819dd5e..3b6280cc0c286 100644 --- a/data/mods/MindOverMatter/powers/vitakinesis_eoc.json +++ b/data/mods/MindOverMatter/powers/vitakinesis_eoc.json @@ -5,7 +5,19 @@ "condition": { "or": [ { "u_has_effect": "poison" }, + { "u_has_effect": "poison", "bodypart": "head" }, + { "u_has_effect": "poison", "bodypart": "torso" }, + { "u_has_effect": "poison", "bodypart": "arm_r" }, + { "u_has_effect": "poison", "bodypart": "arm_l" }, + { "u_has_effect": "poison", "bodypart": "leg_r" }, + { "u_has_effect": "poison", "bodypart": "leg_l" }, { "u_has_effect": "badpoison" }, + { "u_has_effect": "badpoison", "bodypart": "head" }, + { "u_has_effect": "badpoison", "bodypart": "torso" }, + { "u_has_effect": "badpoison", "bodypart": "arm_r" }, + { "u_has_effect": "badpoison", "bodypart": "arm_l" }, + { "u_has_effect": "badpoison", "bodypart": "leg_r" }, + { "u_has_effect": "badpoison", "bodypart": "leg_l" }, { "u_has_effect": "venom_dmg" }, { "u_has_effect": "venom_weaken" }, { "u_has_effect": "venom_blind" }, @@ -35,7 +47,19 @@ { "u_add_wet": 8 }, { "run_eocs": [ "EOC_VITAKIN_DEXTOXIFICATION_TOXICFLESH" ] }, { "u_lose_effect": "poison" }, + { "u_lose_effect": "poison", "target_part": "head" }, + { "u_lose_effect": "poison", "target_part": "torso" }, + { "u_lose_effect": "poison", "target_part": "arm_r" }, + { "u_lose_effect": "poison", "target_part": "arm_l" }, + { "u_lose_effect": "poison", "target_part": "leg_r" }, + { "u_lose_effect": "poison", "target_part": "leg_l" }, { "u_lose_effect": "badpoison" }, + { "u_lose_effect": "badpoison", "target_part": "head" }, + { "u_lose_effect": "badpoison", "target_part": "torso" }, + { "u_lose_effect": "badpoison", "target_part": "arm_r" }, + { "u_lose_effect": "badpoison", "target_part": "arm_l" }, + { "u_lose_effect": "badpoison", "target_part": "leg_r" }, + { "u_lose_effect": "badpoison", "target_part": "leg_l" }, { "u_lose_effect": "venom_dmg" }, { "u_lose_effect": "venom_weaken" }, { "u_lose_effect": "venom_blind" }, @@ -54,12 +78,12 @@ "time_in_future": [ { "math": [ - "( (u_spell_level('vita_remove_poison') * 5) + 150) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_remove_poison') * 4) + 156) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] }, { "math": [ - "( (u_spell_level('vita_remove_poison') * 30) + 400) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" + "( (u_spell_level('vita_remove_poison') * 32) + 418) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling" ] } ] @@ -836,197 +860,13 @@ "type": "effect_on_condition", "id": "EOC_VITA_SUPER_HEAL_DRAIN", "effect": [ - { "math": [ "u_val('stored_kcal')", "-=", "rng( 50,250 )" ] }, + { "math": [ "u_val('stored_kcal')", "-=", "rng( 150,650 )" ] }, { "math": [ "u_vitamin('iron')", "-=", "rng( 50,200 )" ] }, { "math": [ "u_vitamin('calcium')", "-=", "rng( 100,200 )" ] }, { "math": [ "u_vitamin('vitC')", "-=", "rng( 20,80 )" ] }, { "math": [ "u_val('fatigue')", "+=", "rng( 2,10 )" ] } ] }, - { - "type": "effect_on_condition", - "id": "EOC_VITAKIN_RESTORE_LIMB_SELECTOR", - "effect": [ - { - "run_eoc_selector": [ - "EOC_VITAKIN_RESTORE_LIMB_RIGHT_LEG", - "EOC_VITAKIN_RESTORE_LIMB_LEFT_LEG", - "EOC_VITAKIN_RESTORE_LIMB_RIGHT_ARM", - "EOC_VITAKIN_RESTORE_LIMB_LEFT_ARM", - "EOC_PORTAL_NULL_AWAKENING" - ], - "names": [ "Restore Right Leg", "Restore Left Leg", "Restore Right Arm", "Restore Left Arm", "Nevermind" ], - "keys": [ "1", "2", "3", "4", "5" ], - "descriptions": [ - "Attempt to restore your right leg.", - "Attempt to restore your left leg.", - "Attempt to restore your right arm.", - "Attempt to restore your left arm.", - "Do nothing for now." - ] - } - ] - }, - { - "type": "effect_on_condition", - "id": "EOC_VITAKIN_RESTORE_LIMB_RIGHT_LEG", - "condition": { "u_has_trait": "NO_RIGHT_LEG" }, - "effect": [ { "u_assign_activity": "ACT_VITAKIN_RESTORE_LIMB_RIGHT_LEG", "duration": "540 minutes" } ], - "false_effect": [ - { - "u_message": "You have a right leg or equivalent thereof. If it's a prosthetic, please take it off before restoring your leg.", - "type": "mixed" - } - ] - }, - { - "id": "ACT_VITAKIN_RESTORE_LIMB_RIGHT_LEG", - "type": "activity_type", - "activity_level": "LIGHT_EXERCISE", - "verb": "meditating", - "based_on": "time", - "completion_eoc": "EOC_VITAKIN_RESTORE_LIMB_RIGHT_LEG_RESULT" - }, - { - "type": "effect_on_condition", - "id": "EOC_VITAKIN_RESTORE_LIMB_RIGHT_LEG_RESULT", - "condition": { "roll_contested": { "math": [ "rand( u_spell_level('vita_limb_restore'))" ] }, "difficulty": 14 }, - "effect": [ - { "u_message": "Your right leg has been restored.", "type": "good" }, - { "u_lose_trait": "NO_RIGHT_LEG" }, - { "u_lose_var": "missing_right_leg", "type": "traits", "context": "limbs" }, - { "u_add_trait": "HAS_RIGHT_LEG" }, - { "run_eocs": "EOC_VITA_RESTORE_LIMB_DRAIN" }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 45,75 )" ] } - ], - "false_effect": [ - { "u_message": "Your healing powers were not great enough, you'll have to try again.", "type": "bad" }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 45,75 )" ] } - ] - }, - { - "type": "effect_on_condition", - "id": "EOC_VITAKIN_RESTORE_LIMB_LEFT_LEG", - "condition": { "u_has_trait": "NO_LEFT_LEG" }, - "effect": [ { "u_assign_activity": "ACT_VITAKIN_RESTORE_LIMB_LEFT_LEG", "duration": "540 minutes" } ], - "false_effect": [ - { - "u_message": "You have a left leg or equivalent thereof. If it's a prosthetic, please take it off before restoring your leg.", - "type": "mixed" - } - ] - }, - { - "id": "ACT_VITAKIN_RESTORE_LIMB_LEFT_LEG", - "type": "activity_type", - "activity_level": "LIGHT_EXERCISE", - "verb": "meditating", - "based_on": "time", - "completion_eoc": "EOC_VITAKIN_RESTORE_LIMB_RIGHT_LEFT_RESULT" - }, - { - "type": "effect_on_condition", - "id": "EOC_VITAKIN_RESTORE_LIMB_LEFT_LEG_RESULT", - "condition": { "roll_contested": { "math": [ "rand( u_spell_level('vita_limb_restore'))" ] }, "difficulty": 14 }, - "effect": [ - { "u_message": "Your left leg has been restored.", "type": "good" }, - { "u_lose_trait": "NO_LEFT_LEG" }, - { "u_lose_var": "missing_left_leg", "type": "traits", "context": "limbs" }, - { "u_add_trait": "HAS_LEFT_LEG" }, - { "run_eocs": "EOC_VITA_RESTORE_LIMB_DRAIN" }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 45,75 )" ] } - ], - "false_effect": [ - { "u_message": "Your healing powers were not great enough, you'll have to try again.", "type": "bad" }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 45,75 )" ] } - ] - }, - { - "type": "effect_on_condition", - "id": "EOC_VITAKIN_RESTORE_LIMB_RIGHT_ARM", - "condition": { "u_has_trait": "NO_RIGHT_ARM" }, - "effect": [ { "u_assign_activity": "ACT_VITAKIN_RESTORE_LIMB_RIGHT_ARM", "duration": "540 minutes" } ], - "false_effect": [ - { - "u_message": "You have a right arm or equivalent thereof. If it's a prosthetic, please take it off before restoring your arm.", - "type": "mixed" - } - ] - }, - { - "id": "ACT_VITAKIN_RESTORE_LIMB_RIGHT_ARM", - "type": "activity_type", - "activity_level": "LIGHT_EXERCISE", - "verb": "meditating", - "based_on": "time", - "completion_eoc": "EOC_VITAKIN_RESTORE_LIMB_RIGHT_ARM_RESULT" - }, - { - "type": "effect_on_condition", - "id": "EOC_VITAKIN_RESTORE_LIMB_RIGHT_ARM_RESULT", - "condition": { "roll_contested": { "math": [ "rand( u_spell_level('vita_limb_restore'))" ] }, "difficulty": 14 }, - "effect": [ - { "u_message": "Your right arm had been restored.", "type": "good" }, - { "u_lose_trait": "NO_RIGHT_ARM" }, - { "u_lose_var": "missing_right_arm", "type": "traits", "context": "limbs" }, - { "u_add_trait": "HAS_RIGHT_ARM" }, - { "run_eocs": "EOC_VITA_RESTORE_LIMB_DRAIN" }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 45,75 )" ] } - ], - "false_effect": [ - { "u_message": "Your healing powers were not great enough, you'll have to try again.", "type": "bad" }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 45,75 )" ] } - ] - }, - { - "type": "effect_on_condition", - "id": "EOC_VITAKIN_RESTORE_LIMB_LEFT_ARM", - "condition": { "u_has_trait": "NO_LEFT_ARM" }, - "effect": [ { "u_assign_activity": "ACT_VITAKIN_RESTORE_LIMB_LEFT_ARM", "duration": "540 minutes" } ], - "false_effect": [ - { - "u_message": "You have a left arm or equivalent thereof. If it's a prosthetic, please take it off before restoring your arm.", - "type": "mixed" - } - ] - }, - { - "id": "ACT_VITAKIN_RESTORE_LIMB_LEFT_ARM", - "type": "activity_type", - "activity_level": "LIGHT_EXERCISE", - "verb": "meditating", - "based_on": "time", - "completion_eoc": "EOC_VITAKIN_RESTORE_LIMB_LEFT_ARM_RESULT" - }, - { - "type": "effect_on_condition", - "id": "EOC_VITAKIN_RESTORE_LIMB_LEFT_ARM_RESULT", - "condition": { "roll_contested": { "math": [ "rand( u_spell_level('vita_limb_restore'))" ] }, "difficulty": 14 }, - "effect": [ - { "u_message": "Your left arm had been restored.", "type": "good" }, - { "u_lose_trait": "NO_LEFT_ARM" }, - { "u_lose_var": "missing_left_arm", "type": "traits", "context": "limbs" }, - { "u_add_trait": "HAS_LEFT_ARM" }, - { "run_eocs": "EOC_VITA_RESTORE_LIMB_DRAIN" }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 45,75 )" ] } - ], - "false_effect": [ - { "u_message": "Your healing powers were not great enough, you'll have to try again.", "type": "bad" }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 45,75 )" ] } - ] - }, - { - "type": "effect_on_condition", - "id": "EOC_VITA_RESTORE_LIMB_DRAIN", - "//": "About 2.5 times as costly as the super heal drain, factored for each tick of healing. Assuming you're using super heal at level twelve, it ticks 15 times. 15 * 2.5 = 37.5 times increase for proper scaling in a single tick of this. You are regrowing a whole body part, you know.", - "effect": [ - { "math": [ "u_val('stored_kcal')", "-=", "rng( 1875,9375 )" ] }, - { "math": [ "u_vitamin('iron')", "-=", "rng( 1875,7500 )" ] }, - { "math": [ "u_vitamin('calcium')", "-=", "rng( 3750,7500 )" ] }, - { "math": [ "u_vitamin('vitC')", "-=", "rng( 750,3000 )" ] }, - { "math": [ "u_val('fatigue')", "+=", "rng( 75,375 )" ] } - ] - }, { "type": "effect_on_condition", "id": "EOC_VITAKINESIS_RETURN_FROM_DEATH", @@ -1043,12 +883,12 @@ "condition": { "u_has_effect": "effect_vita_return_from_death" }, "effect": [ { "math": [ "u_val('stored_kcal')", "=", "u_vitakin_return_from_death_kcal * 0.8" ] }, - { "u_set_hp": 5, "only_increase": true, "target_part": "torso" }, - { "u_set_hp": 5, "only_increase": true, "target_part": "head" }, - { "u_set_hp": 5, "only_increase": true, "target_part": "arm_l" }, - { "u_set_hp": 5, "only_increase": true, "target_part": "arm_r" }, - { "u_set_hp": 5, "only_increase": true, "target_part": "leg_r" }, - { "u_set_hp": 5, "only_increase": true, "target_part": "leg_l" }, + { "math": [ "u_hp('torso')", "=", "max( u_hp('torso'), 5)" ] }, + { "math": [ "u_hp('head')", "=", "max( u_hp('head'), 5)" ] }, + { "math": [ "u_hp('arm_l')", "=", "max( u_hp('arm_l'), 5)" ] }, + { "math": [ "u_hp('arm_r')", "=", "max( u_hp('arm_r'), 5)" ] }, + { "math": [ "u_hp('leg_l')", "=", "max( u_hp('leg_l'), 5)" ] }, + { "math": [ "u_hp('leg_r')", "=", "max( u_hp('leg_r'), 5)" ] }, { "u_cast_spell": { "id": "vita_pain_split", "hit_self": true } }, { "math": [ "u_vitamin('redcells')", "=", "0" ] }, { "math": [ "u_vitamin('bad_food')", "=", "0" ] }, diff --git a/data/mods/MindOverMatter/professions.json b/data/mods/MindOverMatter/professions.json index e48d1a37a439a..4386dcb1b373b 100644 --- a/data/mods/MindOverMatter/professions.json +++ b/data/mods/MindOverMatter/professions.json @@ -238,7 +238,7 @@ "id": "psi_telekinetic_testsubject", "name": "Test Subject, Project ONYX LIGHTNING", "description": "Before the Cataclysm, you were 'volunteered' for a top-secret military project. They never told you what all the injections and EEGs and hours of staring at a quarter on the table were supposed to accomplish, but now that you can move things with your mind you have a pretty good idea what they were aiming at.", - "points": 5, + "points": 13, "skills": [ { "level": 5, "name": "gun" }, { "level": 4, "name": "pistol" }, @@ -246,12 +246,20 @@ { "level": 3, "name": "driving" }, { "level": 2, "name": "metaphysics" } ], - "traits": [ "TELEKINETIC", "TELEKINETIC_LIFTER_1" ], + "traits": [ "TELEKINETIC", "TELEKINETIC_LIFTER_8" ], "spells": [ - { "id": "telekinetic_push", "level": 4 }, - { "id": "telekinetic_pull", "level": 3 }, - { "id": "telekinetic_momentum", "level": 2 }, - { "id": "telekinetic_wave", "level": 2 } + { "id": "telekinetic_push", "level": 5 }, + { "id": "telekinetic_pull", "level": 6 }, + { "id": "telekinetic_slam_down", "level": 3 }, + { "id": "telekinetic_slowfall", "level": 2 }, + { "id": "telekinetic_momentum", "level": 6 } + ], + "recipes": [ + "practice_telekinetic_pull", + "practice_telekinetic_push", + "practice_telekinetic_slam_down", + "practice_telekinetic_momentum", + "practice_telekinetic_slowfall" ], "proficiencies": [ "prof_concentration_basic" ], "items": { @@ -259,11 +267,12 @@ "entries": [ { "item": "pants_army" }, { "item": "gloves_tactical" }, - { "item": "army_top" }, + { "item": "tank_top", "variant": "tank_top_camo" }, { "item": "boots_combat" }, { "item": "socks" }, { "item": "water_clean", "container-item": "canteen" }, - { "item": "knife_combat", "container-item": "sheath" } + { "item": "knife_combat", "container-item": "sheath" }, + { "item": "matrix_crystal_drained" } ] }, "male": { "entries": [ { "item": "boxer_briefs" } ] }, @@ -305,23 +314,34 @@ "type": "profession", "id": "psi_teleporter_slider", "name": "Itzcuauhtli Corps Liaison, Yohualli Èhecatl Division", - "description": "You don't understand what happened. You were readying for a routine jump at the Far Hebrides transfer point when there was a power cascade in the drive and now you're here, on some other version of Tlalticpactli. You need to find your way back home, but first you need to find a way to survive.", - "points": 6, + "description": "The last thing you remember was inputting the jump coordinates into the tliltilhuicaātl drive and reaching out to initiate the transfer when there was a power surge and it felt like the entire ship was turning inside out. Now, you have no idea where you are.", + "points": 15, "skills": [ { "level": 3, "name": "computer" }, { "level": 2, "name": "gun" }, + { "level": 3, "name": "speech" }, + { "level": 2, "name": "survival" }, { "level": 2, "name": "pistol" }, - { "level": 5, "name": "metaphysics" } + { "level": 7, "name": "metaphysics" } ], - "traits": [ "TELEPORTER", "TELEPORTER_PROTECT" ], + "traits": [ "TELEPORTER", "TELEPORTER_PROTECT", "FIFTH_SUN_PEOPLE" ], "spells": [ - { "id": "teleport_blink", "level": 8 }, - { "id": "teleport_slow", "level": 1 }, - { "id": "teleport_transpose", "level": 4 }, - { "id": "teleport_phase", "level": 5 }, - { "id": "teleport_farstep", "level": 3 } + { "id": "teleport_blink", "level": 7 }, + { "id": "teleport_slow", "level": 10 }, + { "id": "teleport_displacement", "level": 5 }, + { "id": "teleport_stride", "level": 8 }, + { "id": "teleport_phase", "level": 11 }, + { "id": "teleport_farstep", "level": 5 } ], - "proficiencies": [ "prof_concentration_basic" ], + "recipes": [ + "practice_teleport_blink", + "practice_teleport_slow", + "practice_teleport_displacement", + "practice_teleport_phase", + "practice_teleport_stride", + "practice_teleport_farstep" + ], + "proficiencies": [ "prof_concentration_basic", "prof_contemplation_teleportation" ], "items": { "both": { "entries": [ @@ -333,32 +353,31 @@ { "item": "itzcuauhtli_cape" }, { "item": "itzcuauhtli_hat" }, { "item": "itzcuauhtli_holster" }, - { - "item": "mom_fusion_pistol", - "ammo-item": "mom_fusion_ammo", - "charges": 40, - "contents-item": [ "mom_fusion_mag" ] - }, + { "item": "matrix_crystal_teleportation" }, + { "item": "mom_fusion_pistol" }, { "item": "mom_fusion_mag", "ammo-item": "mom_fusion_ammo", "charges": 40 } ] }, "male": { "entries": [ { "item": "briefs" } ] }, "female": { "entries": [ { "item": "bra" }, { "item": "panties" } ] } - } + }, + "flags": [ "SCEN_ONLY" ] }, { "type": "profession", "id": "psi_vitakinetic_healer", "name": "Faith Healer", "description": "People came to you for diseases that modern medicine told them were incurable, and you made them well. At least, they felt well, and that was what mattered. Now the dead walk and do not respond to your exhortations, but your healing works better on yourself than it ever has on anyone else.", - "points": 4, + "points": 8, "skills": [ { "level": 6, "name": "speech" }, { "level": 1, "name": "driving" }, { "level": 3, "name": "metaphysics" } ], "traits": [ "VITAKINETIC", "VITAKINETIC_HEALTH", "SPIRITUAL" ], "spells": [ - { "id": "vita_stop_bleeding", "level": 2 }, - { "id": "vita_health_power", "level": 5 }, - { "id": "vita_hurt_touch", "level": 2 }, - { "id": "vita_sleeping_trance", "level": 1 } + { "id": "vita_stop_bleeding", "level": 6 }, + { "id": "vita_health_power", "level": 8 }, + { "id": "vita_health_power_ally", "level": 8 }, + { "id": "vita_remove_poison", "level": 6 }, + { "id": "vita_cure_disease", "level": 4 }, + { "id": "vita_sleeping_trance", "level": 4 } ], "items": { "both": { @@ -372,6 +391,7 @@ { "item": "flyer" }, { "item": "flyer" }, { "item": "holy_symbol" }, + { "item": "matrix_crystal_drained" }, { "group": "charged_smart_phone" } ] }, diff --git a/data/mods/MindOverMatter/recipes/practice/biokinetic_practice.json b/data/mods/MindOverMatter/recipes/practice/biokinetic_practice.json index 5012fad61cc3d..b13a9cddec296 100644 --- a/data/mods/MindOverMatter/recipes/practice/biokinetic_practice.json +++ b/data/mods/MindOverMatter/recipes/practice/biokinetic_practice.json @@ -304,7 +304,7 @@ }, "effect": [ { - "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Flexibility power.", + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Burst of Speed power.", "popup": true }, { "math": [ "u_spell_level('biokin_dash')", "=", "1" ] }, @@ -535,7 +535,7 @@ }, "effect": [ { - "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Hardened Skin power.", + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Adrenaline Trigger power.", "popup": true }, { "math": [ "u_spell_level('biokin_adrenaline')", "=", "1" ] }, diff --git a/data/mods/MindOverMatter/recipes/practice/telekinesis_practice.json b/data/mods/MindOverMatter/recipes/practice/telekinesis_practice.json index 1dbe9fbaf0328..b062353939b0b 100644 --- a/data/mods/MindOverMatter/recipes/practice/telekinesis_practice.json +++ b/data/mods/MindOverMatter/recipes/practice/telekinesis_practice.json @@ -12,6 +12,7 @@ "nested_category_data": [ "practice_telekinetic_pull", "practice_telekinetic_push", + "practice_telekinetic_noise", "practice_telekinetic_slam_down", "practice_telekinetic_momentum", "practice_telekinetic_slowfall", @@ -39,40 +40,20 @@ "difficulty": 0, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_telekinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telekinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEKIN_PULL", - "condition": { - "and": [ - { "math": [ "u_spell_level('telekinetic_pull')", ">=", "1" ] }, - { "math": [ "u_spell_exp('telekinetic_pull')", "<=", "(difficulty_one_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('telekinetic_pull')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('telekinetic_pull')", "+=", "(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_TELEKIN_PULL_FALSE", - "condition": { "math": [ "u_spell_level('telekinetic_pull')", ">=", "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" } - ] - } - ] - } + ] } ] }, @@ -88,40 +69,99 @@ "difficulty": 1, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_telekinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telekinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEKIN_PUSH", - "condition": { - "and": [ - { "math": [ "u_spell_level('telekinetic_push')", ">=", "1" ] }, - { "math": [ "u_spell_exp('telekinetic_push')", "<=", "(difficulty_two_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('telekinetic_push')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('telekinetic_push')", "+=", "(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" } + ] + } + ] + }, + { + "type": "recipe", + "activity_level": "LIGHT_EXERCISE", + "name": "contemplation: noisemaker", + "id": "practice_telekinetic_noise", + "description": "Contemplate your powers and improve your ability to create noisy distractions.", + "category": "CC_*", + "subcategory": "CSC_*_NESTED", + "skill_used": "metaphysics", + "difficulty": 1, + "time": "30 m", + "autolearn": false, + "proficiencies": [ { "proficiency": "prof_contemplation_telekinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telekinesis", -1 ] ] ], + "flags": [ "SECRET", "BLIND_EASY", "NO_MANIP", "AFFECTED_BY_PAIN", "NO_BENCH", "NO_ENCHANTMENT" ], + "result_eocs": [ + { + "id": "EOC_PRACTICE_TELEKIN_NOISEMAKER", + "condition": { "math": [ "u_spell_level('telekinetic_noise')", ">=", "1" ] }, + "effect": [ + { + "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge.", + "type": "good" + }, + { "math": [ "u_spell_exp('telekinetic_noise')", "+=", "(contemplation_factor(1))" ] }, + { "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_TELEKIN_PUSH_FALSE", - "condition": { "math": [ "u_spell_level('telekinetic_push')", ">=", "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_TELEKIN_NOISEMAKER_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_TELEKIN_NOISEMAKER_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_TELEKIN_NOISEMAKER_LEARNING_2", + "condition": { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telekinesis')" ] }, + "difficulty": 6 + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Noisemaker power.", + "popup": true + }, + { "math": [ "u_spell_level('telekinetic_noise')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -137,7 +177,8 @@ "difficulty": 1, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_telekinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telekinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { @@ -146,9 +187,56 @@ "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('telekinetic_slam_down')", "+=", "(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": [ + { "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_TELEKIN_SLAM_DOWN_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_TELEKIN_SLAM_DOWN_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_TELEKIN_SLAM_DOWN_LEARNING_2", + "condition": { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telekinesis')" ] }, + "difficulty": 6 + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Knockdown power.", + "popup": true + }, + { "math": [ "u_spell_level('telekinetic_slam_down')", "=", "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 )" ] } + ] + } ] } ] @@ -165,40 +253,67 @@ "difficulty": 2, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_telekinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telekinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEKIN_MOMENTUM", - "condition": { - "and": [ - { "math": [ "u_spell_level('telekinetic_momentum')", ">=", "1" ] }, - { "math": [ "u_spell_exp('telekinetic_momentum')", "<=", "(difficulty_three_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('telekinetic_momentum')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('telekinetic_momentum')", "+=", "(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_TELEKIN_MOMENTUM_FALSE", - "condition": { "math": [ "u_spell_level('telekinetic_momentum')", ">=", "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_TELEKIN_MOMENTUM_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_TELEKIN_MOMENTUM_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_TELEKIN_MOMENTUM_LEARNING_2", + "condition": { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telekinesis')" ] }, + "difficulty": 7 + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Momentum Alteration power.", + "popup": true + }, + { "math": [ "u_spell_level('telekinetic_momentum')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -214,41 +329,68 @@ "difficulty": 2, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_telekinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telekinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_telekin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEKIN_SLOWFALL", - "condition": { - "and": [ - { "math": [ "u_spell_level('telekinetic_slowfall')", ">=", "1" ] }, - { "math": [ "u_spell_exp('telekinetic_slowfall')", "<=", "(difficulty_three_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('telekinetic_slowfall')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('telekinetic_slowfall')", "+=", "(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_TELEKIN_SLOWFALL_FALSE", - "condition": { "math": [ "u_spell_level('telekinetic_slowfall')", ">=", "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_TELEKIN_SLOWFALL_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_TELEKIN_SLOWFALL_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_TELEKIN_SLOWFALL_LEARNING_2", + "condition": { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telekinesis')" ] }, + "difficulty": 7 + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Slowfall power.", + "popup": true + }, + { "math": [ "u_spell_level('telekinetic_slowfall')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -264,41 +406,68 @@ "difficulty": 3, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_telekinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telekinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_telekin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEKIN_FORCE_WAVE", - "condition": { - "and": [ - { "math": [ "u_spell_level('telekinetic_wave')", ">=", "1" ] }, - { "math": [ "u_spell_exp('telekinetic_wave')", "<=", "(difficulty_four_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('telekinetic_wave')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('telekinetic_wave')", "+=", "(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_TELEKIN_FORCE_WAVE_FALSE", - "condition": { "math": [ "u_spell_level('telekinetic_wave')", ">=", "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_TELEKIN_FORCE_WAVE_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_TELEKIN_FORCE_WAVE_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_TELEKIN_FORCE_WAVE_LEARNING_2", + "condition": { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telekinesis')" ] }, + "difficulty": 8 + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Slowfall power.", + "popup": true + }, + { "math": [ "u_spell_level('telekinetic_wave')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -314,41 +483,68 @@ "difficulty": 4, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_telekinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telekinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_telekin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEKIN_ENHANCE_STRENGTH", - "condition": { - "and": [ - { "math": [ "u_spell_level('telekinetic_strength')", ">=", "1" ] }, - { "math": [ "u_spell_exp('telekinetic_strength')", "<=", "(difficulty_five_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('telekinetic_strength')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('telekinetic_strength')", "+=", "(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_TELEKIN_ENHANCE_STRENGTH_FALSE", - "condition": { "math": [ "u_spell_level('telekinetic_strength')", ">=", "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_TELEKIN_ENHANCE_STRENGTH_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_TELEKIN_ENHANCE_STRENGTH_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_TELEKIN_ENHANCE_STRENGTH_LEARNING_2", + "condition": { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telekinesis')" ] }, + "difficulty": 9 + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Enhance Strength power.", + "popup": true + }, + { "math": [ "u_spell_level('telekinetic_strength')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -364,41 +560,68 @@ "difficulty": 4, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_telekinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telekinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_telekin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEKIN_MINDHAMMER", - "condition": { - "and": [ - { "math": [ "u_spell_level('telekinetic_hammer')", ">=", "1" ] }, - { "math": [ "u_spell_exp('telekinetic_hammer')", "<=", "(difficulty_five_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('telekinetic_hammer')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('telekinetic_hammer')", "+=", "(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_TELEKIN_MINDHAMMER_FALSE", - "condition": { "math": [ "u_spell_level('telekinetic_hammer')", ">=", "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_TELEKIN_MINDHAMMER_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_TELEKIN_MINDHAMMER_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_TELEKIN_MINDHAMMER_LEARNING_2", + "condition": { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telekinesis')" ] }, + "difficulty": 9 + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Mindhammer power.", + "popup": true + }, + { "math": [ "u_spell_level('telekinetic_hammer')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -414,41 +637,68 @@ "difficulty": 5, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_telekinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telekinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_telekin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEKIN_VEHICLE_LIFT", - "condition": { - "and": [ - { "math": [ "u_spell_level('telekinetic_vehicle_lift')", ">=", "1" ] }, - { "math": [ "u_spell_exp('telekinetic_vehicle_lift')", "<=", "(difficulty_six_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('telekinetic_vehicle_lift')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('telekinetic_vehicle_lift')", "+=", "(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_TELEKIN_VEHICLE_LIFT_FALSE", - "condition": { "math": [ "u_spell_level('telekinetic_vehicle_lift')", ">=", "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_TELEKIN_VEHICLE_LIFT_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_TELEKIN_VEHICLE_LIFT_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_TELEKIN_VEHICLE_LIFT_LEARNING_2", + "condition": { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telekinesis')" ] }, + "difficulty": 10 + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Lift Vehicle power.", + "popup": true + }, + { "math": [ "u_spell_level('telekinetic_vehicle_lift')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -464,41 +714,68 @@ "difficulty": 5, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_telekinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telekinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_telekin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEKIN_BARRIER", - "condition": { - "and": [ - { "math": [ "u_spell_level('telekinetic_shield')", ">=", "1" ] }, - { "math": [ "u_spell_exp('telekinetic_shield')", "<=", "(difficulty_six_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('telekinetic_shield')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('telekinetic_shield')", "+=", "(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_TELEKIN_BARRIER_FALSE", - "condition": { "math": [ "u_spell_level('telekinetic_shield')", ">=", "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_TELEKIN_BARRIER_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_TELEKIN_BARRIER_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_TELEKIN_BARRIER_LEARNING_2", + "condition": { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telekinesis')" ] }, + "difficulty": 10 + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Inertial Barrier power.", + "popup": true + }, + { "math": [ "u_spell_level('telekinetic_shield')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -514,41 +791,68 @@ "difficulty": 6, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_telekinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telekinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_telekin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEKIN_BLAST", - "condition": { - "and": [ - { "math": [ "u_spell_level('telekinetic_explosion')", ">=", "1" ] }, - { "math": [ "u_spell_exp('telekinetic_explosion')", "<=", "(difficulty_seven_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('telekinetic_explosion')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('telekinetic_explosion')", "+=", "(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_TELEKIN_BLAST_FALSE", - "condition": { "math": [ "u_spell_level('telekinetic_explosion')", ">=", "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_TELEKIN_BLAST_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_TELEKIN_BLAST_LEARNING", + "condition": { + "and": [ + { "u_has_effect": "effect_psi_learning_new_power" }, + { + "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] } } + ] + }, + "effect": [ + { + "run_eocs": [ + { + "id": "EOC_PRACTICE_TELEKIN_BLAST_LEARNING_2", + "condition": { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telekinesis')" ] }, + "difficulty": 11 + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Wrecking Ball power.", + "popup": true + }, + { "math": [ "u_spell_level('telekinetic_explosion')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -564,41 +868,68 @@ "difficulty": 6, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_telekinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telekinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_telekin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_LEVITATION", - "condition": { - "and": [ - { "math": [ "u_spell_level('telekinetic_levitation')", ">=", "1" ] }, - { "math": [ "u_spell_exp('telekinetic_levitation')", "<=", "(difficulty_seven_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('telekinetic_levitation')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('telekinetic_levitation')", "+=", "(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_LEVITATION_FALSE", - "condition": { "math": [ "u_spell_level('telekinetic_levitation')", ">=", "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_LEVITATION_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_LEVITATION_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_LEVITATION_LEARNING_2", + "condition": { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telekinesis')" ] }, + "difficulty": 11 + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Levitation power.", + "popup": true + }, + { "math": [ "u_spell_level('telekinetic_levitation')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -614,41 +945,68 @@ "difficulty": 8, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_telekinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telekinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_telekin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEKIN_AEGIS", - "condition": { - "and": [ - { "math": [ "u_spell_level('telekinetic_aegis')", ">=", "1" ] }, - { "math": [ "u_spell_exp('telekinetic_aegis')", "<=", "(difficulty_nine_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('telekinetic_aegis')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('telekinetic_aegis')", "+=", "(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_TELEKIN_AEGIS_FALSE", - "condition": { "math": [ "u_spell_level('telekinetic_aegis')", ">=", "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_TELEKIN_AEGIS_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_TELEKIN_AEGIS_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_TELEKIN_AEGIS_LEARNING_2", + "condition": { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telekinesis')" ] }, + "difficulty": 13 + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Aegis power.", + "popup": true + }, + { "math": [ "u_spell_level('telekinetic_aegis')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -664,41 +1022,68 @@ "difficulty": 9, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_telekinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telekinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_telekin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEKIN_EARTHSHAKER", - "condition": { - "and": [ - { "math": [ "u_spell_level('telekinetic_earthshaker')", ">=", "1" ] }, - { "math": [ "u_spell_exp('telekinetic_earthshaker')", "<=", "(difficulty_ten_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('telekinetic_earthshaker')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('telekinetic_earthshaker')", "+=", "(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_TELEKIN_EARTHSHAKER_FALSE", - "condition": { "math": [ "u_spell_level('telekinetic_earthshaker')", ">=", "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_TELEKIN_EARTHSHAKER_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_TELEKIN_EARTHSHAKER_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_TELEKIN_EARTHSHAKER_LEARNING_2", + "condition": { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telekinesis')" ] }, + "difficulty": 14 + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Earthshaker power.", + "popup": true + }, + { "math": [ "u_spell_level('telekinetic_earthshaker')", "=", "1" ] }, + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 50,100 )" ] } + ], + "false_effect": [ + { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true }, + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 50,100 )" ] } + ] + } + ] } ] } diff --git a/data/mods/MindOverMatter/recipes/practice/teleportation_practice.json b/data/mods/MindOverMatter/recipes/practice/teleportation_practice.json index 7417d0bf7f423..9d4662fb81e4d 100644 --- a/data/mods/MindOverMatter/recipes/practice/teleportation_practice.json +++ b/data/mods/MindOverMatter/recipes/practice/teleportation_practice.json @@ -36,40 +36,20 @@ "difficulty": 0, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_teleportation", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_teleportation", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEPORT_BLINK", - "condition": { - "and": [ - { "math": [ "u_spell_level('teleport_blink')", ">=", "1" ] }, - { "math": [ "u_spell_exp('teleport_blink')", "<=", "(difficulty_one_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('teleport_blink')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('teleport_blink')", "+=", "(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_TELEPORT_BLINK_FALSE", - "condition": { "math": [ "u_spell_level('teleport_blink')", ">=", "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" } - ] - } - ] - } + ] } ] }, @@ -85,40 +65,20 @@ "difficulty": 1, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_teleportation", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_teleportation", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEPORT_SLOW", - "condition": { - "and": [ - { "math": [ "u_spell_level('teleport_slow')", ">=", "1" ] }, - { "math": [ "u_spell_exp('teleport_slow')", "<=", "(difficulty_two_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('teleport_slow')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('teleport_slow')", "+=", "(contemplation_factor(1))" ] }, { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] }, { "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(2)" ] }, { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" } - ], - "false_effect": { - "run_eocs": [ - { - "id": "EOC_PRACTICE_TELEPORT_SLOW_FALSE", - "condition": { "math": [ "u_spell_level('teleport_slow')", ">=", "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" } - ] - } - ] - } + ] } ] }, @@ -134,40 +94,71 @@ "difficulty": 1, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_teleportation", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_teleportation", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEPORT_PHASE", - "condition": { - "and": [ - { "math": [ "u_spell_level('teleport_phase')", ">=", "1" ] }, - { "math": [ "u_spell_exp('teleport_phase')", "<=", "(difficulty_two_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('teleport_phase')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('teleport_phase')", "+=", "(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_TELEPORT_PHASE_FALSE", - "condition": { "math": [ "u_spell_level('teleport_phase')", ">=", "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_TELEPORT_PHASE_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_TELEPORT_PHASE_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_TELEPORT_PHASE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_teleportation')" ] }, + "difficulty": 6 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Phase power.", + "popup": true + }, + { "math": [ "u_spell_level('teleport_phase')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -183,40 +174,71 @@ "difficulty": 2, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_teleportation", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_teleportation", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEPORT_STRIDE", - "condition": { - "and": [ - { "math": [ "u_spell_level('teleport_stride')", ">=", "1" ] }, - { "math": [ "u_spell_exp('teleport_stride')", "<=", "(difficulty_three_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('teleport_stride')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('teleport_stride')", "+=", "(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_TELEPORT_STRIDE_FALSE", - "condition": { "math": [ "u_spell_level('teleport_stride')", ">=", "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_TELEPORT_STRIDE_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_TELEPORT_STRIDE_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_TELEPORT_STRIDE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_teleportation')" ] }, + "difficulty": 7 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Extended Stride power.", + "popup": true + }, + { "math": [ "u_spell_level('teleport_stride')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -232,140 +254,233 @@ "difficulty": 3, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_teleportation", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_teleportation", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEPORT_SWAP", - "condition": { - "and": [ - { "math": [ "u_spell_level('teleport_transpose')", ">=", "1" ] }, - { "math": [ "u_spell_exp('teleport_transpose')", "<=", "(difficulty_four_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('teleport_transpose')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('teleport_transpose')", "+=", "(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_TELEPORT_SWAP_FALSE", - "condition": { "math": [ "u_spell_level('teleport_transpose')", ">=", "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_TELEPORT_TRANSPOSE_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_TELEPORT_TRANSPOSE_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_TELEPORT_TRANSPOSE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_teleportation')" ] }, + "difficulty": 8 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Transposition power.", + "popup": true + }, + { "math": [ "u_spell_level('teleport_transpose')", "=", "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 )" ] } + ] + } + ] } ] }, { "type": "recipe", "activity_level": "LIGHT_EXERCISE", - "name": "contemplation: spacial vortex", - "id": "practice_teleport_collapse", - "description": "Contemplate your powers and improve your ability to bring distant points close together.", + "name": "contemplation: displacement", + "id": "practice_teleport_displacement", + "description": "Contemplate your powers and improve your ability to teleport your enemies away from you.", "category": "CC_*", "subcategory": "CSC_*_NESTED", "skill_used": "metaphysics", - "difficulty": 4, + "difficulty": 3, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_teleportation", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_teleportation", -1 ] ] ], "components": [ [ [ "matrix_crystal_teleport_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { - "id": "EOC_PRACTICE_TELEPORT_COLLAPSE", - "condition": { - "and": [ - { "math": [ "u_spell_level('teleport_collapse')", ">=", "1" ] }, - { "math": [ "u_spell_exp('teleport_collapse')", "<=", "(difficulty_five_contemplation(1))" ] } - ] - }, + "id": "EOC_PRACTICE_TELEPORT_DISPLACEMENT", + "condition": { "math": [ "u_spell_level('teleport_displacement')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, - { "math": [ "u_spell_exp('teleport_collapse')", "+=", "(contemplation_factor(1))" ] }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] }, - { "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(5)" ] }, + { "math": [ "u_spell_exp('teleport_displacement')", "+=", "(contemplation_factor(1))" ] }, + { "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_TELEPORT_COLLAPSE_FALSE", - "condition": { "math": [ "u_spell_level('teleport_collapse')", ">=", "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_TELEPORT_DISPLACEMENT_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_TELEPORT_DISPLACEMENT_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_TELEPORT_DISPLACEMENT_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_teleportation')" ] }, + "difficulty": 8 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Displacement power.", + "popup": true + }, + { "math": [ "u_spell_level('teleport_displacement')", "=", "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 )" ] } + ] + } + ] } ] }, { "type": "recipe", "activity_level": "LIGHT_EXERCISE", - "name": "contemplation: displacement", - "id": "practice_teleport_displacement", - "description": "Contemplate your powers and improve your ability to teleport your enemies away from you.", + "name": "contemplation: spacial vortex", + "id": "practice_teleport_collapse", + "description": "Contemplate your powers and improve your ability to bring distant points close together.", "category": "CC_*", "subcategory": "CSC_*_NESTED", "skill_used": "metaphysics", "difficulty": 4, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_teleportation", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_teleportation", -1 ] ] ], "components": [ [ [ "matrix_crystal_teleport_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { - "id": "EOC_PRACTICE_TELEPORT_DISPLACEMENT", - "condition": { - "and": [ - { "math": [ "u_spell_level('teleport_displacement')", ">=", "1" ] }, - { "math": [ "u_spell_exp('teleport_displacement')", "<=", "(difficulty_five_contemplation(1))" ] } - ] - }, + "id": "EOC_PRACTICE_TELEPORT_COLLAPSE", + "condition": { "math": [ "u_spell_level('teleport_collapse')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, - { "math": [ "u_spell_exp('teleport_displacement')", "+=", "(contemplation_factor(1))" ] }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] }, + { "math": [ "u_spell_exp('teleport_collapse')", "+=", "(contemplation_factor(1))" ] }, + { "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_TELEPORT_DISPLACEMENT_FALSE", - "condition": { "math": [ "u_spell_level('teleport_displacement')", ">=", "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_TELEPORT_COLLAPSE_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_TELEPORT_COLLAPSE_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_TELEPORT_COLLAPSE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_teleportation')" ] }, + "difficulty": 9 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Spacial Vortex power.", + "popup": true + }, + { "math": [ "u_spell_level('teleport_collapse')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -381,41 +496,72 @@ "difficulty": 5, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_teleportation", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_teleportation", -1 ] ] ], "components": [ [ [ "matrix_crystal_teleport_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEPORT_FARSTEP", - "condition": { - "and": [ - { "math": [ "u_spell_level('teleport_farstep')", ">=", "1" ] }, - { "math": [ "u_spell_exp('teleport_farstep')", "<=", "(difficulty_six_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('teleport_farstep')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('teleport_farstep')", "+=", "(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_TELEPORT_FARSTEP_FALSE", - "condition": { "math": [ "u_spell_level('teleport_farstep')", ">=", "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_TELEPORT_FARSTEP_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_TELEPORT_FARSTEP_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_TELEPORT_FARSTEP_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_teleportation')" ] }, + "difficulty": 10 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Farstep power.", + "popup": true + }, + { "math": [ "u_spell_level('teleport_farstep')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -431,41 +577,72 @@ "difficulty": 6, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_teleportation", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_teleportation", -1 ] ] ], "components": [ [ [ "matrix_crystal_teleport_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEPORT_BANISH", - "condition": { - "and": [ - { "math": [ "u_spell_level('teleport_banish')", ">=", "1" ] }, - { "math": [ "u_spell_exp('teleport_banish')", "<=", "(difficulty_seven_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('teleport_banish')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('teleport_banish')", "+=", "(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_TELEPORT_BANISH_FALSE", - "condition": { "math": [ "u_spell_level('teleport_banish')", ">=", "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_TELEPORT_BANISH_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_TELEPORT_BANISH_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_TELEPORT_BANISH_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_teleportation')" ] }, + "difficulty": 11 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Oubliette power.", + "popup": true + }, + { "math": [ "u_spell_level('teleport_banish')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -481,41 +658,73 @@ "difficulty": 7, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_teleportation", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_teleportation", -1 ] ] ], "components": [ [ [ "matrix_crystal_teleport_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEPORT_GATEWAY", - "condition": { - "and": [ - { "math": [ "u_spell_level('teleport_gateway')", ">=", "1" ] }, - { "math": [ "u_spell_exp('teleport_gateway')", "<=", "(difficulty_eight_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('teleport_gateway')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('teleport_gateway')", "+=", "(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_TELEPORT_GATEWAY_FALSE", - "condition": { "math": [ "u_spell_level('teleport_gateway')", ">=", "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_TELEPORT_GATEWAY_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_TELEPORT_GATEWAY_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_TELEPORT_GATEWAY_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_teleportation')" ] }, + "difficulty": 12 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Gateway power.", + "popup": true + }, + { "math": [ "u_spell_level('teleport_gateway')", "=", "1" ] }, + { "math": [ "u_spell_level('teleport_area_attune')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -531,41 +740,72 @@ "difficulty": 8, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_teleportation", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_teleportation", -1 ] ] ], "components": [ [ [ "matrix_crystal_teleport_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_TELEPORT_BREACH", - "condition": { - "and": [ - { "math": [ "u_spell_level('teleport_summon')", ">=", "1" ] }, - { "math": [ "u_spell_exp('teleport_summon')", "<=", "(difficulty_nine_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('teleport_summon')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('teleport_summon')", "+=", "(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_TELEPORT_BREACH_FALSE", - "condition": { "math": [ "u_spell_level('teleport_summon')", ">=", "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_TELEPORT_BREACH_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_TELEPORT_BREACH_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_TELEPORT_BREACH_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_teleportation')" ] }, + "difficulty": 13 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Breach power.", + "popup": true + }, + { "math": [ "u_spell_level('teleport_summon')", "=", "1" ] }, + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 50,100 )" ] } + ], + "false_effect": [ + { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true }, + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 50,100 )" ] } + ] + } + ] } ] } diff --git a/data/mods/MindOverMatter/recipes/practice/vitakinesis_practice.json b/data/mods/MindOverMatter/recipes/practice/vitakinesis_practice.json index f770c19b454bf..3bddea1f40164 100644 --- a/data/mods/MindOverMatter/recipes/practice/vitakinesis_practice.json +++ b/data/mods/MindOverMatter/recipes/practice/vitakinesis_practice.json @@ -42,40 +42,20 @@ "difficulty": 0, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_vitakinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_vitakinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_VITAKIN_HEALTH", - "condition": { - "and": [ - { "math": [ "u_spell_level('vita_health_power')", ">=", "1" ] }, - { "math": [ "u_spell_exp('vita_health_power')", "<=", "(difficulty_one_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('vita_health_power')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('vita_health_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(1)" ] }, { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" } - ], - "false_effect": { - "run_eocs": [ - { - "id": "EOC_PRACTICE_VITAKIN_HEALTH_FALSE", - "condition": { "math": [ "u_spell_level('vita_health_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" } - ] - } - ] - } + ] } ] }, @@ -91,40 +71,61 @@ "difficulty": 1, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_vitakinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_vitakinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_VITAKIN_STAUNCHING", - "condition": { - "and": [ - { "math": [ "u_spell_level('vita_stop_bleeding')", ">=", "1" ] }, - { "math": [ "u_spell_exp('vita_stop_bleeding')", "<=", "(difficulty_two_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('vita_stop_bleeding')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('vita_stop_bleeding')", "+=", "(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_VITAKIN_STAUNCHING_FALSE", - "condition": { "math": [ "u_spell_level('vita_stop_bleeding')", ">=", "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": "effect_on_condition", + "id": "EOC_PRACTICE_VITAKIN_STAUNCHING_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_VITAKIN_STAUNCHING_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_vitakinesis')" ] }, + "difficulty": 6 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Staunch Wound power.", + "popup": true + }, + { "math": [ "u_spell_level('vita_stop_bleeding')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -140,40 +141,71 @@ "difficulty": 2, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_vitakinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_vitakinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_VITAKIN_HURT", - "condition": { - "and": [ - { "math": [ "u_spell_level('vita_hurt_touch')", ">=", "1" ] }, - { "math": [ "u_spell_exp('vita_hurt_touch')", "<=", "(difficulty_three_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('vita_hurt_touch')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('vita_hurt_touch')", "+=", "(contemplation_factor(1))" ] }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] }, + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] }, { "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(3)" ] }, { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" } ], - "false_effect": { - "run_eocs": [ - { - "id": "EOC_PRACTICE_VITAKIN_HURT_FALSE", - "condition": { "math": [ "u_spell_level('vita_hurt_touch')", ">=", "1" ] }, - "effect": [ - { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." }, - { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" } - ], - "false_effect": [ - { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." }, - { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" } - ] - } - ] + "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_VITAKIN_HURT_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_VITAKIN_HURT_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_VITAKIN_HURT_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_vitakinesis')" ] }, + "difficulty": 7 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Enervating Touch power.", + "popup": true + }, + { "math": [ "u_spell_level('vita_hurt_touch')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -189,40 +221,71 @@ "difficulty": 2, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_vitakinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_vitakinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_VITAKIN_HEAL_TOUCH_ALLY", - "condition": { - "and": [ - { "math": [ "u_spell_level('vita_health_power_ally')", ">=", "1" ] }, - { "math": [ "u_spell_exp('vita_health_power_ally')", "<=", "(difficulty_three_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('vita_health_power_ally')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('vita_health_power_ally')", "+=", "(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_VITAKIN_HEAL_TOUCH_ALLY_FALSE", - "condition": { "math": [ "u_spell_level('vita_health_power_ally')", ">=", "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_VITAKIN_HEAL_TOUCH_ALLY_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_VITAKIN_HEAL_TOUCH_ALLY_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_VITAKIN_HEAL_TOUCH_ALLY_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_vitakinesis')" ] }, + "difficulty": 7 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Medicinal Touch power.", + "popup": true + }, + { "math": [ "u_spell_level('vita_health_power_ally')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -238,40 +301,71 @@ "difficulty": 2, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_vitakinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_vitakinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_VITAKIN_REMOVE_POISON", - "condition": { - "and": [ - { "math": [ "u_spell_level('vita_remove_poison')", ">=", "1" ] }, - { "math": [ "u_spell_exp('vita_remove_poison')", "<=", "(difficulty_three_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('vita_remove_poison')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('vita_remove_poison')", "+=", "(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_VITAKIN_REMOVE_POISON_FALSE", - "condition": { "math": [ "u_spell_level('vita_remove_poison')", ">=", "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_VITAKIN_REMOVE_POISON_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_VITAKIN_REMOVE_POISON_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_VITAKIN_REMOVE_POISON_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_vitakinesis')" ] }, + "difficulty": 7 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Detoxification power.", + "popup": true + }, + { "math": [ "u_spell_level('vita_remove_poison')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -287,41 +381,72 @@ "difficulty": 3, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_vitakinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_vitakinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_vitakin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_VITAKIN_SLEEP", - "condition": { - "and": [ - { "math": [ "u_spell_level('vita_sleeping_trance')", ">=", "1" ] }, - { "math": [ "u_spell_exp('vita_sleeping_trance')", "<=", "(difficulty_four_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('vita_sleeping_trance')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('vita_sleeping_trance')", "+=", "(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_VITAKIN_SLEEP_FALSE", - "condition": { "math": [ "u_spell_level('vita_sleeping_trance')", ">=", "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_VITAKIN_SLEEP_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_VITAKIN_SLEEP_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_VITAKIN_SLEEP_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_vitakinesis')" ] }, + "difficulty": 8 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Wakeful Rest power.", + "popup": true + }, + { "math": [ "u_spell_level('vita_sleeping_trance')", "=", "1" ] }, + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 20,40 )" ] } + ], + "false_effect": [ + { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true }, + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 20,40 )" ] } + ] + } + ] } ] }, @@ -337,41 +462,72 @@ "difficulty": 3, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_vitakinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_vitakinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_vitakin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_VITAKIN_CURE_DISEASE", - "condition": { - "and": [ - { "math": [ "u_spell_level('vita_cure_disease')", ">=", "1" ] }, - { "math": [ "u_spell_exp('vita_cure_disease')", "<=", "(difficulty_four_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('vita_cure_disease')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('vita_cure_disease')", "+=", "(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_VITAKIN_CURE_DISEASE_FALSE", - "condition": { "math": [ "u_spell_level('vita_cure_disease')", ">=", "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_VITAKIN_CURE_DISEASE_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_VITAKIN_CURE_DISEASE_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_VITAKIN_CURE_DISEASE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_vitakinesis')" ] }, + "difficulty": 8 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Immunostimulus power.", + "popup": true + }, + { "math": [ "u_spell_level('vita_cure_disease')", "=", "1" ] }, + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 20,40 )" ] } + ], + "false_effect": [ + { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true }, + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 20,40 )" ] } + ] + } + ] } ] }, @@ -387,41 +543,72 @@ "difficulty": 4, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_vitakinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_vitakinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_vitakin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_VITAKIN_DAMAGE_BALANCE", - "condition": { - "and": [ - { "math": [ "u_spell_level('vita_pain_split')", ">=", "1" ] }, - { "math": [ "u_spell_exp('vita_pain_split')", "<=", "(difficulty_five_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('vita_pain_split')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('vita_pain_split')", "+=", "(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_VITAKIN_DAMAGE_BALANCE_FALSE", - "condition": { "math": [ "u_spell_level('vita_pain_split')", ">=", "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_VITAKIN_DAMAGE_BALANCE_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_VITAKIN_DAMAGE_BALANCE_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_VITAKIN_DAMAGE_BALANCE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_vitakinesis')" ] }, + "difficulty": 9 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Damage Balancing power.", + "popup": true + }, + { "math": [ "u_spell_level('vita_pain_split')", "=", "1" ] }, + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 25,50 )" ] } + ], + "false_effect": [ + { "u_message": "You just couldn't manage to grasp the technique. You'll have to try again.", "popup": true }, + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 25,50 )" ] } + ] + } + ] } ] }, @@ -437,41 +624,72 @@ "difficulty": 4, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_vitakinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_vitakinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_vitakin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_VITAKIN_STOP_INFECTION", - "condition": { - "and": [ - { "math": [ "u_spell_level('vita_stop_infection')", ">=", "1" ] }, - { "math": [ "u_spell_exp('vita_stop_infection')", "<=", "(difficulty_five_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('vita_stop_infection')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('vita_stop_infection')", "+=", "(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_VITAKIN_STOP_INFECTION_FALSE", - "condition": { "math": [ "u_spell_level('vita_stop_infection')", ">=", "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_VITAKIN_STOP_INFECTION_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_VITAKIN_STOP_INFECTION_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_VITAKIN_STOP_INFECTION_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_vitakinesis')" ] }, + "difficulty": 9 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Allay Infection power.", + "popup": true + }, + { "math": [ "u_spell_level('vita_stop_infection')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -487,41 +705,72 @@ "difficulty": 5, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_vitakinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_vitakinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_vitakin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_VITAKIN_HEALING_TRANCE", - "condition": { - "and": [ - { "math": [ "u_spell_level('vita_healing_trance')", ">=", "1" ] }, - { "math": [ "u_spell_exp('vita_healing_trance')", "<=", "(difficulty_six_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('vita_healing_trance')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('vita_healing_trance')", "+=", "(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_VITAKIN_HEALING_TRANCE_FALSE", - "condition": { "math": [ "u_spell_level('vita_healing_trance')", ">=", "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_VITAKIN_HEALING_TRANCE_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_VITAKIN_HEALING_TRANCE_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_VITAKIN_HEALING_TRANCE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_vitakinesis')" ] }, + "difficulty": 10 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Revitalizing Meditation power.", + "popup": true + }, + { "math": [ "u_spell_level('vita_healing_trance')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -537,41 +786,21 @@ "difficulty": 5, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_vitakinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_vitakinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_vitakin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_VITAKIN_PURGE_RADS", - "condition": { - "and": [ - { "math": [ "u_spell_level('vita_purge_rads')", ">=", "1" ] }, - { "math": [ "u_spell_exp('vita_purge_rads')", "<=", "(difficulty_six_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('vita_purge_rads')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('vita_purge_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(6)" ] }, { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" } - ], - "false_effect": { - "run_eocs": [ - { - "id": "EOC_PRACTICE_VITAKIN_PURGE_RADS_FALSE", - "condition": { "math": [ "u_spell_level('vita_purge_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" } - ] - } - ] - } + ] } ] }, @@ -580,47 +809,78 @@ "activity_level": "LIGHT_EXERCISE", "name": "contemplation: lacerating touch", "id": "practice_vita_attack_touch", - "description": "Contemplate your powers and improve your ability to trigger an adrenaline surge at will.", + "description": "Contemplate your powers and improve your ability to cause wounds with a touch.", "category": "CC_*", "subcategory": "CSC_*_NESTED", "skill_used": "metaphysics", "difficulty": 5, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_vitakinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_vitakinesis", -1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_VITAKIN_ATTACK_TOUCH", - "condition": { - "and": [ - { "math": [ "u_spell_level('vita_attack_touch')", ">=", "1" ] }, - { "math": [ "u_spell_exp('vita_attack_touch')", "<=", "(difficulty_six_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('vita_attack_touch')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('vita_attack_touch')", "+=", "(contemplation_factor(1))" ] }, - { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 0,2 )" ] }, + { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] }, { "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(6)" ] }, { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" } ], - "false_effect": { - "run_eocs": [ - { - "id": "EOC_PRACTICE_VITAKIN_ATTACK_TOUCH_FALSE", - "condition": { "math": [ "u_spell_level('vita_attack_touch')", ">=", "1" ] }, - "effect": [ - { "u_message": "Your knowledge of your powers is so deep that mere contemplation is of no further use to you." }, - { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" } - ], - "false_effect": [ - { "u_message": "Without even a basic understanding of the power, your meditation is nothing but idle musings." }, - { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" } - ] - } - ] + "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_VITAKIN_ATTACK_TOUCH_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_VITAKIN_ATTACK_TOUCH_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_VITAKIN_ATTACK_TOUCH_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_vitakinesis')" ] }, + "difficulty": 10 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Lacerating Touch power.", + "popup": true + }, + { "math": [ "u_spell_level('vita_attack_touch')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -636,41 +896,72 @@ "difficulty": 6, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_vitakinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_vitakinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_vitakin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_VITAKIN_PURGE", - "condition": { - "and": [ - { "math": [ "u_spell_level('vita_blood_purge')", ">=", "1" ] }, - { "math": [ "u_spell_exp('vita_blood_purge')", "<=", "(difficulty_seven_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('vita_blood_purge')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('vita_blood_purge')", "+=", "(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_VITAKIN_PURGE_FALSE", - "condition": { "math": [ "u_spell_level('vita_blood_purge')", ">=", "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_VITAKIN_PURGE_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_VITAKIN_PURGE_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_VITAKIN_PURGE_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_vitakinesis')" ] }, + "difficulty": 11 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Blood Purge power.", + "popup": true + }, + { "math": [ "u_spell_level('vita_blood_purge')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -686,41 +977,72 @@ "difficulty": 7, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_vitakinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_vitakinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_vitakin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_VITAKIN_BANISH_ILLNESS", - "condition": { - "and": [ - { "math": [ "u_spell_level('vita_banish_illness')", ">=", "1" ] }, - { "math": [ "u_spell_exp('vita_banish_illness')", "<=", "(difficulty_eight_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('vita_banish_illness')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('vita_banish_illness')", "+=", "(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_VITAKIN_BANISH_ILLNESS_FALSE", - "condition": { "math": [ "u_spell_level('vita_banish_illness')", ">=", "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_VITAKIN_BANISH_ILLNESS_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_VITAKIN_BANISH_ILLNESS_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_VITAKIN_BANISH_ILLNESS_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_vitakinesis')" ] }, + "difficulty": 12 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Banish Illness power.", + "popup": true + }, + { "math": [ "u_spell_level('vita_banish_illness')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -736,41 +1058,72 @@ "difficulty": 8, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_vitakinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_vitakinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_vitakin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_VITAKIN_SUPER_HEAL", - "condition": { - "and": [ - { "math": [ "u_spell_level('vita_super_heal')", ">=", "1" ] }, - { "math": [ "u_spell_exp('vita_super_heal')", "<=", "(difficulty_nine_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('vita_super_heal')", ">=", "1" ] }, "effect": [ { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('vita_super_heal')", "+=", "(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_VITAKIN_SUPER_HEAL_FALSE", - "condition": { "math": [ "u_spell_level('vita_super_heal')", ">=", "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_VITAKIN_SUPER_HEAL_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_VITAKIN_SUPER_HEAL_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_VITAKIN_SUPER_HEAL_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_vitakinesis')" ] }, + "difficulty": 13 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Anabolic Rejuvenation power.", + "popup": true + }, + { "math": [ "u_spell_level('vita_super_heal')", "=", "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 )" ] } + ] + } + ] } ] }, @@ -786,41 +1139,21 @@ "difficulty": 9, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_vitakinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_vitakinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_vitakin_dust", 2 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_VITAKIN_LIMB_RESTORE", - "condition": { - "and": [ - { "math": [ "u_spell_level('vita_limb_restore')", ">=", "1" ] }, - { "math": [ "u_spell_exp('vita_limb_restore')", "<=", "(difficulty_ten_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('vita_limb_restore')", ">=", "1" ] }, "effect": [ { "u_message": "You spend a lot of time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('vita_limb_restore')", "+=", "(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_VITAKIN_LIMB_RESTORE_FALSE", - "condition": { "math": [ "u_spell_level('vita_limb_restore')", ">=", "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" } - ] - } - ] - } + ] } ] }, @@ -836,41 +1169,72 @@ "difficulty": 9, "time": "30 m", "autolearn": false, - "tools": [ [ [ "matrix_crystal_drained", -1 ] ] ], + "proficiencies": [ { "proficiency": "prof_contemplation_vitakinesis", "required": false } ], + "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_vitakinesis", -1 ] ] ], "components": [ [ [ "matrix_crystal_vitakin_dust", 1 ] ] ], "flags": [ "SECRET", "BLIND_HARD" ], "result_eocs": [ { "id": "EOC_PRACTICE_VITAKIN_RETURN_FROM_DEATH", - "condition": { - "and": [ - { "math": [ "u_spell_level('vita_return_from_death')", ">=", "1" ] }, - { "math": [ "u_spell_exp('vita_return_from_death')", "<=", "(difficulty_ten_contemplation(1))" ] } - ] - }, + "condition": { "math": [ "u_spell_level('vita_return_from_death')", ">=", "1" ] }, "effect": [ { "u_message": "You spend a lot of time meditating and contemplating your powers and emerge with new knowledge." }, { "math": [ "u_spell_exp('vita_return_from_death')", "+=", "(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": "EEOC_PRACTICE_VITAKIN_RETURN_FROM_DEATH_FALSE", - "condition": { "math": [ "u_spell_level('vita_return_from_death')", ">=", "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_VITAKIN_RETURN_FROM_DEATH_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_VITAKIN_RETURN_FROM_DEATH_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_VITAKIN_RETURN_FROM_DEATH_LEARNING_2", + "condition": { + "and": [ + { + "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_vitakinesis')" ] }, + "difficulty": 14 + } + ] + }, + "effect": [ + { + "u_message": "As you meditate, all the pieces suddenly come together. You've unlocked the Accelerated Resuscitation power.", + "popup": true + }, + { "math": [ "u_spell_level('vita_return_from_death')", "=", "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 )" ] } + ] + } + ] } ] }