Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Xedra Evolved] More Ierde and Undine Paraclesian traits #71132

Merged
merged 10 commits into from
Jan 24, 2024
Next Next commit
Initial commit
  • Loading branch information
Standing-Storm committed Jan 21, 2024
commit 4239b4112d6bd33b26b72cdfb974951daf6efc55
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@
"difficulty": 4,
"spell_class": "ARVORE",
"valid_targets": [ "self" ],
"skill": "deduction",
"effect": "effect_on_condition",
"effect_str": "EOC_ARVORE_SUMMON_PRESERVATION_CONTAINER_CHECK",
"shape": "blast",
Expand Down Expand Up @@ -781,7 +782,7 @@
"id": "arvore_forest_translocate_attune",
"type": "SPELL",
"name": "Root to Root Attunement",
"description": "Attune to a location for later traveling. YOu must attune within the depths of a forest.",
"description": "Attune to a location for later traveling. You must attune within the depths of a forest.",
"teachable": false,
"valid_targets": [ "self" ],
"spell_class": "ARVORE",
Expand Down
15 changes: 15 additions & 0 deletions data/mods/Xedra_Evolved/mutations/paraclesians/ierde_eocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,21 @@
"effect": [ { "u_cast_spell": { "id": "ierde_iron_armor_spell_real", "hit_self": true } } ],
"false_effect": [ { "u_message": "You must be on living earth or stone to infuse yourself with iron.", "type": "bad" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_IERDE_SMASHING_PUNCH_activated",
"effect": [
{
"run_eoc_with": "EOC_GENERIC_SPELL_MUTATION",
"variables": {
"prep_time": "2",
"spell_to_cast": "ierde_smashing_punch_spell",
"message_success": "You gather yourself for a moment and strike.",
"message_fail": ""
}
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_IERDE_NO_SLEEP_MEDITATE_activate",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,34 @@
},
"max_aoe": 15
},
{
"id": "ierde_summon_earth_spirit",
"type": "SPELL",
"name": "Calling the Children of the Stones",
"description": "A lesser earth elemental is summoned to support you.",
"valid_targets": [ "ground" ],
"skill": "deduction",
"spell_class": "IERDE",
"teachable": false,
"min_damage": 1,
"max_damage": 8,
"damage_increment": 0.5,
"min_range": 1,
"max_range": 15,
"range_increment": 1,
"max_level": 35,
"difficulty": 3,
"effect": "summon",
"effect_str": "GROUP_GENIUS_IERDE",
"shape": "blast",
"energy_source": "MANA",
"base_energy_cost": 200,
"base_casting_time": 3000,
"flags": [ "SOMATIC", "VERBAL", "SPAWN_GROUP", "SPAWN_GROUP" ],
"min_duration": 36000,
"max_duration": 1080000,
"duration_increment": 36000
},
{
"id": "ierde_no_sleep_meditate_spell",
"type": "SPELL",
Expand All @@ -122,6 +150,21 @@
"effect_str": "EOC_IERDE_NO_SLEEP_MEDITATE",
"shape": "blast"
},
{
"id": "ierde_smashing_punch_spell",
"type": "SPELL",
"name": "Avalanche Blow Spell",
"description": "The spell cast by the Avalanche Blow mutation. It's a bug if you have it directly.",
"message": "",
"teachable": false,
"valid_targets": [ "ground" ],
"flags": [ "LOUD", "RANDOM_DAMAGE", "NO_LEGS" ],
"effect": "attack",
"shape": "blast",
"damage_type": "bash",
"min_damage": { "math": [ "u_val('strength') * 2.5" ] },
"max_damage": { "math": [ "u_val('strength') * 3.5" ] }
},
{
"id": "ierde_create_pits_spell",
"type": "SPELL",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,17 @@
"active": true,
"activated_eocs": [ "EOC_IERDE_NO_SLEEP_MEDITATE_activate" ]
},
{
"type": "mutation",
"id": "IERDE_SMASHING_PUNCH",
"name": { "str": "Avalanche Blow" },
"points": 3,
"description": "With a brief moment to stabilize themselves, the Ierde strikes a wall, door, or other terrain feature with the force of a falling boulder, doing many times their normal damage.",
"category": [ "IERDE" ],
"activated_is_setup": false,
"active": true,
"activated_eocs": [ "EOC_IERDE_SMASHING_PUNCH_activated" ]
},
{
"type": "mutation",
"id": "IERDE_STOMP_GROUND_SMASH",
Expand All @@ -125,6 +136,7 @@
"description": "Upon gaining this ability the Ierde gains the ability to stomp on the ground and cause a minor local earthquake.",
"category": [ "IERDE" ],
"prereqs": [ "IERDE_NO_KNOCKBACK" ],
"prereqs2": [ "IERDE_SMASHING_PUNCH" ],
"spells_learned": [ [ "ierde_stomp_ground_smash_spell", 1 ] ]
},
{
Expand All @@ -139,6 +151,18 @@
"prereqs": [ "IERDE_CARDIO", "IERDE_CARDIO2", "IERDE_CARDIO3" ],
"spells_learned": [ [ "ierde_create_pits_spell", 1 ] ]
},
{
"type": "mutation",
"id": "IERDE_SUMMON_EARTH_ELEMENTAL",
"name": { "str": "Calling the Children of the Stones" },
"points": 0,
"visibility": 0,
"ugliness": 0,
"description": "Allows the Ierde to summon a minor earth elemental to support them in the world for a short time.",
"category": [ "IERDE" ],
"spells_learned": [ [ "ierde_summon_earth_spirit", 1 ] ],
"//": "Eventually add further spells in this area with more powerful elementals."
},
{
"type": "mutation",
"id": "IERDE_IRON_ARMOR",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@
"and": [
{ "u_has_trait": "IERDE" },
{
"u_has_any_trait": [ "IERDE_STOMP_GROUND_SMASH", "IERDE_CREATE_PITS", "IERDE_CULTIVATE_GOBLIN_FRUIT", "PARACLESIAN_MAKE_GOSSAMER" ]
"u_has_any_trait": [
"IERDE_STOMP_GROUND_SMASH",
"IERDE_CREATE_PITS",
"IERDE_SUMMON_EARTH_ELEMENTAL",
"IERDE_CULTIVATE_GOBLIN_FRUIT",
"PARACLESIAN_MAKE_GOSSAMER"
]
},
{
"or": [
Expand Down Expand Up @@ -43,6 +49,7 @@
{ "math": [ "u_spell_level('ierde_stomp_ground_smash_spell')", "<", "str_to_level(1)" ] },
{ "math": [ "u_spell_level('ierde_create_pits_spell')", "<", "str_to_level(1)" ] },
{ "math": [ "u_spell_level('ierde_iron_armor_spell')", "<", "per_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 @@ -52,6 +59,7 @@
[ "EOC_LEVELER_IERDE_STOMP_GROUND_SMASH", 8 ],
[ "EOC_LEVELER_IERDE_CREATE_PITS", 7 ],
[ "EOC_LEVELER_IERDE_IRON_ARMOR", 6 ],
[ "EOC_LEVELER_IERDE_SUMMON_EARTH_SPIRIT", 8 ],
[ "EOC_LEVELER_IERDE_CULTIVATE_GOBLIN_FRUIT", 3 ],
[ "EOC_LEVELER_IERDE_MAKE_GOSSAMER", 4 ]
]
Expand Down Expand Up @@ -111,6 +119,24 @@
],
"false_effect": [ { "run_eocs": "EOC_IERDE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_LEVELER_IERDE_SUMMON_EARTH_SPIRIT",
"condition": {
"and": [
{ "math": [ "u_spell_level('ierde_summon_earth_spirit')", ">=", "0" ] },
{ "math": [ "u_spell_level('ierde_summon_earth_spirit')", "<", "35" ] }
]
},
"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_summon_earth_spirit')", "+=", "paraclesian_passive_spell_exp(1)" ] }
],
"false_effect": [ { "run_eocs": "EOC_IERDE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_LEVELER_IERDE_CULTIVATE_GOBLIN_FRUIT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@
{
"id": "summon_water_sprite",
"type": "SPELL",
"name": "Summon Water Sprite",
"name": "Calling the Children of the Waves",
"description": "A lesser water elemental is summoned to support you.",
"valid_targets": [ "ground" ],
"skill": "deduction",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,11 @@
{
"type": "mutation",
"id": "SUMMON_WATER_ELEMENTAL",
"name": { "str": "Summon Water Elemental" },
"name": { "str": "Calling the Children of the Rivers" },
"points": 0,
"visibility": 0,
"ugliness": 0,
"description": "Allows the Undine to summon a minor water elemental to support you in the world for a short time.",
"description": "Allows the Undine to summon a minor water elemental to support them in the world for a short time.",
"category": [ "UNDINE" ],
"spells_learned": [ [ "summon_water_sprite", 1 ] ],
"//": "Eventually add further spells in this area with more powerful elementals."
Expand Down Expand Up @@ -311,7 +311,25 @@
"ugliness": 0,
"description": "The waters come to the Undine's defense. When attacked, there is a chance that a burst of water will surge out and push their attackers back.",
"prereqs": [ "UNDINE_ESCAPE_GRABS" ],
"category": [ "UNDINE" ]
"category": [ "UNDINE" ],
"spells_learned": [ [ "undine_wave_push", 1 ] ]
},
{
"type": "mutation",
"id": "UNDINE_DO_MORE_MELEE_DAMAGE",
"name": { "str": "Pounding Surf Strikes" },
"points": 2,
"visibility": 0,
"ugliness": 0,
"description": "Like the relentless pounding of the waves against the shore, the Undine's strikes hammer into their enemies. While this trait is active, the Undine does 25% more melee damage.",
"prereqs": [ "UNDINE_WATER_PUSH_AWAY" ],
"category": [ "UNDINE" ],
"active": true,
"thirst": true,
"cost": 1,
"time": 30,
"activated_is_setup": false,
"enchantments": [ { "condition": "ACTIVE", "values": [ { "value": "MELEE_DAMAGE", "multiply": 0.25 } ] } ]
},
{
"type": "mutation",
Expand Down Expand Up @@ -473,5 +491,19 @@
"stealth_modifier": 60,
"triggers": [ [ { "condition": { "not": "u_is_underwater" } } ] ],
"transform": { "target": "UNDINE_WATER_FORM_CAMOUFLAGE", "msg_transform": "", "active": false, "moves": 0 }
},
{
"type": "mutation",
"id": "UNDINE_NO_COLD_UNDERWATER",
"name": { "str": "The Pond's Depths Do Not Freeze" },
"points": 9,
"visibility": 0,
"ugliness": 0,
"prereqs": [ "UNDINE_ABSORB_WATER" ],
"prereqs2": [ "UNDINE_SKIN_3" ],
"description": "Though the ice over the top grows thick, the water below remains liquid. The Undine is completely immune to cold temperatures when underwater.",
"category": [ "UNDINE" ],
"threshreq": [ "THRESH_UNDINE" ],
"enchantments": [ { "condition": "u_is_underwater", "values": [ { "value": "CLIMATE_CONTROL_HEAT", "add": 1000 } ] } ]
}
]
Loading