[
  {
    "id": "jolt",
    "type": "SPELL",
    "name": "Jolt",
    "description": "A short-ranged fan of electricity shoots from your fingers.",
    "effect": "attack",
    "shape": "cone",
    "valid_targets": [ "ally", "hostile", "ground" ],
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE", "LOUD", "SOMATIC", "NO_HANDS", "SPLIT_DAMAGE" ],
    "extra_effects": [ { "id": "eoc_evocation_setup", "hit_self": true } ],
    "max_level": 20,
    "min_damage": { "math": [ "(u_spell_level('jolt') * 1.2) + 2" ] },
    "max_damage": { "math": [ "(u_spell_level('jolt') * 2.3) + 6" ] },
    "min_range": 3,
    "max_range": 5,
    "range_increment": 0.25,
    "min_aoe": 25,
    "max_aoe": 60,
    "aoe_increment": 5,
    "spell_class": "STORMSHAPER",
    "base_casting_time": 100,
    "base_energy_cost": 150,
    "magic_type": "magiclysm_generic_magic",
    "difficulty": 2,
    "sound_description": "a crackle",
    "damage_type": "electric"
  },
  {
    "id": "shocking_lash_base",
    "type": "SPELL",
    "name": { "str": "Shocking Lash Base", "//~": "NO_I18N" },
    "description": { "str": "Reference spell definition used for Shocking Lash and Shocking Lash Jump.", "//~": "NO_I18N" },
    "effect": "attack",
    "shape": "blast",
    "valid_targets": [ "hostile" ],
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE", "SOMATIC", "NO_LEGS" ],
    "max_level": 20,
    "min_damage": { "math": [ "(u_spell_level('shocking_lash') * 0.3) + 1" ] },
    "max_damage": { "math": [ "(u_spell_level('shocking_lash') * 1.1) + 1" ] },
    "min_range": 3,
    "max_range": 16,
    "range_increment": 0.8,
    "spell_class": "STORMSHAPER",
    "base_casting_time": 85,
    "base_energy_cost": 135,
    "magic_type": "magiclysm_generic_magic",
    "difficulty": 1,
    "sound_description": "a crackle",
    "damage_type": "electric"
  },
  {
    "id": "shocking_lash",
    "type": "SPELL",
    "name": "Shocking Lash",
    "description": "A quick burst of electricity strikes a target and possibly one other nearby.",
    "copy-from": "shocking_lash_base",
    "field_id": "none",
    "extra_effects": [ { "id": "shocking_lash_2" }, { "id": "eoc_evocation_setup" } ]
  },
  {
    "id": "shocking_lash_2",
    "type": "SPELL",
    "name": { "str": "Shocking Lash Jump", "//~": "NO_I18N" },
    "description": { "str": "The secondary jump from Shocking Lash.", "//~": "NO_I18N" },
    "copy-from": "shocking_lash_base",
    "field_id": "none",
    "flags": [ "RANDOM_TARGET" ],
    "min_range": 1,
    "max_range": 2,
    "range_increment": 0.07
  },
  {
    "id": "lightning_bolt",
    "type": "SPELL",
    "name": "Lightning Bolt",
    "description": "The go-to spell for many Stormshapers, this iconic spell does just what you expect: shoot lightning from your fingertips.  However, this lightning is more directed than most lightning, and travels in a line through most non-solid targets.",
    "effect": "attack",
    "shape": "line",
    "valid_targets": [ "ally", "hostile", "ground" ],
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE", "LOUD", "SOMATIC", "NO_LEGS", "NO_HANDS" ],
    "extra_effects": [ { "id": "eoc_evocation_setup", "hit_self": true } ],
    "max_level": 35,
    "min_damage": { "math": [ "(u_spell_level('lightning_bolt') * 1.5) + 4" ] },
    "max_damage": { "math": [ "(u_spell_level('lightning_bolt') * 4) + 8" ] },
    "min_range": 4,
    "max_range": 8,
    "range_increment": 0.25,
    "difficulty": 6,
    "min_aoe": 1,
    "max_aoe": 1,
    "spell_class": "STORMSHAPER",
    "base_casting_time": 200,
    "final_casting_time": 100,
    "casting_time_increment": -5,
    "base_energy_cost": 140,
    "field_id": "fd_electricity",
    "min_field_intensity": 1,
    "max_field_intensity": 1,
    "field_chance": 1,
    "damage_type": "electric",
    "sound_description": "a crackle",
    "magic_type": "magiclysm_generic_magic"
  },
  {
    "id": "windstrike",
    "type": "SPELL",
    "name": "Windstrike",
    "description": "A powerful blast of wind slams into anything in front of your body.",
    "effect": "attack",
    "effect_str": "downed",
    "shape": "cone",
    "affected_body_parts": [ "leg_l", "leg_r" ],
    "valid_targets": [ "ally", "hostile", "ground" ],
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE", "SOMATIC", "NO_LEGS", "NO_HANDS", "SPLIT_DAMAGE" ],
    "extra_effects": [ { "id": "eoc_evocation_setup", "hit_self": true } ],
    "max_level": 15,
    "min_damage": { "math": [ "(u_spell_level('windstrike') * 0.9) + 8" ] },
    "max_damage": { "math": [ "(u_spell_level('windstrike') * 2.1) + 18" ] },
    "min_aoe": 30,
    "max_aoe": 60,
    "aoe_increment": 2,
    "min_range": 6,
    "max_range": 20,
    "range_increment": 1,
    "min_duration": 200,
    "max_duration": 1000,
    "duration_increment": 100,
    "base_casting_time": 125,
    "base_energy_cost": 285,
    "spell_class": "STORMSHAPER",
    "magic_type": "magiclysm_generic_magic",
    "difficulty": 3,
    "sound_description": "a whoosh",
    "learn_spells": { "storm_shipwrecker": 15 },
    "damage_type": "bash"
  },
  {
    "id": "windrun",
    "type": "SPELL",
    "name": "Windrunning",
    "description": "A magical wind pushes you forward as you move, easing your movements and increasing speed.",
    "base_casting_time": 100,
    "casting_time_increment": -5,
    "final_casting_time": 50,
    "base_energy_cost": 100,
    "energy_increment": -5,
    "final_energy_cost": 50,
    "magic_type": "magiclysm_generic_magic",
    "spell_class": "STORMSHAPER",
    "difficulty": 1,
    "effect": "attack",
    "effect_str": "enchant_windrun",
    "shape": "blast",
    "affected_body_parts": [ "torso" ],
    "valid_targets": [ "ally", "self" ],
    "flags": [ "ENHANCEMENT_SPELL", "CONCENTRATE", "SILENT", "VERBAL", "NO_HANDS", "NO_PROJECTILE" ],
    "extra_effects": [ { "id": "eoc_enhancement_setup", "hit_self": true } ],
    "max_level": 10,
    "min_duration": 6000,
    "max_duration": 30000,
    "duration_increment": 2400,
    "min_range": 1,
    "max_range": 10,
    "range_increment": 1
  },
  {
    "id": "storm_hammer",
    "type": "SPELL",
    "name": "Call Stormhammer",
    "description": "Creates a crackling magical warhammer full of lightning to smite your foes with, and of course, smash things to bits!",
    "valid_targets": [ "self" ],
    "flags": [ "CONJURATION_SPELL", "CONCENTRATE", "LOUD", "VERBAL", "NO_LEGS" ],
    "extra_effects": [ { "id": "eoc_summon_setup", "hit_self": true } ],
    "min_damage": 1,
    "max_damage": 1,
    "effect": "spawn_item",
    "effect_str": "stormhammer",
    "shape": "blast",
    "magic_type": "magiclysm_generic_magic",
    "spell_class": "STORMSHAPER",
    "difficulty": 3,
    "max_level": 15,
    "base_casting_time": 550,
    "base_energy_cost": 300,
    "min_duration": 24000,
    "max_duration": 360000,
    "duration_increment": 24000,
    "learn_spells": { "storm_hammer_plus": 15 }
  },
  {
    "id": "storm_hammer_plus",
    "type": "SPELL",
    "name": "Enhanced Call Stormhammer",
    "description": "Creates a crackling magical warhammer full of lightning to smite your foes with, and of course, smash things to bits!  Now you know this spell like the back of your hand, and start to design your own version.",
    "valid_targets": [ "self" ],
    "flags": [ "CONJURATION_SPELL", "LOUD", "VERBAL", "NO_LEGS", "NO_FAIL" ],
    "extra_effects": [ { "id": "eoc_summon_setup", "hit_self": true } ],
    "min_damage": 1,
    "max_damage": 1,
    "effect": "spawn_item",
    "effect_str": "stormhammer",
    "shape": "blast",
    "magic_type": "magiclysm_generic_magic",
    "spell_class": "STORMSHAPER",
    "difficulty": 5,
    "max_level": 25,
    "base_casting_time": 550,
    "final_casting_time": 150,
    "casting_time_increment": -16,
    "base_energy_cost": 300,
    "final_energy_cost": 100,
    "energy_increment": -8,
    "min_duration": 360000,
    "max_duration": 2160000,
    "duration_increment": 72000
  },
  {
    "id": "create_rune_stormshaper",
    "type": "SPELL",
    "name": "Stormshaper Rune",
    "description": "This ritual creates a rune attuned to Stormshapers, which looks similar to what you'd expect lightning in a glass pebble to look like.  You can use the rune as a catalyst for recipes.",
    "valid_targets": [ "self" ],
    "min_damage": 1,
    "max_damage": 1,
    "effect": "spawn_item",
    "effect_str": "rune_stormshaper",
    "extra_effects": [ { "id": "eoc_channeling_setup", "hit_self": true } ],
    "shape": "blast",
    "base_casting_time": 5000,
    "base_energy_cost": 5,
    "min_duration": 1,
    "max_duration": 2,
    "duration_increment": 1,
    "difficulty": 0,
    "max_level": 0,
    "spell_class": "STORMSHAPER",
    "magic_type": "magiclysm_generic_magic",
    "flags": [ "CHANNELING_SPELL", "PERMANENT", "NO_LEGS", "CONCENTRATE" ]
  },
  {
    "id": "lightning_blast",
    "type": "SPELL",
    "name": "Lightning Blast",
    "description": "You fire a small concentrated ball of lightning at the target.  The electricity diffuses rapidly, so it doesn't do much damage, but you're able to fire off several ones quickly.",
    "valid_targets": [ "hostile", "ground", "self", "ally" ],
    "extra_effects": [ { "id": "eoc_evocation_setup", "hit_self": true } ],
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE", "LOUD", "SOMATIC", "NO_LEGS" ],
    "min_aoe": 1,
    "max_aoe": 2,
    "aoe_increment": 0.05,
    "max_level": 35,
    "min_damage": { "math": [ "(u_spell_level('lightning_blast') * 0.9) + 2" ] },
    "max_damage": { "math": [ "(u_spell_level('lightning_blast') * 2.1) + 8" ] },
    "min_range": 6,
    "max_range": 12,
    "range_increment": 0.2,
    "difficulty": 6,
    "spell_class": "STORMSHAPER",
    "magic_type": "magiclysm_generic_magic",
    "base_casting_time": 120,
    "final_casting_time": 50,
    "casting_time_increment": -5,
    "base_energy_cost": 110,
    "damage_type": "electric",
    "sound_description": "a crackle",
    "shape": "blast",
    "effect": "attack"
  },
  {
    "id": "lightning_storm",
    "type": "SPELL",
    "name": { "ctxt": "spell", "str": "Lightning Storm" },
    "description": "You call the power of the sky to strike the earth.  Several lightning blasts fire from your finger tips to strike the target.",
    "valid_targets": [ "hostile", "ground", "self", "ally" ],
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE", "CONCENTRATE", "LOUD", "VERBAL", "SOMATIC", "NO_LEGS" ],
    "min_aoe": 1,
    "max_aoe": 2,
    "aoe_increment": 0.05,
    "min_damage": { "math": [ "(u_spell_level('lightning_storm') * 1.1) + 4" ] },
    "max_damage": { "math": [ "(u_spell_level('lightning_storm') * 3.3) + 12" ] },
    "max_level": 35,
    "min_range": 6,
    "max_range": 8,
    "range_increment": 0.01,
    "difficulty": 9,
    "spell_class": "STORMSHAPER",
    "magic_type": "magiclysm_generic_magic",
    "base_energy_cost": 500,
    "base_casting_time": 300,
    "damage_type": "electric",
    "effect": "attack",
    "shape": "blast",
    "extra_effects": [
      { "id": "lightning_blast_from_storm" },
      { "id": "lightning_blast_from_storm" },
      { "id": "lightning_blast_from_storm" },
      { "id": "eoc_evocation_setup", "hit_self": true }
    ]
  },
  {
    "id": "lightning_blast_from_storm",
    "type": "SPELL",
    "name": { "str": "Lightning Blast from Lightning Storm", "//~": "NO_I18N" },
    "description": {
      "str": "Makes sure the blasts from the lightning storm scale with that spell in case you don't know the Lightning Blast spell.",
      "//~": "NO_I18N"
    },
    "valid_targets": [ "hostile", "ground", "self", "ally" ],
    "extra_effects": [ { "id": "eoc_evocation_setup", "hit_self": true } ],
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE", "LOUD", "SOMATIC", "NO_LEGS" ],
    "min_aoe": 1,
    "max_aoe": 2,
    "aoe_increment": 0.05,
    "max_level": 35,
    "min_damage": { "math": [ "(u_spell_level('lightning_storm') * 0.9) + 2" ] },
    "max_damage": { "math": [ "(u_spell_level('lightning_storm') * 2.1) + 8" ] },
    "min_range": 6,
    "max_range": 12,
    "range_increment": 0.2,
    "spell_class": "STORMSHAPER",
    "damage_type": "electric",
    "sound_description": "a crackle",
    "shape": "blast",
    "effect": "attack"
  },
  {
    "id": "stormshaper_ionization",
    "type": "SPELL",
    "name": "Ionization",
    "description": "By manipulating the charge in the air, you can conjure a sharp snap of lightning over a wide area.  While its destructive potential is a far cry from natural lightning, the light and thunderclap produced will leave your foes reeling.",
    "valid_targets": [ "hostile", "ground", "self", "ally" ],
    "effect": "attack",
    "shape": "blast",
    "extra_effects": [ { "id": "stormshaper_ionization_thunderclap" }, { "id": "eoc_evocation_setup", "hit_self": true } ],
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE", "SOMATIC", "NO_LEGS", "NO_PROJECTILE", "SPLIT_DAMAGE" ],
    "magic_type": "magiclysm_generic_magic",
    "spell_class": "STORMSHAPER",
    "difficulty": 8,
    "base_casting_time": 350,
    "final_casting_time": 200,
    "casting_time_increment": -5,
    "base_energy_cost": 300,
    "max_level": 30,
    "min_damage": { "math": [ "(u_spell_level('stormshaper_ionization') * 0.6) + 2" ] },
    "max_damage": { "math": [ "(u_spell_level('stormshaper_ionization') * 1.1) + 8" ] },
    "damage_type": "electric",
    "min_aoe": 7,
    "max_aoe": 7,
    "min_range": 12,
    "max_range": 24,
    "range_increment": 0.4,
    "field_id": "fd_electricity",
    "field_chance": 3,
    "min_field_intensity": 1,
    "max_field_intensity": 3,
    "field_intensity_increment": 0.1,
    "field_intensity_variance": 0.5
  },
  {
    "type": "SPELL",
    "id": "stormshaper_ionization_thunderclap",
    "name": { "str": "Ionization Thunderclap", "//~": "NO_I18N" },
    "description": { "str": "Adds the actual flashbang effect.", "//~": "NO_I18N" },
    "valid_targets": [ "hostile", "ground", "self", "ally" ],
    "effect": "flashbang",
    "shape": "blast",
    "flags": [ "EVOCATION_SPELL", "LOUD" ],
    "max_level": 30,
    "min_range": 12,
    "max_range": 24,
    "range_increment": 0.4
  },
  {
    "id": "stormshaper_wall_of_fog",
    "type": "SPELL",
    "name": "Wall of Fog",
    "description": "Draws forth a broad wall of thick fog.  While the sudden force of air pressure will floor any enemies caught in it, the conjuration is otherwise harmless.",
    "valid_targets": [ "hostile", "ground", "ally" ],
    "effect": "attack",
    "effect_str": "downed",
    "shape": "line",
    "flags": [ "EVOCATION_SPELL", "SOMATIC", "NO_LEGS", "NO_HANDS" ],
    "extra_effects": [ { "id": "eoc_evocation_setup", "hit_self": true } ],
    "magic_type": "magiclysm_generic_magic",
    "spell_class": "STORMSHAPER",
    "difficulty": 2,
    "base_casting_time": 125,
    "base_energy_cost": 150,
    "max_level": 10,
    "min_aoe": 5,
    "max_aoe": 10,
    "aoe_increment": 0.5,
    "min_range": 2,
    "max_range": 4,
    "range_increment": 0.2,
    "min_duration": 200,
    "max_duration": 800,
    "duration_increment": 60,
    "field_id": "fd_fog",
    "field_chance": 1,
    "min_field_intensity": 3,
    "max_field_intensity": 3,
    "field_intensity_variance": 1
  },
  {
    "id": "thorns_zap",
    "type": "SPELL",
    "name": { "str": "Repelling Arc Aura", "//~": "NO_I18N" },
    "description": { "str": "This is a sub-spell of the Repelling Arc spell.", "//~": "NO_I18N" },
    "valid_targets": [ "hostile" ],
    "effect": "attack",
    "shape": "blast",
    "damage_type": "electric",
    "min_damage": 6,
    "max_damage": 12,
    "flags": [ "ENHANCEMENT_SPELL", "RANDOM_DAMAGE", "LOUD", "NO_PROJECTILE" ],
    "sound_type": "combat",
    "sound_description": "arcing electricity!",
    "min_range": 5,
    "max_range": 5
  },
  {
    "id": "stormshaper_repelling_arc",
    "type": "SPELL",
    "name": "Repelling Arc",
    "description": "Manifests an aura of crackling electricity around you to strike attackers with baleful lightning.",
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "effect_thorns_electric",
    "shape": "blast",
    "flags": [ "ENHANCEMENT_SPELL", "SOMATIC", "NO_LEGS", "CONCENTRATE" ],
    "extra_effects": [ { "id": "eoc_enhancement_setup", "hit_self": true } ],
    "magic_type": "magiclysm_generic_magic",
    "spell_class": "STORMSHAPER",
    "difficulty": 4,
    "base_casting_time": 250,
    "base_energy_cost": 550,
    "max_level": 15,
    "min_duration": 24000,
    "max_duration": 360000,
    "duration_increment": 24000,
    "learn_spells": { "stormshaper_repelling_arc_plus": 15 }
  },
  {
    "id": "stormshaper_repelling_arc_plus",
    "type": "SPELL",
    "name": "Enhanced Repelling Arc",
    "description": "Manifests an aura of crackling electricity around you to strike attackers with baleful lightning.  Now you know this spell like the back of your hand, and start to design your own version.",
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "effect_thorns_electric",
    "shape": "blast",
    "flags": [ "ENHANCEMENT_SPELL", "SOMATIC", "NO_LEGS", "NO_FAIL" ],
    "magic_type": "magiclysm_generic_magic",
    "spell_class": "STORMSHAPER",
    "difficulty": 6,
    "extra_effects": [ { "id": "eoc_enhancement_setup", "hit_self": true } ],
    "base_casting_time": 250,
    "final_casting_time": 100,
    "casting_time_increment": -6,
    "base_energy_cost": 550,
    "final_energy_cost": 100,
    "energy_increment": -18,
    "max_level": 25,
    "min_duration": 360000,
    "max_duration": 2160000,
    "duration_increment": 72000
  },
  {
    "id": "stormfist",
    "type": "SPELL",
    "name": "Stormfist",
    "description": "Encases your arm and hand in a sheath of crackling magical lightning, you can punch and defend yourself with it in melee combat.",
    "flags": [ "CONJURATION_SPELL", "LOUD", "VERBAL", "NO_LEGS" ],
    "valid_targets": [ "self" ],
    "extra_effects": [ { "id": "eoc_summon_setup", "hit_self": true } ],
    "min_damage": 1,
    "max_damage": 1,
    "spell_class": "STORMSHAPER",
    "effect": "spawn_item",
    "effect_str": "stormglove",
    "shape": "blast",
    "magic_type": "magiclysm_generic_magic",
    "difficulty": 5,
    "max_level": 15,
    "base_casting_time": 500,
    "base_energy_cost": 400,
    "min_duration": 24000,
    "max_duration": 360000,
    "duration_increment": 24000,
    "learn_spells": { "stormfist_plus": 15 }
  },
  {
    "id": "stormfist_plus",
    "type": "SPELL",
    "name": "Enhanced Stormfist",
    "description": "Encases your arm and hand in a sheath of crackling magical lightning, you can punch and defend yourself with it in melee combat.  Now you know this spell like the back of your hand, and start to design your own version.",
    "valid_targets": [ "self" ],
    "flags": [ "CONJURATION_SPELL", "LOUD", "NO_LEGS", "NO_FAIL" ],
    "extra_effects": [ { "id": "eoc_summon_setup", "hit_self": true } ],
    "min_damage": 1,
    "max_damage": 1,
    "spell_class": "STORMSHAPER",
    "effect": "spawn_item",
    "effect_str": "stormglove",
    "shape": "blast",
    "magic_type": "magiclysm_generic_magic",
    "difficulty": 7,
    "max_level": 25,
    "base_casting_time": 500,
    "final_casting_time": 200,
    "casting_time_increment": -12,
    "base_energy_cost": 400,
    "final_energy_cost": 150,
    "energy_increment": -10,
    "min_duration": 360000,
    "max_duration": 2160000,
    "duration_increment": 72000
  },
  {
    "id": "create_electric_lighter",
    "type": "SPELL",
    "name": "Fire Spark",
    "description": "Summons a small electric spark, that doesn't harm anything.  You can use it to ignite something flammable.",
    "valid_targets": [ "none" ],
    "flags": [ "CONJURATION_SPELL", "NO_LEGS" ],
    "effect": "spawn_item",
    "effect_str": "electric_lighter",
    "extra_effects": [ { "id": "eoc_summon_setup", "hit_self": true } ],
    "shape": "blast",
    "min_damage": 1,
    "max_damage": 1,
    "min_duration": 6000,
    "max_duration": 60000,
    "duration_increment": 5400,
    "max_level": 10,
    "spell_class": "STORMSHAPER",
    "magic_type": "magiclysm_generic_magic",
    "base_casting_time": 250,
    "final_casting_time": 50,
    "casting_time_increment": -20.0,
    "base_energy_cost": 65,
    "difficulty": 0
  },
  {
    "id": "storm_shipwrecker",
    "type": "SPELL",
    "name": { "str": "Shipwrecker" },
    "description": "As the sound of the spell moves out of your mouth, it creates a crushing shockwave that shatters everything in its path.",
    "//": "fus ro dah!",
    "valid_targets": [ "ally", "hostile", "ground" ],
    "effect": "attack",
    "effect_str": "downed",
    "shape": "cone",
    "base_casting_time": 300,
    "final_casting_time": 50,
    "casting_time_increment": -10,
    "base_energy_cost": 450,
    "final_energy_cost": 150,
    "energy_increment": -12,
    "magic_type": "magiclysm_generic_magic",
    "spell_class": "STORMSHAPER",
    "difficulty": 6,
    "max_level": 25,
    "min_damage": { "math": [ "(u_spell_level('storm_shipwrecker') * 1.8) + 12" ] },
    "max_damage": { "math": [ "(u_spell_level('storm_shipwrecker') * 3.5) + 22" ] },
    "damage_type": "sonic",
    "min_range": 2,
    "max_range": 9,
    "range_increment": 0.3,
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE", "VERBAL", "LOUD", "NO_HANDS", "RANDOM_DURATION", "SPLIT_DAMAGE" ],
    "min_duration": 200,
    "max_duration": 900,
    "min_aoe": 30,
    "max_aoe": 150,
    "aoe_increment": 5,
    "extra_effects": [ { "id": "shipwrecker_push" }, { "id": "shipwrecker_push" }, { "id": "eoc_evocation_setup", "hit_self": true } ]
  },
  {
    "id": "shipwrecker_push",
    "type": "SPELL",
    "name": { "str": "Shipwrecker Push", "//~": "NO_I18N" },
    "description": { "str": "Push monsters around the player.  You can see it only in debug mode.", "//~": "NO_I18N" },
    "effect": "area_push",
    "shape": "cone",
    "valid_targets": [ "ally", "hostile", "item", "ground" ],
    "flags": [ "EVOCATION_SPELL", "SILENT", "NO_EXPLOSION_SFX" ],
    "max_level": 25,
    "min_aoe": 60,
    "max_aoe": 180,
    "aoe_increment": 5,
    "min_range": 5,
    "max_range": 12,
    "range_increment": 0.3
  },
  {
    "id": "explosive_decompression",
    "type": "SPELL",
    "name": "Explosive Decompression",
    "description": "Create a high-pressure zone originating from the selected point.  Shortly after, a massive pressure wave will crush everything inside, inflicting barotraumatic injuries on everyone affected.",
    "effect": "attack",
    "shape": "blast",
    "valid_targets": [ "self", "ally", "hostile", "ground" ],
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE", "SOMATIC", "VERBAL", "NO_LEGS", "SPLIT_DAMAGE" ],
    "extra_effects": [ { "id": "eoc_evocation_setup", "hit_self": true } ],
    "max_level": 15,
    "min_damage": { "math": [ "(u_spell_level('explosive_decompression') * 1.2) + 12" ] },
    "max_damage": { "math": [ "(u_spell_level('explosive_decompression') * 3) + 22" ] },
    "min_aoe": 0,
    "max_aoe": 6,
    "aoe_increment": 0.4,
    "min_range": 6,
    "max_range": 21,
    "range_increment": 1,
    "spell_class": "STORMSHAPER",
    "base_casting_time": 250,
    "final_casting_time": 50,
    "casting_time_increment": -14,
    "base_energy_cost": 400,
    "final_energy_cost": 125,
    "energy_increment": -20,
    "magic_type": "magiclysm_generic_magic",
    "difficulty": 4,
    "damage_type": "bash",
    "learn_spells": { "vacuum_decompression": 15 }
  },
  {
    "id": "vacuum_decompression",
    "type": "SPELL",
    "name": "Vacuum Decompression",
    "description": "Create a high-pressure zone originating from the selected point.  Shortly after, a massive pressure wave will crush everything inside, inflicting barotraumatic injuries on everyone affected.  The pressure differential will also pull unprepared creatures inside the zone before collapsing.",
    "effect": "attack",
    "shape": "blast",
    "valid_targets": [ "self", "ally", "hostile", "ground" ],
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE", "SOMATIC", "VERBAL", "NO_LEGS", "EXTRA_EFFECTS_FIRST", "SPLIT_DAMAGE" ],
    "max_level": 25,
    "min_damage": { "math": [ "(u_spell_level('vacuum_decompression') * 1.5) + 12" ] },
    "max_damage": { "math": [ "(u_spell_level('vacuum_decompression') * 3.8) + 22" ] },
    "min_aoe": 2,
    "max_aoe": 9,
    "aoe_increment": 0.3,
    "min_range": 5,
    "max_range": 30,
    "range_increment": 1,
    "spell_class": "STORMSHAPER",
    "base_casting_time": 450,
    "final_casting_time": 100,
    "casting_time_increment": -14,
    "base_energy_cost": 400,
    "final_energy_cost": 250,
    "energy_increment": -6,
    "magic_type": "magiclysm_generic_magic",
    "difficulty": 7,
    "damage_type": "bash",
    "extra_effects": [
      { "id": "vacuum_decompression_pull" },
      { "id": "vacuum_decompression_pull" },
      { "id": "vacuum_decompression_pull" },
      { "id": "vacuum_decompression_pull" },
      { "id": "vacuum_decompression_pull" },
      { "id": "vacuum_decompression_pull" },
      { "id": "vacuum_decompression_pull" },
      { "id": "eoc_evocation_setup", "hit_self": true }
    ]
  },
  {
    "id": "vacuum_decompression_pull",
    "type": "SPELL",
    "name": { "str": "Vacuum Decompression Pull", "//~": "NO_I18N" },
    "description": { "str": "Pull monsters around the target.  You can see it only in debug mode.", "//~": "NO_I18N" },
    "effect": "area_pull",
    "shape": "blast",
    "valid_targets": [ "hostile", "item", "ground" ],
    "flags": [ "EVOCATION_SPELL", "SILENT", "NO_EXPLOSION_SFX" ],
    "max_level": 25,
    "min_aoe": 5,
    "max_aoe": 16,
    "aoe_increment": 0.5
  },
  {
    "id": "air_bubble",
    "type": "SPELL",
    "name": "Air Bubble",
    "description": "Cover your head with an air bubble, allowing you to breathe underwater or prevent breathing of toxic gases.",
    "valid_targets": [ "self" ],
    "flags": [ "CONJURATION_SPELL", "CONCENTRATE", "LOUD", "VERBAL", "NO_LEGS" ],
    "min_damage": 1,
    "max_damage": 1,
    "effect": "spawn_item",
    "effect_str": "flask_ethereal_rebreather",
    "extra_effects": [ { "id": "eoc_summon_setup", "hit_self": true } ],
    "shape": "blast",
    "magic_type": "magiclysm_generic_magic",
    "spell_class": "STORMSHAPER",
    "difficulty": 3,
    "max_level": 10,
    "base_casting_time": 1000,
    "base_energy_cost": 200,
    "min_duration": 18000,
    "max_duration": 180000,
    "duration_increment": 18000
  },
  {
    "id": "storm_superconductor",
    "type": "SPELL",
    "name": { "str": "Superconductor" },
    "description": "Create arcs of devastating electric charge in an area around you, roasting everything within.",
    "valid_targets": [ "ally", "hostile", "ground" ],
    "effect": "attack",
    "effect_str": "zapped",
    "shape": "blast",
    "base_casting_time": 250,
    "final_casting_time": 50,
    "casting_time_increment": -8,
    "base_energy_cost": 400,
    "final_energy_cost": 150,
    "energy_increment": -10,
    "magic_type": "magiclysm_generic_magic",
    "spell_class": "STORMSHAPER",
    "difficulty": 6,
    "max_level": 25,
    "min_damage": { "math": [ "(u_spell_level('storm_superconductor') * 1.8) + 10" ] },
    "max_damage": { "math": [ "(u_spell_level('storm_superconductor') * 4.6) + 25" ] },
    "damage_type": "electric",
    "range_increment": 0.3,
    "extra_effects": [ { "id": "eoc_evocation_setup", "hit_self": true } ],
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE", "VERBAL", "LOUD", "NO_HANDS", "NO_LEGS", "RANDOM_DURATION", "SPLIT_DAMAGE" ],
    "min_duration": 100,
    "max_duration": 500,
    "min_aoe": 1,
    "max_aoe": 4,
    "aoe_increment": 0.1,
    "field_id": "fd_electricity",
    "field_chance": 1,
    "min_field_intensity": 1,
    "max_field_intensity": 10,
    "field_intensity_increment": 0.4,
    "field_intensity_variance": 3
  },
  {
    "type": "SPELL",
    "id": "shocking_dash",
    "name": "Shocking Dash",
    "description": "Fill your legs with energy and quickly dash to a target destination.",
    "valid_targets": [ "hostile", "ground" ],
    "flags": [ "CONVEYANCE_SPELL", "NO_HANDS", "LOUD" ],
    "effect": "dash",
    "shape": "cone",
    "min_damage": 0,
    "max_damage": 0,
    "min_range": 2,
    "max_range": 10,
    "range_increment": 0.35,
    "field_id": "fd_electricity",
    "min_field_intensity": 2,
    "max_field_intensity": 2,
    "spell_class": "STORMSHAPER",
    "base_casting_time": 200,
    "final_casting_time": 50,
    "casting_time_increment": -6,
    "base_energy_cost": 350,
    "final_energy_cost": 200,
    "energy_increment": -6,
    "max_level": 25,
    "magic_type": "magiclysm_generic_magic",
    "extra_effects": [ { "id": "eoc_conveyance_setup", "hit_self": true } ],
    "learn_spells": { "shocking_teleport": 15 }
  },
  {
    "type": "SPELL",
    "id": "shocking_teleport",
    "name": "Shocking Teleport",
    "description": "Briefly become lightning to teleport to a chosen spot, ignoring all obstacles in-between.",
    "valid_targets": [ "hostile", "ground" ],
    "flags": [ "CONVEYANCE_SPELL", "NO_HANDS", "LOUD", "TARGET_TELEPORT" ],
    "extra_effects": [ { "id": "eoc_conveyance_setup", "hit_self": true } ],
    "effect": "short_range_teleport",
    "shape": "blast",
    "min_range": 4,
    "max_range": 20,
    "range_increment": 0.7,
    "spell_class": "STORMSHAPER",
    "base_casting_time": 500,
    "final_casting_time": 100,
    "casting_time_increment": -16,
    "base_energy_cost": 550,
    "final_energy_cost": 300,
    "energy_increment": -10,
    "max_level": 25,
    "magic_type": "magiclysm_generic_magic"
  },
  {
    "id": "shocking_teleport_damage",
    "type": "SPELL",
    "name": { "str": "Shocking Teleport damage", "//~": "NO_I18N" },
    "description": { "str": "Deal some damage around the teleportation.  You can see it only in debug mode.", "//~": "NO_I18N" },
    "//": "extra_effects for shocking_teleport, currently doesn't work, because of various issues in dash/teleport and extra_effects incompabilies.",
    "valid_targets": [ "ally", "hostile", "ground" ],
    "effect": "attack",
    "effect_str": "zapped",
    "shape": "blast",
    "max_level": 25,
    "min_damage": { "math": [ "(u_spell_level('shocking_teleport') * 1.2) + 2" ] },
    "max_damage": { "math": [ "(u_spell_level('shocking_teleport') * 2.2) + 14" ] },
    "damage_type": "electric",
    "flags": [ "CONVEYANCE_SPELL", "RANDOM_DAMAGE", "LOUD", "SPLIT_DAMAGE" ],
    "min_duration": 100,
    "max_duration": 500,
    "min_aoe": 1,
    "max_aoe": 7,
    "aoe_increment": 0.25,
    "field_id": "fd_electricity",
    "field_chance": 1,
    "min_field_intensity": 1,
    "max_field_intensity": 10,
    "field_intensity_increment": 0.4,
    "field_intensity_variance": 3
  },
  {
    "id": "toxtricity",
    "type": "SPELL",
    "name": "Toxtricity",
    "description": "Inject a corrosive electric energy into targets within the affected area, weakening them and dealing huge damage over time.",
    "effect": "attack",
    "effect_str": "zapped",
    "shape": "blast",
    "valid_targets": [ "self", "ally", "hostile", "ground" ],
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE", "SOMATIC", "VERBAL", "NO_LEGS", "SPLIT_DAMAGE" ],
    "max_level": 25,
    "min_damage": 2,
    "max_damage": 9,
    "min_aoe": 1,
    "max_aoe": 11,
    "aoe_increment": 0.4,
    "min_range": 6,
    "max_range": 21,
    "range_increment": 0.6,
    "min_duration": 0,
    "max_duration": 1500,
    "duration_increment": 60,
    "base_casting_time": 350,
    "final_casting_time": 150,
    "casting_time_increment": -8,
    "base_energy_cost": 400,
    "final_energy_cost": 125,
    "energy_increment": -11,
    "magic_type": "magiclysm_generic_magic",
    "difficulty": 5,
    "extra_effects": [ { "id": "eoc_evocation_setup", "hit_self": true } ],
    "spell_class": "STORMSHAPER",
    "min_dot": 0,
    "max_dot": 15,
    "dot_increment": 0.6,
    "damage_type": "electric"
  },
  {
    "id": "electric_eye",
    "type": "SPELL",
    "name": "Electric Eye",
    "description": "Enhance your sight with your powers which allows you to see creatures of the same energy around you.  This enhanced perception speed enables you to see more attacks incoming, allowing for an additional block or dodge attempt.",
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "electric_eye",
    "shape": "blast",
    "flags": [ "ENHANCEMENT_SPELL", "NO_LEGS", "SILENT", "NO_EXPLOSION_SFX" ],
    "extra_effects": [ { "id": "eoc_enhancement_setup", "hit_self": true } ],
    "spell_class": "STORMSHAPER",
    "magic_type": "magiclysm_generic_magic",
    "difficulty": 4,
    "base_casting_time": 3000,
    "final_casting_time": 1000,
    "casting_time_increment": -80,
    "base_energy_cost": 400,
    "final_energy_cost": 200,
    "energy_increment": -8,
    "max_level": 25,
    "min_duration": 57600,
    "max_duration": 1440000,
    "duration_increment": 57600
  },
  {
    "id": "electric_waves",
    "type": "SPELL",
    "name": "Electric Waves",
    "description": "Your hands start to store a vast amount of energy, which you release with each attack.  You feel the spell will get stronger with a higher mastery.",
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "electric_waves",
    "shape": "blast",
    "flags": [ "ENHANCEMENT_SPELL", "NO_LEGS", "SILENT", "NO_EXPLOSION_SFX" ],
    "extra_effects": [ { "id": "eoc_enhancement_setup", "hit_self": true } ],
    "spell_class": "STORMSHAPER",
    "magic_type": "magiclysm_generic_magic",
    "difficulty": 5,
    "base_casting_time": 3000,
    "final_casting_time": 1000,
    "casting_time_increment": -80,
    "base_energy_cost": 400,
    "final_energy_cost": 200,
    "energy_increment": -8,
    "max_level": 25,
    "min_duration": 14400,
    "max_duration": 360000,
    "duration_increment": 14400
  },
  {
    "id": "electric_waves_damage",
    "type": "SPELL",
    "name": { "str": "Electric Waves Damage", "//~": "NO_I18N" },
    "description": { "str": "Blasts, generated by Electric Waves.", "//~": "NO_I18N" },
    "valid_targets": [ "ally", "hostile", "ground" ],
    "effect": "attack",
    "shape": "blast",
    "min_damage": { "math": [ "(u_spell_level('electric_waves') * 0.4) + 1" ] },
    "max_damage": { "math": [ "(u_spell_level('electric_waves') * 0.75) + 6" ] },
    "min_range": 1,
    "damage_type": "electric",
    "flags": [ "ENHANCEMENT_SPELL", "LOUD", "RANDOM_DURATION", "RANDOM_AOE", "RANDOM_DAMAGE", "SPLIT_DAMAGE" ],
    "min_duration": 50,
    "max_duration": 200,
    "min_aoe": 1,
    "max_aoe": 2,
    "field_id": "fd_electricity",
    "field_chance": 2,
    "min_field_intensity": 1,
    "max_field_intensity": 4,
    "field_intensity_variance": 10
  },
  {
    "id": "electric_arts",
    "type": "SPELL",
    "name": "Electric Arts",
    "description": "A spell designed for scholars who have recently started to learn stormshaping, allowing them to reduce the damage their often capricious new abilities may cause to themselves.",
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "electric_arts",
    "shape": "blast",
    "flags": [ "ENHANCEMENT_SPELL", "NO_EXPLOSION_SFX" ],
    "extra_effects": [ { "id": "eoc_enhancement_setup", "hit_self": true } ],
    "spell_class": "STORMSHAPER",
    "magic_type": "magiclysm_generic_magic",
    "difficulty": 1,
    "base_casting_time": 48000,
    "base_energy_cost": 400,
    "final_energy_cost": 200,
    "energy_increment": -8,
    "max_level": 25,
    "min_duration": 230400,
    "max_duration": 5760000,
    "duration_increment": 230400
  },
  {
    "id": "summon_teravolt",
    "type": "SPELL",
    "name": "Summon Teravolt",
    "description": "Summon a Teravolt, a small, semi-intelligent spirit that homes in on hostile creatures before exploding into a huge spark cloud.",
    "valid_targets": [ "ground" ],
    "min_damage": 1,
    "max_damage": 1,
    "max_level": 25,
    "difficulty": 6,
    "spell_class": "STORMSHAPER",
    "effect": "summon",
    "effect_str": "mon_teravolt",
    "extra_effects": [ { "id": "eoc_summon_setup", "hit_self": true } ],
    "shape": "blast",
    "magic_type": "magiclysm_generic_magic",
    "base_energy_cost": 400,
    "final_energy_cost": 200,
    "energy_increment": -4,
    "base_casting_time": 600,
    "final_casting_time": 100,
    "casting_time_increment": -20,
    "min_aoe": 4,
    "max_aoe": 4,
    "flags": [ "CONJURATION_SPELL", "SOMATIC", "VERBAL", "CONCENTRATE", "PERMANENT", "NO_EXPLOSION_SFX" ],
    "min_duration": 4800,
    "max_duration": 120000,
    "duration_increment": 4800
  },
  {
    "id": "stormshaper_cloak_of_fog",
    "type": "SPELL",
    "name": "Cloak of Fog",
    "description": "Call out to the sky spirits for aid and ask them to conceal you from your enemies.  The fog will hide your passage, but you do not have any special ability to see through it yourself.",
    "valid_targets": [ "self" ],
    "flags": [ "ENHANCEMENT_SPELL", "CONCENTRATE", "VERBAL", "SOMATIC", "NO_EXPLOSION_SFX" ],
    "effect": "attack",
    "extra_effects": [
      { "id": "stormshaper_cloak_fog_emitter", "hit_self": true, "max_level": 20 },
      { "id": "stormshaper_cloak_fog_wonder", "hit_self": true },
      { "id": "eoc_enhancement_setup", "hit_self": true }
    ],
    "shape": "blast",
    "magic_type": "magiclysm_generic_magic",
    "spell_class": "STORMSHAPER",
    "difficulty": 4,
    "max_level": 20,
    "min_aoe": 4,
    "max_aoe": 20,
    "aoe_increment": 0.65,
    "field_id": "fd_obscuring_fog",
    "min_field_intensity": 2,
    "max_field_intensity": 3,
    "field_chance": 1,
    "base_energy_cost": 250,
    "base_casting_time": 300,
    "final_casting_time": 100,
    "casting_time_increment": -7.5
  },
  {
    "id": "stormshaper_cloak_fog_emitter",
    "type": "SPELL",
    "name": { "str": "Cloak of Fog Real", "//~": "NO_I18N" },
    "description": { "str": "The spell that puts the effect of Cloak of Fog on you.  It's a bug if you can see it.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "flags": [ "ENHANCEMENT_SPELL" ],
    "effect": "attack",
    "effect_str": "effect_cloak_of_fog",
    "shape": "blast",
    "min_duration": 3000,
    "max_duration": 30000,
    "duration_increment": 575
  },
  {
    "id": "stormshaper_cloak_fog_wonder",
    "type": "SPELL",
    "name": { "str": "Cloak of Fog Wonder", "//~": "NO_I18N" },
    "description": { "str": "Places other fog locations nearby.  The number depends on your cloak of fog level.", "//~": "NO_I18N" },
    "flags": [ "WONDER", "NO_EXPLOSION_SFX" ],
    "valid_targets": [ "self" ],
    "effect": "attack",
    "extra_effects": [ { "id": "stormshaper_cloak_fog_random", "max_level": 20 } ],
    "shape": "blast",
    "min_damage": { "math": [ "( (u_spell_level('stormshaper_cloak_of_fog') * 0.5) + 2)" ] },
    "max_damage": { "math": [ "( (u_spell_level('stormshaper_cloak_of_fog') * 0.5) + 2)" ] }
  },
  {
    "id": "stormshaper_cloak_fog_random",
    "type": "SPELL",
    "name": { "str": "Cloak of Fog Random", "//~": "NO_I18N" },
    "description": { "str": "The spell that puts the effect of Cloak of Fog on you.  It's a bug if you can see it.", "//~": "NO_I18N" },
    "flags": [ "ENHANCEMENT_SPELL", "RANDOM_TARGET", "NO_EXPLOSION_SFX" ],
    "valid_targets": [ "ground" ],
    "message": "",
    "effect": "attack",
    "effect_str": "effect_cloak_of_fog",
    "shape": "blast",
    "min_range": 5,
    "max_range": 25,
    "range_increment": 1,
    "min_aoe": 4,
    "max_aoe": 20,
    "aoe_increment": 0.65,
    "field_id": "fd_obscuring_fog",
    "min_field_intensity": 2,
    "max_field_intensity": 3,
    "field_chance": 2
  },
  {
    "id": "stormshaper_heart_of_hurricane",
    "type": "SPELL",
    "name": "Heart of the Hurricane",
    "description": "Compress the fury of hurricane winds into a thin shell of raging air around yourself.  This will make it harder for you to lose your footing or be knocked down and occasionally throw attackers away from you, but the whirling winds are loud.",
    "valid_targets": [ "self" ],
    "flags": [ "ENHANCEMENT_SPELL", "CONCENTRATE", "VERBAL", "SOMATIC", "NO_EXPLOSION_SFX" ],
    "extra_effects": [ { "id": "eoc_enhancement_setup", "hit_self": true } ],
    "effect": "attack",
    "effect_str": "effect_heart_of_hurricane",
    "shape": "blast",
    "spell_class": "STORMSHAPER",
    "difficulty": 7,
    "max_level": 20,
    "min_duration": 15000,
    "max_duration": 90000,
    "duration_increment": 3750,
    "magic_type": "magiclysm_generic_magic",
    "base_energy_cost": 400,
    "base_casting_time": 1500
  },
  {
    "id": "stormshaper_heart_of_hurricane_throw",
    "type": "SPELL",
    "name": { "str": "Heart of the Hurricane Throw", "//~": "NO_I18N" },
    "description": { "str": "This is the spell that throws your target back.  It's a bug if you have it directly.", "//~": "NO_I18N" },
    "message": "The winds lash out and hurl <npcname> away!",
    "valid_targets": [ "ally", "hostile", "item", "ground" ],
    "spell_class": "STORMSHAPER",
    "flags": [ "ENHANCEMENT_SPELL", "RANDOM_DAMAGE", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX" ],
    "effect": "directed_push",
    "shape": "blast",
    "min_damage": 1,
    "max_damage": { "math": [ "( (u_spell_level('stormshaper_heart_of_hurricane') / 2) + 1)" ] },
    "min_range": 1
  },
  {
    "id": "stormshaper_cloak_of_frog",
    "type": "SPELL",
    "name": "Cloak of Frog",
    "description": "Someone's personal notes were added to this spell.  You're positive that they changed both the name and the function.",
    "valid_targets": [ "self" ],
    "flags": [ "TRANSFORMATION_SPELL", "CONCENTRATE", "VERBAL", "SOMATIC", "NO_EXPLOSION_SFX" ],
    "effect": "attack",
    "extra_effects": [
      { "id": "stormshaper_cloak_frog_transform", "hit_self": true },
      { "id": "stormshaper_cloak_frog_summon_wonder", "hit_self": false },
      { "id": "eoc_enhancement_setup", "hit_self": true }
    ],
    "shape": "blast",
    "spell_class": "STORMSHAPER",
    "difficulty": 4,
    "max_level": 20,
    "min_duration": 15000,
    "max_duration": 90000,
    "duration_increment": 3750,
    "magic_type": "magiclysm_generic_magic",
    "base_energy_cost": 350,
    "base_casting_time": 150
  },
  {
    "id": "stormshaper_cloak_frog_transform",
    "type": "SPELL",
    "name": { "str": "Cloak of Frog Transform", "//~": "NO_I18N" },
    "description": {
      "str": "Grants the caster some post-threshold Batrachian mutations if they aren't already a frog mutant.",
      "//~": "NO_I18N"
    },
    "flags": [ "TRANSFORMATION_SPELL", "NO_EXPLOSION_SFX" ],
    "valid_targets": [ "self" ],
    "effect": "effect_on_condition",
    "effect_str": "EOC_GAIN_CLOAK_OF_FROG_MUTATIONS",
    "shape": "blast"
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_GAIN_CLOAK_OF_FROG_MUTATIONS",
    "//": "mutations chosen to have minimal conflicts with other mutations",
    "condition": { "not": { "u_has_trait": "THRESH_BATRACHIAN" } },
    "effect": [
      { "u_add_trait": "FRESHWATEROSMOSIS" },
      { "u_add_trait": "PHEROMONE_AMPHIBIAN" },
      { "u_add_trait": "AMPHIBIAN" },
      {
        "run_eocs": "EOC_LOSE_CLOAK_OF_FROG_MUTATIONS",
        "time_in_future": [
          { "math": [ "( (u_spell_level('stormshaper_cloak_of_frog') * 3750) + 15000) * transformation_proficiency_modifier()" ] },
          {
            "math": [ "( (u_spell_level('stormshaper_cloak_of_frog') * 3750) + 15000) * transformation_proficiency_modifier()" ]
          }
        ]
      }
    ],
    "false_effect": [  ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_LOSE_CLOAK_OF_FROG_MUTATIONS",
    "effect": [
      { "u_message": "It wasn't easy being green.", "type": "mixed" },
      { "u_lose_trait": "FRESHWATEROSMOSIS" },
      { "u_lose_trait": "PHEROMONE_AMPHIBIAN" },
      { "u_lose_trait": "AMPHIBIAN" }
    ]
  },
  {
    "id": "stormshaper_cloak_frog_summon_wonder",
    "type": "SPELL",
    "name": { "str": "Cloak of Frog Wonder", "//~": "NO_I18N" },
    "description": { "str": "Places other frog locations nearby.  The number depends on your cloak of frog level.", "//~": "NO_I18N" },
    "flags": [ "TRANSFORMATION_SPELL", "WONDER", "NO_EXPLOSION_SFX" ],
    "valid_targets": [ "self" ],
    "effect": "attack",
    "extra_effects": [ { "id": "stormshaper_cloak_frog_summon", "max_level": 20 } ],
    "shape": "blast",
    "min_damage": { "math": [ "( (u_spell_level('stormshaper_cloak_of_frog') * 1) + 1)" ] },
    "max_damage": { "math": [ "( (u_spell_level('stormshaper_cloak_of_frog') * 1) + 1)" ] }
  },
  {
    "id": "stormshaper_cloak_frog_summon",
    "type": "SPELL",
    "name": { "str": "Cloak of Frog Summon", "//~": "NO_I18N" },
    "description": { "str": "The spell that creates the frogs.  It's a bug if you have it.", "//~": "NO_I18N" },
    "flags": [ "TRANSFORMATION_SPELL", "RANDOM_TARGET", "NO_EXPLOSION_SFX", "SPAWN_GROUP" ],
    "valid_targets": [ "ground", "hostile" ],
    "message": "",
    "effect": "summon",
    "effect_str": "GROUP_FROGS_CLOAK",
    "shape": "blast",
    "min_damage": 1,
    "max_damage": 1,
    "min_range": 5,
    "max_range": 25,
    "range_increment": 1,
    "min_aoe": 4,
    "max_aoe": 20,
    "aoe_increment": 0.65,
    "min_duration": { "math": [ "( (u_spell_level('stormshaper_cloak_of_frog') * 3750) + 15000)" ] }
  },
  {
    "id": "stormshaper_loud_voice_spell",
    "type": "SPELL",
    "name": "Thundering Voice",
    "description": "Increase the volume of the caster's voice, allowing every word to resound like a peal of thunder.  As a useful side effect, it makes the caster immune to hearing damage caused by loud noises.",
    "valid_targets": [ "self" ],
    "spell_class": "STORMSHAPER",
    "flags": [ "ENHANCEMENT_SPELL", "CONCENTRATE", "VERBAL", "SOMATIC", "NO_LEGS" ],
    "extra_effects": [ { "id": "eoc_enhancement_setup", "hit_self": true } ],
    "effect": "attack",
    "effect_str": "effect_stormshaper_loud_voice",
    "shape": "blast",
    "difficulty": 3,
    "max_level": 20,
    "min_duration": 42000,
    "max_duration": 882000,
    "duration_increment": 42000,
    "magic_type": "magiclysm_generic_magic",
    "base_energy_cost": 150,
    "base_casting_time": 250
  }
]
