From 22e4603703571c7d481912ebd6fab2874fdbd4ef Mon Sep 17 00:00:00 2001 From: "Standing-StormStanding-Storm git config --global user.name Standing-Storm git config --global user.name Standing-Storm" Date: Tue, 29 Oct 2024 19:46:53 -0500 Subject: [PATCH] Update spell --- .../mutations/paraclesians/arvore_eocs.json | 62 ++++++++++--------- .../paraclesians/arvore_mutation_spells.json | 17 ++--- 2 files changed, 43 insertions(+), 36 deletions(-) diff --git a/data/mods/Xedra_Evolved/mutations/paraclesians/arvore_eocs.json b/data/mods/Xedra_Evolved/mutations/paraclesians/arvore_eocs.json index a0ff145d0c496..0c03c0c4c90c6 100644 --- a/data/mods/Xedra_Evolved/mutations/paraclesians/arvore_eocs.json +++ b/data/mods/Xedra_Evolved/mutations/paraclesians/arvore_eocs.json @@ -247,7 +247,39 @@ "id": "EOC_ARVORE_WALK_WILDS_TELEPORT_CHECK", "effect": [ { - "u_map_run_eocs": [ "EOC_ARVORE_WALK_WILDS_TELEPORT_ACTION" ], + "u_map_run_eocs": [ + { + "id": "EOC_ARVORE_WALK_WILDS_TELEPORT_ACTION", + "effect": [ + { + "if": { + "u_query_tile": "line_of_sight", + "target_var": { "context_val": "arvore_walk_wilds_location" }, + "range": { + "math": [ "( ( (u_spell_level('arvore_traverse_the_wilds') * 1.5) + 5) * (scaling_factor(u_val('perception') ) ) )" ] + }, + "z_level": false, + "message": "Select tree to step to." + }, + "then": { + "if": { + "or": [ + { "map_terrain_with_flag": "TREE", "loc": { "context_val": "arvore_walk_wilds_location" } }, + { "map_terrain_with_flag": "YOUNG", "loc": { "context_val": "arvore_walk_wilds_location" } } + ] + }, + "then": [ + { "u_teleport": { "context_val": "arvore_walk_wilds_location" }, "force": true }, + { "u_message": "You step into the tree and step out of another one nearby.", "type": "neutral" } + ], + "else": { "u_message": "You must select a tree to step to." } + }, + "else": { "u_message": "Canceled" } + } + ], + "false_effect": { "u_message": "You need to be standing next to a tree to traverse the wilds.", "type": "bad" } + } + ], "range": 1, "store_coordinates_in": { "context_val": "arvore_walk_wilds_origin" }, "stop_at_first": true, @@ -255,34 +287,6 @@ } ] }, - { - "type": "effect_on_condition", - "id": "EOC_ARVORE_WALK_WILDS_TELEPORT_ACTION", - "condition": { "math": [ "has_var(arvore_walk_wilds_origin)" ] }, - "effect": [ - { - "if": { - "u_query_tile": "anywhere", - "target_var": { "context_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": { - "or": [ - { "map_terrain_with_flag": "TREE", "loc": { "context_val": "arvore_walk_wilds_location" } }, - { "map_terrain_with_flag": "YOUNG", "loc": { "context_val": "arvore_walk_wilds_location" } } - ] - }, - "then": { "u_teleport": { "context_val": "arvore_walk_wilds_location" }, "force": true }, - "else": { "u_message": "You must select a tree to step to." } - }, - "else": { "u_message": "Canceled" } - }, - "false_effect": { "u_message": "You need to be standing next to a tree to traverse the wilds.", "type": "bad" } - ] - }, { "type": "effect_on_condition", "id": "EOC_ARVORE_SEED_BEARER", diff --git a/data/mods/Xedra_Evolved/mutations/paraclesians/arvore_mutation_spells.json b/data/mods/Xedra_Evolved/mutations/paraclesians/arvore_mutation_spells.json index 6203a542f1028..4f7a281c51814 100644 --- a/data/mods/Xedra_Evolved/mutations/paraclesians/arvore_mutation_spells.json +++ b/data/mods/Xedra_Evolved/mutations/paraclesians/arvore_mutation_spells.json @@ -886,7 +886,8 @@ "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, stepping out of a tree within range of the spell.", + "description": "Roots grow together and so forests are connected. The Arvore may use this connection to quickly transport themselves tree to tree, stepping into an adjacent tree and then stepping out of another one within the spell's range.", + "message": "", "valid_targets": [ "self" ], "skill": "deduction", "flags": [ "VERBAL", "SOMATIC", "SILENT" ], @@ -909,18 +910,20 @@ "id": "arvore_traverse_the_wilds_real", "type": "SPELL", "name": "Traverse the Wilds Real", - "description": "This is the actual spell that teleports you when you use Traverse the Wilds. It's a bug if you have it directly", + "description": "Roots grow together and so forests are connected. The Arvore may use this connection to quickly transport themselves tree to tree, stepping into an adjacent tree and then stepping out of another one within the spell's range.", + "message": "", "valid_targets": [ "ground", "ally", "hostile" ], "skill": "deduction", "flags": [ "SILENT", "TARGET_TELEPORT", "NO_PROJECTILE" ], "effect": "short_range_teleport", "shape": "blast", "max_level": { "math": [ "per_to_level(1)" ] }, - "min_aoe": 4, - "max_aoe": 1, - "aoe_increment": -0.25, - "min_range": { "math": [ "( ( (u_spell_level('arvore_traverse_the_wilds') * 1) + 5) * (scaling_factor(u_val('perception') ) ) )" ] }, - "max_range": { "math": [ "( ( (u_spell_level('arvore_traverse_the_wilds') * 1) + 5) * (scaling_factor(u_val('perception') ) ) )" ] } + "min_range": { + "math": [ "( ( (u_spell_level('arvore_traverse_the_wilds') * 1.5) + 5) * (scaling_factor(u_val('perception') ) ) )" ] + }, + "max_range": { + "math": [ "( ( (u_spell_level('arvore_traverse_the_wilds') * 1.5) + 5) * (scaling_factor(u_val('perception') ) ) )" ] + } }, { "id": "arvore_forest_translocate",