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 Sylph traits #70999

Merged
merged 11 commits into from
Jan 17, 2024
10 changes: 10 additions & 0 deletions data/mods/Xedra_Evolved/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -1003,6 +1003,16 @@
],
"//": "Deliberately vulnerable to electricity damage."
},
{
"type": "effect_type",
"id": "effect_sylph_levitation",
"name": [ "Wind-Walking" ],
"desc": [ "You are walking on the winds." ],
"apply_message": "",
"remove_message": "Your feet touch the ground once again.",
"rating": "good",
"flags": [ "LEVITATION" ]
},
{
"type": "effect_type",
"id": "effect_undine_escape_grabs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@
"condition": {
"and": [
{ "u_has_trait": "THRESH_SYLPH" },
{ "u_has_trait": "SYLPH_FLY_AT_WILL" },
{ "math": [ "u_val('pos_z')", "<=", "-1" ] },
{ "not": { "u_has_effect": "effect_sylph_underground_timer" } }
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
"condition": "u_is_outside",
"effect": [
{ "u_location_variable": { "u_val": "salamander_smoke_form_ascend" }, "z_adjust": 2, "outdoor_only": true },
{ "u_message": "You soar upward on the rising smoke", "type": "good" },
{ "u_message": "You soar upward on the rising smoke.", "type": "good" },
{ "u_teleport": { "u_val": "salamander_smoke_form_ascend" } }
],
"false_effect": [ { "u_message": "The ceiling above blocks your attempt to rise!", "type": "bad" } ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@
"points": 6,
"description": "The Salamander can enhance their inner fire to the point where they leave fiery footprints everywhere they travel. Activate this trait to leave a trail of fire in your wake at the cost of mana for every footstep.",
"prereqs": [ "SALAMANDER_MAKE_FIRE" ],
"prereqs2": [ "SALAMANDER_SKIN_2" ],
"prereqs2": [ "SALAMANDER_SKIN_2", "SALAMANDER_SKIN_3" ],
"category": [ "SALAMANDER" ],
"active": true,
"activated_is_setup": true,
Expand Down
70 changes: 70 additions & 0 deletions data/mods/Xedra_Evolved/mutations/paraclesians/sylph_eocs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,74 @@
[
{
"type": "effect_on_condition",
"id": "EOC_SYLPH_JUMP_HIGH_ON",
"effect": [
{
"run_eoc_selector": [
"EOC_SYLPH_JUMP_HIGH_SELECTOR_TWO",
"EOC_SYLPH_JUMP_HIGH_SELECTOR_FOUR",
"EOC_SYLPH_JUMP_HIGH_SELECTOR_SIX",
"EOC_NULL"
],
"names": [ "Leap two stories up", "Leap four stories up", "Leap six stories up", "Cancel" ],
"keys": [ "1", "2", "3", "4" ],
"descriptions": [ "Leap straight up two stories.", "Leap straight up four stories.", "Leap straight up six stories.", "Do nothing." ]
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_SYLPH_JUMP_HIGH_SELECTOR_TWO",
"condition": "u_is_outside",
"effect": [
{ "u_add_effect": "effect_sylph_levitation", "duration": 5 },
{ "u_location_variable": { "u_val": "sylph_jump_high_jump_location" }, "z_adjust": 2, "outdoor_only": true },
{ "u_message": "With a burst of wind, you leap into the air.", "type": "good" },
{ "u_teleport": { "u_val": "sylph_jump_high_jump_location" } }
],
"false_effect": [ { "u_message": "You cannot jump with a ceiling above you!", "type": "bad" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_SYLPH_JUMP_HIGH_SELECTOR_FOUR",
"condition": "u_is_outside",
"effect": [
{ "u_add_effect": "effect_sylph_levitation", "duration": 5 },
{ "u_location_variable": { "u_val": "sylph_jump_high_jump_location" }, "z_adjust": 4, "outdoor_only": true },
{ "u_message": "With a burst of wind, you leap into the air.", "type": "good" },
{ "u_teleport": { "u_val": "sylph_jump_high_jump_location" } }
],
"false_effect": [ { "u_message": "You cannot jump with a ceiling above you!", "type": "bad" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_SYLPH_JUMP_HIGH_SELECTOR_SIX",
"condition": { "and": [ "u_is_outside", { "u_has_trait": "THRESH_SYLPH" } ] },
"effect": [
{ "u_add_effect": "effect_sylph_levitation", "duration": 5 },
{ "u_location_variable": { "u_val": "sylph_jump_high_jump_location" }, "z_adjust": 6, "outdoor_only": true },
{ "u_message": "With a burst of wind, you leap into the air.", "type": "good" },
{ "u_teleport": { "u_val": "sylph_jump_high_jump_location" } }
],
"false_effect": [ { "u_message": "You cannot jump with a ceiling above you!", "type": "bad" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_SYLPH_FLY_AT_WILL",
"condition": { "math": [ "u_val('mana')", ">=", "3" ] },
"effect": [ { "math": [ "u_val('mana')", "-=", "3" ] }, { "u_add_effect": "effect_sylph_levitation", "duration": "2 s" } ],
"false_effect": [
{ "u_message": "You do not have enough mana to fly!", "type": "bad" },
{ "u_lose_effect": "effect_sylph_levitation" }
]
},
{
"type": "effect_on_condition",
"id": "EOC_SYLPH_MASSIVE_LIGHTNING_BOLT",
"condition": "u_is_outside",
"effect": [ { "u_cast_spell": { "id": "sylph_massive_lightning_bolt_spell_real" }, "targeted": true } ],
"false_effect": [ { "u_message": "You must be outdoors to cast Fist of Heaven's Fury.", "type": "bad" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_SYLPH_GOBLIN_FRUIT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,32 @@
"sound_type": "combat",
"sound_description": "cracklezzbit!"
},
{
"id": "sylph_charge_dash_spell",
"type": "SPELL",
"name": { "str": "Stormwind Stride" },
"description": "Hurl yourself forward in a burst of speed, causing an explosion at your arrive point.",
"valid_targets": [ "hostile", "ground" ],
"skill": "deduction",
"teachable": false,
"spell_class": "SYLPH",
"flags": [ "VERBAL", "NO_HANDS", "LOUD" ],
"difficulty": 2,
"max_level": { "math": [ "dex_to_level(1)" ] },
"effect": "dash",
"shape": "cone",
"min_damage": 0,
"max_damage": 0,
"min_range": { "math": [ "(4 + (u_spell_level('sylph_charge_dash_spell') * 1) * (scaling_factor(u_val('dexterity') ) ) )" ] },
"max_range": { "math": [ "(4 + (u_spell_level('sylph_charge_dash_spell') * 1) * (scaling_factor(u_val('dexterity') ) ) )" ] },
"energy_source": "MANA",
"base_energy_cost": 250,
"final_energy_cost": 150,
"energy_increment": -5,
"base_casting_time": 100,
"final_casting_time": 50,
"casting_time_increment": -4
},
{
"id": "sylph_cultivate_goblin_fruit",
"type": "SPELL",
Expand Down Expand Up @@ -315,5 +341,154 @@
"base_casting_time": 50,
"final_casting_time": 10,
"casting_time_increment": -4
},
{
"id": "sylph_massive_lightning_bolt_spell",
"type": "SPELL",
"name": "Fist of Heaven's Fury",
"description": "Call down a thundering lightning bolt to blast your enemies with the fury of the heavens.",
"message": "Lightning crashes down from the heavens!",
"valid_targets": [ "self" ],
"difficulty": 9,
"max_level": { "math": [ "int_to_level(1)" ] },
"skill": "deduction",
"teachable": false,
"spell_class": "SYLPH",
"flags": [ "VERBAL", "SOMATIC", "NO_EXPLOSION_SFX" ],
"effect": "effect_on_condition",
"effect_str": "EOC_SYLPH_MASSIVE_LIGHTNING_BOLT",
"shape": "blast",
"energy_source": "MANA",
"base_energy_cost": 1000,
"final_energy_cost": 750,
"energy_increment": -15,
"base_casting_time": 200,
"final_casting_time": 100,
"casting_time_increment": -4,
"sound_type": "combat",
"sound_description": "zzzzaaaaaapp!"
},
{
"id": "sylph_massive_lightning_bolt_spell_real",
"type": "SPELL",
"name": "Fist of Heaven's Fury Real",
"description": "The actual spell that casts Fist of Heaven's Fury. It's a bug if you have it directly.",
"message": "",
"teachable": false,
"valid_targets": [ "hostile", "ground", "ally" ],
"flags": [ "LOUD", "RANDOM_DAMAGE", "RANDOM_DURATION" ],
"effect": "attack",
"effect_str": "downed",
"extra_effects": [
{ "id": "sylph_massive_lightning_bolt_spell_real_ter_transform", "hit_self": false },
{ "id": "sylph_massive_lightning_bolt_spell_real_ter_transform_center", "hit_self": false },
{ "id": "sylph_massive_lightning_bolt_spell_real_push_enemies", "hit_self": false },
{ "id": "sylph_massive_lightning_bolt_spell_real_push_enemies", "hit_self": false },
{ "id": "sylph_massive_lightning_bolt_spell_real_push_enemies", "hit_self": false }
],
"shape": "blast",
"damage_type": "electric",
"min_damage": {
"math": [ "( (u_spell_level('sylph_massive_lightning_bolt_spell') * 3) + 25) * (scaling_factor(u_val('intelligence') ) )" ]
},
"max_damage": {
"math": [ "( (u_spell_level('sylph_massive_lightning_bolt_spell') * 7.5) + 110) * (scaling_factor(u_val('intelligence') ) )" ]
},
"min_range": {
"math": [
"min( (( (u_spell_level('sylph_massive_lightning_bolt_spell') * 0.9) + 4) * (scaling_factor(u_val('intelligence') ) )), 50)"
]
},
"max_range": 50,
"min_aoe": 2,
"max_aoe": 2,
"min_duration": 100,
"max_duration": 300,
"field_id": "fd_electricity",
"min_field_intensity": 3,
"max_field_intensity": 7,
"field_chance": 1
},
{
"id": "sylph_massive_lightning_bolt_spell_real_ter_transform",
"type": "SPELL",
"name": "Fist of Heaven's Fury Ter Transform 1",
"description": "The actual spell that casts the Fist of Heaven's Fury crater. It's a bug if you have it directly.",
"message": "",
"teachable": false,
"valid_targets": [ "ground" ],
"flags": [ "LOUD" ],
"effect": "ter_transform",
"effect_str": "ter_sylph_massive_lightning",
"shape": "blast",
"min_range": {
"math": [
"min( (( (u_spell_level('sylph_massive_lightning_bolt_spell') * 0.9) + 4) * (scaling_factor(u_val('intelligence') ) )), 50)"
]
},
"max_range": 50,
"min_aoe": 1,
"max_aoe": 1
},
{
"id": "sylph_massive_lightning_bolt_spell_real_ter_transform_center",
"type": "SPELL",
"name": "Fist of Heaven's Fury Ter Transform 2",
"description": "The actual spell that casts the Fist of Heaven's Fury crater. It's a bug if you have it directly.",
"message": "",
"teachable": false,
"valid_targets": [ "ground" ],
"flags": [ "LOUD" ],
"effect": "ter_transform",
"effect_str": "ter_sylph_massive_lightning",
"shape": "blast",
"min_range": {
"math": [
"min( (( (u_spell_level('sylph_massive_lightning_bolt_spell') * 0.9) + 4) * (scaling_factor(u_val('intelligence') ) )), 50)"
]
},
"max_range": 50
},
{
"id": "sylph_massive_lightning_bolt_spell_real_start_fire",
"type": "SPELL",
"name": "Fist of Heaven's Fury Monster Push",
"description": "The actual spell that casts the Fist of Heaven's Fury fire. It's a bug if you have it.",
"message": "",
"teachable": false,
"valid_targets": [ "ground" ],
"flags": [ "NO_EXPLOSION_SFX" ],
"effect": "area_pull",
"shape": "blast",
"min_range": {
"math": [
"min( (( (u_spell_level('sylph_massive_lightning_bolt_spell') * 0.9) + 4) * (scaling_factor(u_val('intelligence') ) )), 50)"
]
},
"max_range": 50,
"field_id": "fd_fire",
"min_field_intensity": 3,
"max_field_intensity": 3,
"field_chance": 1
},
{
"id": "sylph_massive_lightning_bolt_spell_real_push_enemies",
"type": "SPELL",
"name": "Fist of Heaven's Fury Monster Push",
"description": "The actual spell that casts the Fist of Heaven's Fury shove. It's a bug if you have it.",
"message": "",
"teachable": false,
"valid_targets": [ "ground", "hostile" ],
"flags": [ "NO_EXPLOSION_SFX", "RANDOM_AOE" ],
"effect": "area_pull",
"shape": "blast",
"min_range": {
"math": [
"min( (( (u_spell_level('sylph_massive_lightning_bolt_spell') * 0.9) + 4) * (scaling_factor(u_val('intelligence') ) )), 50)"
]
},
"max_range": 50,
"min_aoe": 1,
"max_aoe": 4
}
]
Loading