Skip to content

Commit

Permalink
[Magiclysm] Some spell tweaks (#78586)
Browse files Browse the repository at this point in the history
* Initial commit

* Proficiency bonus

* Mage armor tweaks

* Caustic Aura changes

* Mirror player changes for monsters

* Mage armor has encumbrance

* Acid changes

* Root strike only applies on diggable ground

* Darksight Overmap

* Sacrificial healing better scaling

* Lighting Storm difficulty change

* Electric Eye edits

* Electric Arts scaling

* Mage blade edits

* Update Power Supply

* Pillar of Stone Aoe updates

* Rework petrifying touch

* Petrifying Touch does not work on robots

* Typo fix

* Lightning Blast edits

* Remove damage from monster ethereal grasp

* Fixes

* Fix Power Supply
  • Loading branch information
Standing-Storm authored Dec 16, 2024
1 parent 8ee7e77 commit 30506e1
Show file tree
Hide file tree
Showing 19 changed files with 616 additions and 210 deletions.
26 changes: 16 additions & 10 deletions data/mods/Magiclysm/Spells/biomancer.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,12 @@
"range_increment": 0.25,
"min_aoe": 25,
"max_aoe": 60,
"aoe_increment": 5.0
"aoe_increment": 5.0,
"field_id": "fd_acid",
"min_field_intensity": 1,
"max_field_intensity": 3,
"field_intensity_increment": 1,
"field_chance": 3
},
{
"id": "bio_fleshpouch",
Expand Down Expand Up @@ -381,29 +386,30 @@
"min_dot": 2,
"max_dot": 2,
"min_duration": 300,
"max_duration": 300
"max_duration": 300,
"field_id": "fd_acid",
"min_field_intensity": 1,
"max_field_intensity": 2,
"field_intensity_increment": 1,
"field_chance": 2
},
{
"id": "biomancer_caustic_aura",
"type": "SPELL",
"name": "Caustic Aura",
"description": "This spell suspends acid in a layer around you, corroding melee attackers when struck and enhancing your melee damage.",
"valid_targets": [ "self" ],
"effect": "spawn_item",
"effect_str": "aura_caustic",
"effect": "attack",
"effect_str": "effect_biomancer_aura_caustic",
"shape": "blast",
"flags": [ "ENHANCEMENT_SPELL", "SOMATIC", "CONCENTRATE" ],
"components": "spell_components_causticaura",
"energy_source": "MANA",
"spell_class": "BIOMANCER",
"difficulty": 4,
"min_damage": 1,
"max_damage": 1,
"base_casting_time": 400,
"base_energy_cost": 350,
"max_level": 15,
"min_range": 1,
"max_range": 1,
"min_duration": 24000,
"max_duration": 360000,
"duration_increment": 24000,
Expand All @@ -416,8 +422,8 @@
"name": "Improved Caustic Aura",
"description": "This spell suspends acid in a layer around you, corroding melee attackers when struck and enhancing your melee damage. Now you know this spell like the back of your hand, and have started to design your own version.",
"valid_targets": [ "self" ],
"effect": "spawn_item",
"effect_str": "aura_caustic",
"effect": "attack",
"effect_str": "effect_biomancer_aura_caustic",
"shape": "blast",
"flags": [ "ENHANCEMENT_SPELL", "SOMATIC", "NO_FAIL" ],
"components": "spell_components_causticaura",
Expand Down
30 changes: 22 additions & 8 deletions data/mods/Magiclysm/Spells/classless.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,19 +192,16 @@
"id": "ethereal_grasp",
"type": "SPELL",
"name": "Ethereal Grasp",
"description": "A mass of spectral hands emerge from the ground, slowing everything in range. Higher levels allow a bigger AoE, and longer effect.",
"effect": "attack",
"effect_str": "effect_ethereal_grasp",
"description": "A mass of spectral hands emerge from the ground, grabbing and slowing everything in range. Higher levels allow a bigger AoE, and longer effect\n\nLarger targets will be <color_yellow>less affected</color> by the spell.",
"effect": "effect_on_condition",
"effect_str": "EOC_CLASSLESS_ETHEREAL_GRASP",
"shape": "blast",
"affected_body_parts": [ "foot_l", "foot_r" ],
"valid_targets": [ "hostile", "ground" ],
"max_level": 20,
"min_damage": 10,
"max_damage": 30,
"damage_increment": 1,
"min_aoe": 2,
"max_aoe": 20,
"aoe_increment": 0.5,
"max_aoe": 8,
"aoe_increment": 0.33,
"min_range": 5,
"max_range": 20,
"range_increment": 2.0,
Expand All @@ -220,6 +217,23 @@
"difficulty": 3,
"damage_type": "bash"
},
{
"type": "effect_on_condition",
"id": "EOC_CLASSLESS_ETHEREAL_GRASP",
"condition": "has_alpha",
"effect": [
{ "math": [ "u_ethereal_grasp_affected_level = n_spell_level('ethereal_grasp')" ] },
{
"math": [
"u_evocation_spell_affected_proficiency = (1 + (n_has_proficiency('prof_magic_evocation_beginner') * 0.1 ) + (n_has_proficiency('prof_magic_evocation_apprentice') * 0.1 ) + (n_has_proficiency('prof_magic_evocation_master') * 0.1 ) )"
]
},
{
"u_add_effect": "effect_ethereal_grasp",
"duration": { "math": [ "10 + (u_ethereal_grasp_affected_level * 2)" ] }
}
]
},
{
"id": "obfuscated_body",
"type": "SPELL",
Expand Down
37 changes: 27 additions & 10 deletions data/mods/Magiclysm/Spells/druid.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"id": "druid_veggrasp",
"type": "SPELL",
"name": "Vegetative Grasp",
"description": "This spell causes roots and vines to burst forth from the ground and grab your foes, slowing them and doing a small amount of damage as they dig in.",
"description": "This spell causes roots and vines to burst forth from the ground and grab your foes, slowing them and doing a small amount of damage as they dig in.\n\nLarger targets will be <color_yellow>less affected</color> by the spell, and it has <color_red>no effect</color> on targets not on natural ground.",
"valid_targets": [ "hostile", "ground" ],
"flags": [ "EVOCATION_SPELL", "LOUD", "SOMATIC", "VERBAL", "NO_LEGS", "NO_PROJECTILE", "SPLIT_DAMAGE" ],
"effect": "attack",
"effect_str": "entangled",
"effect": "effect_on_condition",
"effect_str": "EOC_DRUID_VEGGRASP_ENTANGLED",
"shape": "blast",
"spell_class": "DRUID",
"base_casting_time": 100,
Expand All @@ -18,9 +18,9 @@
"min_damage": 1,
"max_damage": 10,
"damage_increment": 0.5,
"min_aoe": 4,
"max_aoe": 15,
"aoe_increment": 1.0,
"min_aoe": 2,
"max_aoe": 8,
"aoe_increment": 0.5,
"min_range": 3,
"max_range": 10,
"range_increment": 1.0,
Expand All @@ -30,9 +30,26 @@
"min_pierce": 1,
"max_pierce": 5,
"pierce_increment": 0.25,
"min_dot": 0.1,
"max_dot": 0.3,
"dot_increment": 0.01,
"extra_effects": [ { "id": "eoc_evocation_setup", "hit_self": true } ],
"damage_type": "stab"
},
{
"type": "effect_on_condition",
"id": "EOC_DRUID_VEGGRASP_ENTANGLED",
"condition": "has_alpha",
"effect": [
{ "math": [ "u_vegetative_grasp_affected_level = n_spell_level('druid_veggrasp')" ] },
{
"math": [
"u_evocation_spell_affected_proficiency = (1 + (n_has_proficiency('prof_magic_evocation_beginner') * 0.1 ) + (n_has_proficiency('prof_magic_evocation_apprentice') * 0.1 ) + (n_has_proficiency('prof_magic_evocation_master') * 0.1 ) )"
]
},
{ "u_add_effect": "entangled", "duration": { "math": [ "10 + (u_vegetative_grasp_affected_level * 5)" ] } }
]
},
{
"id": "druid_rootstrike",
"type": "SPELL",
Expand Down Expand Up @@ -412,13 +429,13 @@
"difficulty": 5,
"base_casting_time": 400,
"base_energy_cost": 35,
"final_energy_cost": 20,
"energy_increment": -1.5,
"final_energy_cost": 15,
"energy_increment": -2,
"extra_effects": [ { "id": "eoc_restoration_setup", "hit_self": true } ],
"max_level": 10,
"min_damage": -4,
"max_damage": -12,
"damage_increment": -0.8,
"max_damage": -20,
"damage_increment": -1.6,
"min_aoe": 0,
"max_aoe": 2,
"aoe_increment": 0.2,
Expand Down
40 changes: 11 additions & 29 deletions data/mods/Magiclysm/Spells/earthshaper.json
Original file line number Diff line number Diff line change
Expand Up @@ -368,25 +368,26 @@
"min_damage": 80,
"max_damage": 20,
"damage_increment": -6,
"min_aoe": 6,
"max_aoe": 1,
"min_aoe": 5,
"max_aoe": 0,
"aoe_increment": -0.5
},
{
"id": "pertifying_touch",
"type": "SPELL",
"name": "Petrifying Touch",
"description": "Your hands tries to transform the body of your enemy into a pure stone. The effect is temporary, but it can deal significant damage.",
"description": "With a simple touch, you transform the body of your enemy into pure stone. The effect is temporary, but it can deal significant damage.",
"valid_targets": [ "hostile" ],
"flags": [ "EVOCATION_SPELL", "NO_PROJECTILE", "SILENT", "NO_HANDS" ],
"flags": [ "EVOCATION_SPELL", "SILENT", "NO_HANDS" ],
"effect": "attack",
"effect_str": "effect_earthshaper_petrifying_touch",
"shape": "blast",
"damage_type": "necrotic",
"min_damage": 10,
"damage_increment": 2,
"max_damage": 45,
"min_range": 1,
"max_range": 1,
"min_duration": 2000,
"max_duration": 12000,
"duration_increment": 500,
"base_energy_cost": 175,
"final_energy_cost": 75,
"energy_increment": -5,
Expand All @@ -396,28 +397,9 @@
"base_casting_time": 160,
"final_casting_time": 40,
"casting_time_increment": -6,
"extra_effects": [ { "id": "pertifying_touch_moves" }, { "id": "eoc_evocation_setup", "hit_self": true } ],
"energy_source": "MANA"
},
{
"id": "pertifying_touch_moves",
"type": "SPELL",
"name": { "str": "Petrifying Touch Moves Removing", "//~": "NO_I18N" },
"description": {
"str": "Delete some amount of moves from monster, and inflict DoT. You can see it only in debug mode.",
"//~": "NO_I18N"
},
"valid_targets": [ "hostile" ],
"flags": [ "EVOCATION_SPELL", "SILENT", "NO_EXPLOSION_SFX", "SPLIT_DAMAGE" ],
"effect": "mod_moves",
"shape": "blast",
"min_damage": -1000,
"max_damage": -1,
"damage_increment": 50,
"min_dot": 0,
"max_dot": 10,
"dot_increment": 0.5,
"max_level": 20
"extra_effects": [ { "id": "eoc_evocation_setup", "hit_self": true } ],
"energy_source": "MANA",
"ignored_monster_species": [ "ROBOT", "ROBOT_FLYING", "NETHER_EMANATION" ]
},
{
"id": "reactive_armor",
Expand Down
8 changes: 4 additions & 4 deletions data/mods/Magiclysm/Spells/lizardfolk_shaman.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"max_range": 10,
"message": "",
"extra_effects": [
{ "id": "druid_veggrasp" },
{ "id": "druid_veggrasp" },
{ "id": "druid_veggrasp" },
{ "id": "druid_veggrasp" },
{ "id": "druid_veggrasp_monster" },
{ "id": "druid_veggrasp_monster" },
{ "id": "druid_veggrasp_monster" },
{ "id": "druid_veggrasp_monster" },
{ "id": "light_healing", "hit_self": true },
{ "id": "light_healing", "hit_self": true },
{ "id": "light_healing", "hit_self": true },
Expand Down
64 changes: 63 additions & 1 deletion data/mods/Magiclysm/Spells/monsterspells.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,12 @@
"min_range": 10,
"max_range": 10,
"message": "",
"extra_effects": [ { "id": "blinding_flash" }, { "id": "ethereal_grasp" }, { "id": "point_flare" }, { "id": "dispel_magic_monster" } ]
"extra_effects": [
{ "id": "blinding_flash" },
{ "id": "ethereal_grasp_monster" },
{ "id": "point_flare" },
{ "id": "dispel_magic_monster" }
]
},
{
"id": "monster_downed_stomp",
Expand Down Expand Up @@ -510,5 +515,62 @@
"min_duration": 6000,
"max_duration": 30000,
"duration_increment": 2400
},
{
"id": "ethereal_grasp_monster",
"type": "SPELL",
"name": { "str": "Ethereal Grasp", "//~": "NO_I18N" },
"description": "A mass of spectral hands emerge from the ground, slowing everything in range. Higher levels allow a bigger AoE, and longer effect.",
"effect": "attack",
"effect_str": "effect_ethereal_grasp_monster",
"shape": "blast",
"affected_body_parts": [ "foot_l", "foot_r" ],
"valid_targets": [ "hostile", "ground" ],
"max_level": 20,
"min_aoe": 2,
"max_aoe": 20,
"aoe_increment": 0.5,
"min_range": 5,
"max_range": 20,
"range_increment": 2.0,
"min_duration": 1000,
"max_duration": 5000,
"duration_increment": 200,
"spell_class": "NONE",
"flags": [ "SOMATIC", "NO_PROJECTILE" ],
"damage_type": "bash"
},
{
"id": "druid_veggrasp_monster",
"type": "SPELL",
"name": { "str": "Vegetative Grasp Monster", "//~": "NO_I18N" },
"description": "This spell causes roots and vines to burst forth from the ground and grab your foes, slowing them and doing a small amount of damage as they dig in.",
"valid_targets": [ "hostile", "ground" ],
"flags": [ "EVOCATION_SPELL", "LOUD", "SOMATIC", "VERBAL", "NO_LEGS", "NO_PROJECTILE", "SPLIT_DAMAGE" ],
"effect": "attack",
"effect_str": "entangled_monster",
"shape": "blast",
"spell_class": "NONE",
"difficulty": 2,
"max_level": 20,
"min_damage": 1,
"max_damage": 10,
"damage_increment": 0.5,
"min_aoe": 2,
"max_aoe": 8,
"aoe_increment": 0.5,
"min_range": 3,
"max_range": 10,
"range_increment": 1.0,
"min_duration": 1000,
"max_duration": 10000,
"duration_increment": 500,
"min_pierce": 1,
"max_pierce": 5,
"pierce_increment": 0.25,
"min_dot": 0.1,
"max_dot": 0.3,
"dot_increment": 0.01,
"damage_type": "stab"
}
]
6 changes: 3 additions & 3 deletions data/mods/Magiclysm/Spells/stormshaper.json
Original file line number Diff line number Diff line change
Expand Up @@ -260,13 +260,13 @@
"max_range": 12,
"range_increment": 0.2,
"damage_increment": 3,
"difficulty": 10,
"difficulty": 6,
"spell_class": "STORMSHAPER",
"energy_source": "MANA",
"base_casting_time": 120,
"final_casting_time": 50,
"casting_time_increment": -5,
"base_energy_cost": 55,
"base_energy_cost": 110,
"damage_type": "electric",
"sound_description": "a crackle",
"shape": "blast",
Expand All @@ -289,7 +289,7 @@
"max_range": 8,
"range_increment": 0.01,
"damage_increment": 4,
"difficulty": 20,
"difficulty": 9,
"spell_class": "STORMSHAPER",
"energy_source": "MANA",
"base_energy_cost": 500,
Expand Down
Loading

0 comments on commit 30506e1

Please sign in to comment.