Skip to content

Commit

Permalink
[Xedra Evolved] More Paraclesian powers (#71930)
Browse files Browse the repository at this point in the history
* Initial commit

* Add Body of Cloud + Ierde traits

* Add The Phoenix's Last Cry

* Add Impenetrable Earthen Shield

* Fix Salamanders blistering

* Edit sylph cloud body cost
  • Loading branch information
Standing-Storm authored Feb 23, 2024
1 parent 2985330 commit d6c98a1
Show file tree
Hide file tree
Showing 16 changed files with 394 additions and 18 deletions.
38 changes: 38 additions & 0 deletions data/mods/Xedra_Evolved/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,15 @@
"desc": [ "" ],
"removes_effects": [ "hallu", "taint", "hallucinogenic_acid_heavy", "hallucinogenic_acid_light", "visuals" ]
},
{
"type": "effect_type",
"id": "effect_ierde_earthen_shield",
"//": "Empty to hide effect--it's linked to a mutation already",
"name": [ "Impenetrable Earthen Shield" ],
"desc": [ "You are protected by the living earth." ],
"remove_message": "Your earthen shield finally crumbles.",
"enchantments": [ { "values": [ { "value": "FORCEFIELD", "add": 1 } ] } ]
},
{
"type": "effect_type",
"id": "effect_ierde_sense_nearby_monsters",
Expand Down Expand Up @@ -941,6 +950,16 @@
"removes_effects": [ "onfire", "blisters" ],
"enchantments": [ { "values": [ { "value": "CLIMATE_CONTROL_CHILL", "add": 1000 }, { "value": "ARMOR_HEAT", "add": -1000 } ] } ]
},
{
"type": "effect_type",
"id": "effect_hidden_flame_immunity",
"//": "name and description hidden because it's explained in the mutation",
"name": [ "" ],
"desc": [ "" ],
"rating": "good",
"removes_effects": [ "onfire", "blisters" ],
"enchantments": [ { "values": [ { "value": "CLIMATE_CONTROL_CHILL", "add": 1000 }, { "value": "ARMOR_HEAT", "add": -1000 } ] } ]
},
{
"type": "effect_type",
"id": "effect_salamander_cure_conditions",
Expand Down Expand Up @@ -1046,6 +1065,14 @@
"name": [ "Arisen" ],
"desc": [ "Like the phoenix, you have been reborn." ]
},
{
"type": "effect_type",
"id": "effect_salamander_phoenix_healing",
"name": [ "Phoenix's Rejuvenation" ],
"desc": [ "Like the phoenix, the flames are renewing your flesh." ],
"remove_message": "The aftereffects of the phoenix fire finally fade.",
"enchantments": [ { "values": [ { "value": "REGEN_HP", "multiply": 2 } ] } ]
},
{
"type": "effect_type",
"id": "effect_lucid_dream",
Expand Down Expand Up @@ -1094,6 +1121,17 @@
"rating": "good",
"flags": [ "LEVITATION" ]
},
{
"type": "effect_type",
"id": "effect_sylph_cloud_body",
"name": [ "Body of Clouds" ],
"desc": [ "You are mist and cloud and wind." ],
"apply_message": "",
"remove_message": "Your body regains its solidity.",
"rating": "good",
"enchantments": [ { "values": [ { "value": "MOVE_COST", "multiply": -0.8 }, { "value": "EVASION", "add": 1 } ] } ],
"flags": [ "ETHEREAL", "INVISIBLE" ]
},
{
"type": "effect_type",
"id": "effect_sylph_cannot_be_slowed",
Expand Down
16 changes: 16 additions & 0 deletions data/mods/Xedra_Evolved/items/armor/integrated.json
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,22 @@
}
]
},
{
"id": "item_salamander_cooking_heat",
"type": "TOOL_ARMOR",
"name": { "str_sp": "stove's caress" },
"description": "Heat from your hands. You may cook with it at will.",
"weight": "0 g",
"volume": "0 L",
"price": 1,
"price_postapoc": 1,
"symbol": "$",
"color": "red",
"flags": [ "PERSONAL", "PADDED", "UNBREAKABLE", "INTEGRATED", "SEMITANGIBLE", "ZERO_WEIGHT", "NO_DROP", "TRANSPARENT" ],
"qualities": [ [ "BLOW_HOT_AIR", 1 ] ],
"use_action": [ { "type": "HEAT_FOOD" } ],
"relic_data": { "passive_effects": [ { "has": "HELD", "condition": "ALWAYS", "values": [ { "value": "MAX_MANA", "add": 0 } ] } ] }
},
{
"id": "integrated_gelatinous_skin",
"type": "ARMOR",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,6 @@
"id": "arvore_roots_spell",
"type": "SPELL",
"name": { "//~": "The name is a reference to the poem \"Goblin Market\" by Christina Rossetti.", "str": "Hungry Thirsty Roots" },
"//": "Experience with the druid spell Vegetative Grasp shows that at high levels it's a horde-killer with a single cast, so this is a greatly toned-down version with less predictability.",
"description": "Your command over plants allows you to call forth roots from the earth to clutch and grasp at your enemies.",
"valid_targets": [ "hostile", "ground" ],
"flags": [ "NO_PROJECTILE", "NO_HANDS", "NO_LEGS", "RANDOM_DURATION" ],
Expand Down
40 changes: 39 additions & 1 deletion data/mods/Xedra_Evolved/mutations/paraclesians/ierde_eocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
{
"run_eoc_with": "EOC_GENERIC_SPELL_MUTATION",
"variables": {
"prep_time": "2",
"prep_time": "0.5",
"spell_to_cast": "ierde_smashing_punch_spell",
"message_success": { "i18n": true, "str": "You gather yourself for a moment and strike." },
"message_fail": ""
Expand Down Expand Up @@ -175,6 +175,44 @@
"condition": { "math": [ "u_val('sleep_deprivation')", ">=", "0" ] },
"effect": { "math": [ "u_val('sleep_deprivation')", "-=", "1" ] }
},
{
"type": "effect_on_condition",
"id": "EOC_IERDE_EARTHEN_SHIELD_SPELL",
"condition": {
"and": [
{ "u_is_on_terrain_with_flag": "DIGGABLE" },
{ "not": { "u_is_on_terrain": "t_grass_alien" } },
{ "not": { "u_is_on_terrain": "t_vitrified_sand" } },
{ "not": { "u_is_on_terrain": "t_pit_corpsed" } },
{ "not": { "u_is_on_terrain": "t_fungus" } },
{ "not": { "u_is_on_terrain": "t_glassed_sand" } },
{ "not": { "u_is_on_terrain": "t_rubber_mulch" } },
{ "not": { "u_is_on_terrain": "t_swater_surf" } },
{ "not": { "u_is_on_terrain": "t_woodchips" } }
]
},
"effect": [
{
"u_add_effect": "effect_ierde_earthen_shield",
"duration": {
"math": [ "( ( (u_spell_level('ierde_earthen_shield_spell') * 15) + 300) * (scaling_factor(u_val('strength') ) ) )" ]
}
},
{
"math": [ "u_earthen_shield_protection_level", "=", "(u_spell_level('ierde_earthen_shield_spell') * 1 * rng(0.5,1.5)) + 4" ]
}
],
"false_effect": [ { "u_message": "You must be on living earth or stone to create the earthen shield.", "type": "bad" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_IERDE_EARTHEN_SHIELD_REDUCER",
"eoc_type": "EVENT",
"required_event": "character_takes_damage",
"condition": { "math": [ "u_earthen_shield_protection_level", ">=", "1" ] },
"effect": [ { "math": [ "u_earthen_shield_protection_level", "-=", "1" ] } ],
"false_effect": [ { "u_lose_effect": "effect_ierde_earthen_shield" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_IERDE_SINK_INTO_EARTH_activate",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,33 @@
},
"max_aoe": 15
},
{
"id": "ierde_earthen_shield_spell",
"type": "SPELL",
"name": "Impenetrable Earthen Shield",
"description": "While standing on the living earth or stone, infuse your skin with the hardness of bedrock. You will take no damage at all while the spell is in effect, though repeated blows can wear through the shield until it breaks.",
"flags": [ "SOMATIC", "VERBAL", "NO_EXPLOSION_SFX" ],
"valid_targets": [ "self" ],
"teachable": false,
"skill": "deduction",
"spell_class": "IERDE",
"max_level": { "math": [ "str_to_level(1)" ] },
"effect": "effect_on_condition",
"effect_str": "EOC_IERDE_EARTHEN_SHIELD_SPELL",
"shape": "blast",
"difficulty": 8,
"min_duration": {
"math": [ "( ( (u_spell_level('ierde_earthen_shield_spell') * 1500) + 30000) * (scaling_factor(u_val('strength') ) ) )" ]
},
"max_duration": {
"math": [ "( ( (u_spell_level('ierde_earthen_shield_spell') * 1500) + 30000) * (scaling_factor(u_val('strength') ) ) )" ]
},
"energy_source": "MANA",
"base_energy_cost": 850,
"final_energy_cost": 650,
"energy_increment": -10,
"base_casting_time": 1500
},
{
"id": "ierde_summon_earth_spirit",
"type": "SPELL",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,18 @@
"category": [ "IERDE" ],
"spells_learned": [ [ "ierde_iron_armor_spell", 1 ] ]
},
{
"type": "mutation",
"id": "IERDE_EARTH_SHIELD",
"name": { "str": "Impenetrable Earthen Shield" },
"points": 6,
"visibility": 0,
"ugliness": 0,
"description": "While standing on natural earth or stone, the Ierde can summon up an earthen shield to protect themselves. They will be invulnerable until the shield breaks.",
"prereqs": [ "IERDE_IRON_ARMOR" ],
"category": [ "IERDE" ],
"spells_learned": [ [ "ierde_earthen_shield_spell", 1 ] ]
},
{
"type": "mutation",
"id": "IERDE_NO_SCENT_AND_IRON",
Expand Down Expand Up @@ -327,6 +339,16 @@
}
]
},
{
"type": "mutation",
"id": "IERDE_FEEL_HALF_PAIN",
"name": { "str": "Stone Does Not Cry Out" },
"points": 5,
"description": "Like the stone, the Ierde suffers little from blows. All pain is halved.",
"category": [ "IERDE" ],
"prereqs": [ "IERDE_REGAIN_STAMINA_UNDERGROUND", "IERDE_HEAL_FASTER_UNDERGROUND" ],
"enchantments": [ { "values": [ { "value": "PAIN", "multiply": -0.5 } ] } ]
},
{
"type": "mutation",
"id": "IERDE_SINK_INTO_EARTH",
Expand Down Expand Up @@ -475,6 +497,38 @@
"category": [ "IERDE" ],
"passive_mods": { "per_mod": 3 }
},
{
"type": "mutation",
"id": "IERDE_FEEL_NO_PAIN",
"name": { "str": "The Mountain Is Unflinching" },
"points": 12,
"description": "While on living earth or stone or underground, the Ierde is as impassive as the mountains and feels no pain at all.",
"category": [ "IERDE" ],
"threshreq": [ "THRESH_IERDE" ],
"prereqs": [ "IERDE_FEEL_HALF_PAIN" ],
"enchantments": [
{
"condition": {
"or": [
{ "math": [ "u_val('pos_z')", "<=", "-1" ] },
{
"and": [
{ "u_is_on_terrain_with_flag": "DIGGABLE" },
{ "not": { "u_is_on_terrain": "t_vitrified_sand" } },
{ "not": { "u_is_on_terrain": "t_pit_corpsed" } },
{ "not": { "u_is_on_terrain": "t_fungus" } },
{ "not": { "u_is_on_terrain": "t_glassed_sand" } },
{ "not": { "u_is_on_terrain": "t_rubber_mulch" } },
{ "not": { "u_is_on_terrain": "t_swater_surf" } },
{ "not": { "u_is_on_terrain": "t_woodchips" } }
]
}
]
},
"values": [ { "value": "PAIN", "multiply": -1.0 } ]
}
]
},
{
"type": "mutation",
"id": "IERDE_NO_DISEASE_OR_PARA",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"IERDE_CREATE_PITS",
"IERDE_KNOCKBACK_PUNCH",
"IERDE_RESHAPE_THE_EARTH",
"IERDE_EARTH_SHIELD",
"IERDE_SUMMON_EARTH_ELEMENTAL",
"IERDE_CULTIVATE_GOBLIN_FRUIT",
"PARACLESIAN_MAKE_GOSSAMER"
Expand Down Expand Up @@ -56,6 +57,7 @@
{ "math": [ "u_spell_level('ierde_knockback_punch_spell')", "<", "str_to_level(1)" ] },
{ "math": [ "u_spell_level('ierde_iron_armor_spell')", "<", "per_to_level(1)" ] },
{ "math": [ "u_spell_level('ierde_reshape_the_earth_spell')", "<", "per_to_level(1)" ] },
{ "math": [ "u_spell_level('ierde_earthen_shield_spell')", "<", "str_to_level(1)" ] },
{ "math": [ "u_spell_level('ierde_summon_earth_spirit')", "<", "35" ] },
{ "math": [ "u_spell_level('ierde_cultivate_goblin_fruit')", "<", "str_to_level(1)" ] },
{ "math": [ "u_spell_level('paraclesian_spell_make_gossamer')", "<", "8" ] }
Expand All @@ -68,6 +70,7 @@
[ "EOC_LEVELER_IERDE_KNOCKBACK_PUNCH", 9 ],
[ "EOC_LEVELER_IERDE_IRON_ARMOR", 6 ],
[ "EOC_LEVELER_IERDE_RESHAPE_THE_EARTH", 7 ],
[ "EOC_LEVELER_IERDE_EARTHEN_SHIELD", 3 ],
[ "EOC_LEVELER_IERDE_SUMMON_EARTH_SPIRIT", 8 ],
[ "EOC_LEVELER_IERDE_CULTIVATE_GOBLIN_FRUIT", 3 ],
[ "EOC_LEVELER_IERDE_MAKE_GOSSAMER", 4 ]
Expand Down Expand Up @@ -164,6 +167,24 @@
],
"false_effect": [ { "run_eocs": "EOC_IERDE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_LEVELER_IERDE_EARTHEN_SHIELD",
"condition": {
"and": [
{ "math": [ "u_spell_level('ierde_earthen_shield_spell')", ">=", "0" ] },
{ "math": [ "u_spell_level('ierde_earthen_shield_spell')", "<", "str_to_level(1)" ] }
]
},
"effect": [
{
"u_message": "Your time spent surrounded by the living earth has increased your facility with your fae magicks.",
"type": "good"
},
{ "math": [ "u_spell_exp('ierde_earthen_shield_spell')", "+=", "paraclesian_passive_spell_exp(1)" ] }
],
"false_effect": [ { "run_eocs": "EOC_IERDE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_LEVELER_IERDE_SUMMON_EARTH_SPIRIT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
"condition": {
"and": [
{ "u_has_trait": "THRESH_IERDE" },
{ "u_has_trait": "IERDE_RESHAPE_THE_EARTH" },
{
"or": [
{ "compare_string": [ "ACT_MULTIPLE_MINE", { "context_val": "activity" } ] },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,23 @@
"id": "EOC_SALAMANDER_NO_SLEEP",
"effect": [ { "math": [ "u_val('fatigue')", "=", "0" ] }, { "math": [ "u_val('sleep_deprivation')", "=", "0" ] } ]
},
{
"type": "effect_on_condition",
"id": "EOC_SALAMANDER_GRANT_COOKING_HEAT",
"condition": { "not": { "u_has_item": "item_salamander_cooking_heat" } },
"effect": [ { "u_spawn_item": "item_salamander_cooking_heat" }, { "u_message": "Your hands grow warm.", "type": "good" } ],
"false_effect": [
{ "u_remove_item_with": "item_salamander_cooking_heat" },
{ "u_message": "The heat from your hands fades away.", "type": "neutral" }
]
},
{
"type": "effect_on_condition",
"id": "EOC_SALAMANDER_FIRE_FOOSTEPS",
"condition": { "math": [ "u_val('mana')", ">=", "4" ] },
"effect": [
{ "math": [ "u_val('mana')", "-=", "4" ] },
{ "u_add_effect": "effect_flame_immunity", "duration": "2 s" },
{ "u_add_effect": "effect_hidden_flame_immunity", "duration": "2 s" },
{ "u_set_field": "fd_fire", "radius": 0, "hit_player": false }
],
"false_effect": [ { "u_message": "You do not have enough mana to fuel your searing footsteps!", "type": "bad" } ]
Expand Down
Loading

0 comments on commit d6c98a1

Please sign in to comment.