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] Add some Undine traits #70789

Merged
merged 14 commits into from
Jan 14, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions data/mods/Xedra_Evolved/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -963,6 +963,23 @@
],
"//": "Deliberately vulnerable to electricity damage."
},
{
"type": "effect_type",
"id": "effect_undine_escape_grabs",
"name": [ "Flow Like Water" ],
"desc": [ "Your movements are inhumanly fluid." ],
"rating": "good",
"max_duration": "1 minutes",
"dur_add_perc": 1,
"removes_effects": [ "grabbed" ],
"limb_score_mods": [
{ "limb_score": "reaction", "modifier": 2.0 },
{ "limb_score": "block", "modifier": 1.2 },
{ "limb_score": "crawl", "modifier": 1.5 }
],
"enchantments": [ { "values": [ { "value": "FALL_DAMAGE", "multiply": -0.6 } ] } ],
"flags": [ "DOWNED_RECOVERY", "EFFECT_LIMB_SCORE_MOD" ]
},
{
"type": "effect_type",
"id": "effect_paraclesian_dodge_bonus_1",
Expand Down
27 changes: 27 additions & 0 deletions data/mods/Xedra_Evolved/items/ethereal_items.json
Original file line number Diff line number Diff line change
Expand Up @@ -322,5 +322,32 @@
"FIRE"
],
"relic_data": { "passive_effects": [ { "id": "SALAMANDER_SUMMON_WHIP" } ] }
},
{
"id": "undine_waters_map",
"type": "GENERIC",
"category": "maps",
"name": { "str": "undine waters map" },
"description": "The item for .",
"weight": "30 g",
"volume": "250 ml",
"flags": [ "PAPER_SHAPED" ],
"price": 1000,
"price_postapoc": 1000,
"to_hit": -1,
"material": [ "elemental_water" ],
"symbol": ";",
"color": "blue",
"copy-from": "abstractmap",
"use_action": {
"type": "reveal_map",
"radius": 150,
"terrain": [
"lake",
{ "om_terrain": "river", "om_terrain_match_type": "PREFIX" },
{ "om_terrain": "ocean", "om_terrain_match_type": "PREFIX" }
],
"message": "The waters reveal themselves to you."
}
}
]
50 changes: 50 additions & 0 deletions data/mods/Xedra_Evolved/mutations/paraclesians/undine_eocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,55 @@
"type": "bad"
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_UNDINE_ESCAPE_GRABS",
"effect": [
{ "u_lose_effect": "effect_undine_escape_grabs" },
{ "u_add_effect": "effect_undine_escape_grabs", "duration": { "math": [ "rng(2,8)" ] } }
]
},
{
"type": "effect_on_condition",
"id": "EOC_UNDINE_RIVER_MAPPING",
"condition": {
"and": [
"u_is_underwater",
{
"or": [
{ "u_at_om_location": "generic_river_bank" },
{ "u_at_om_location": "generic_river" },
{ "u_at_om_location": "river_center" },
{ "u_at_om_location": "river" },
{ "u_at_om_location": "river_c_not_ne" },
{ "u_at_om_location": "river_c_not_nw" },
{ "u_at_om_location": "river_c_not_se" },
{ "u_at_om_location": "river_c_not_sw" },
{ "u_at_om_location": "river_ne" },
{ "u_at_om_location": "river_se" },
{ "u_at_om_location": "river_sw" },
{ "u_at_om_location": "river_nw" },
{ "u_at_om_location": "lake_shore" },
{ "u_at_om_location": "lake_surface" },
{ "u_at_om_location": "ocean" },
{ "u_at_om_location": "ocean_shore" },
{ "u_at_om_location": "ocean_surface" },
{ "u_at_om_location": "ocean_bed" },
{ "u_at_om_location": "ocean_water_cube" },
{ "u_at_om_location": "ocean_surface" }
]
}
]
},
"effect": [
{ "u_spawn_item": "undine_waters_map" },
{
"u_run_inv_eocs": "random",
"search_data": [ { "id": "undine_waters_map" } ],
"true_eocs": [ { "id": "EOC_UNDINE_RIVER_MAPPING_ACTIVATE", "effect": { "u_activate": "reveal_map" } } ]
},
{ "u_remove_item_with": "undine_waters_map" }
]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -246,5 +246,34 @@
"category": [ "UNDINE" ],
"spells_learned": [ [ "summon_water_sprite", 1 ] ],
"//": "Eventually add further spells in this area with more powerful elementals."
},
{
"type": "mutation",
"id": "UNDINE_ESCAPE_GRABS",
"name": { "str": "Flow Like Water" },
"points": 2,
"visibility": 0,
"ugliness": 0,
"description": "With the Undine's more fluid skin has come more fluid motion. Activate this trait to immediately escape a grab and suffer less damage from falls for a few seconds.",
"prereqs": [ "UNDINE_SKIN_2" ],
"category": [ "UNDINE" ],
"active": true,
"cost": 8,
"thirst": true,
"activated_eocs": [ "EOC_UNDINE_ESCAPE_GRABS" ]
},
{
"type": "mutation",
"id": "UNDINE_RIVER_MAPPING",
"name": { "str": "All Rivers Flow to the Sea" },
"description": "Water falls as rain, flows into streams, and then into rivers to the sea, and rises as clouds to fall as rain once again. While submerged in a river, lake, or the ocean, the Undine can exploit this connection to locate other sources of water.",
"points": 3,
"visibility": 0,
"ugliness": 0,
"category": [ "UNDINE" ],
"prereqs": [ "UNDINE_EYES" ],
"prereqs2": [ "BREATH_UNDERWATER" ],
"active": true,
"activated_eocs": [ "EOC_UNDINE_RIVER_MAPPING" ]
}
]
Loading