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] Require Traverse the Wilds to target a tree as the endpoint #72655

Merged
merged 6 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
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
18 changes: 17 additions & 1 deletion data/mods/Xedra_Evolved/mutations/paraclesians/arvore_eocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,23 @@
{ "u_at_om_location": "arvore_genius_loci_SE" }
]
},
"effect": [ { "u_cast_spell": { "id": "arvore_traverse_the_wilds_real" }, "targeted": true } ],
"effect": [
Standing-Storm marked this conversation as resolved.
Show resolved Hide resolved
{
"if": {
"u_query_tile": "anywhere",
"target_var": { "u_val": "arvore_walk_wilds_location" },
"range": { "math": [ "( ( (u_spell_level('arvore_traverse_the_wilds') * 1) + 5) * (scaling_factor(u_val('perception') ) ) )" ] },
"z_level": false,
"message": "Select tree to step to"
},
"then": {
"if": { "map_terrain_with_flag": [ "TREE", "YOUNG" ], "loc": { "u_val": "arvore_walk_wilds_location" } },
"then": { "u_teleport": { "u_val": "arvore_walk_wilds_location" }, "force": true },
"else": { "u_message": "You must select a tree to step from." }
},
"else": { "u_message": "Canceled" }
}
],
"false_effect": { "u_message": "You need to be in a forest or swamp to traverse the wilds.", "type": "bad" }
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@
"id": "arvore_traverse_the_wilds",
"type": "SPELL",
"name": "Traverse the Wilds",
"description": "Roots grow together and so forests are connected. The Arvore may use this connection to quickly transport themselves while standing in a forest or a swamp.",
"description": "Roots grow together and so forests are connected. The Arvore may use this connection to quickly transport themselves while standing in a forest or a swamp, stepping out of a tree within range of the spell.",
"valid_targets": [ "self" ],
"skill": "deduction",
"flags": [ "VERBAL", "SOMATIC", "SILENT" ],
Expand Down
Loading