[
  {
    "id": "lava_bomb_shrapnel",
    "type": "SPELL",
    "name": { "str": "Lava Bomb Shrapnel", "//~": "NO_I18N" },
    "description": { "str": "This is a sub spell for the Lava Bomb spell.", "//~": "NO_I18N" },
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE" ],
    "effect": "attack",
    "shape": "blast",
    "valid_targets": [ "hostile", "ally", "self", "ground" ],
    "damage_type": "cut",
    "max_level": 35,
    "min_damage": { "math": [ "(u_spell_level('lava_bomb_main') * 1.1) + 1" ] },
    "max_damage": { "math": [ "(u_spell_level('lava_bomb_main') * 2.9) + 5" ] },
    "multiple_projectiles": { "math": [ "rng(3, 8)" ] },
    "min_aoe": 1,
    "max_aoe": 3,
    "aoe_increment": 0.1
  },
  {
    "id": "lava_bomb_heat",
    "type": "SPELL",
    "name": { "str": "Lava Bomb Heat", "//~": "NO_I18N" },
    "description": { "str": "This is a sub spell for the Lava Bomb spell.", "//~": "NO_I18N" },
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE", "SPLIT_DAMAGE" ],
    "effect": "attack",
    "shape": "blast",
    "valid_targets": [ "hostile", "ally", "self", "ground" ],
    "damage_type": "heat",
    "max_level": 35,
    "min_damage": { "math": [ "(u_spell_level('lava_bomb_main') * 0.9) + 1" ] },
    "max_damage": { "math": [ "(u_spell_level('lava_bomb_main') * 2.5) + 5" ] },
    "min_aoe": 3,
    "max_aoe": 5,
    "aoe_increment": 0.1
  },
  {
    "id": "lava_bomb_ter",
    "type": "SPELL",
    "name": { "str": "Lava Bomb Terrain", "//~": "NO_I18N" },
    "description": { "str": "This is a sub spell for the Lava Bomb spell.", "//~": "NO_I18N" },
    "effect": "ter_transform",
    "effect_str": "lava_bomb",
    "shape": "blast",
    "max_level": 35,
    "min_aoe": 0,
    "max_aoe": 2,
    "aoe_increment": 0.15,
    "valid_targets": [ "hostile", "ally", "self", "ground" ]
  },
  {
    "id": "lava_bomb_main",
    "//": "The main part of the spell that causes all of the side effects.",
    "type": "SPELL",
    "name": "Lava Bomb",
    "description": "You tear up the ground beneath you to fire a lava bomb: a globe of lava surrounded by hot, solid rock.  It shatters upon impact, spraying shards of rock and lava everywhere.",
    "effect": "attack",
    "shape": "blast",
    "valid_targets": [ "hostile", "ground", "ally" ],
    "damage_type": "bash",
    "max_level": 35,
    "difficulty": 6,
    "min_damage": { "math": [ "(u_spell_level('lava_bomb_main') * 1.3) + 6" ] },
    "max_damage": { "math": [ "(u_spell_level('lava_bomb_main') * 3.1) + 14" ] },
    "min_range": 6,
    "max_range": 10,
    "range_increment": 0.2,
    "base_casting_time": 350,
    "base_energy_cost": 400,
    "magic_type": "magiclysm_generic_magic",
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE", "VERBAL", "SOMATIC", "LOUD", "MUST_HAVE_CLASS_TO_LEARN", "SPLIT_DAMAGE" ],
    "extra_effects": [
      { "id": "lava_bomb_shrapnel" },
      { "id": "lava_bomb_heat" },
      { "id": "lava_bomb_ter" },
      { "id": "eoc_evocation_setup", "hit_self": true }
    ],
    "spell_class": "VULCANIST"
  },
  {
    "id": "vulcanist_pyroclastic_flow",
    "type": "SPELL",
    "name": "Pyroclastic Flow",
    "description": "Pulls up the heat of the Earth, along with considerable smoke mixed with ashes.",
    "effect": "attack",
    "shape": "line",
    "valid_targets": [ "hostile", "ground", "ally" ],
    "damage_type": "heat",
    "max_level": 35,
    "difficulty": 10,
    "min_damage": { "math": [ "(u_spell_level('vulcanist_pyroclastic_flow') * 1.3) + 21" ] },
    "max_damage": { "math": [ "(u_spell_level('vulcanist_pyroclastic_flow') * 3.8) + 34" ] },
    "min_range": 6,
    "max_range": 16,
    "range_increment": 0.3,
    "min_aoe": 1,
    "max_aoe": 7,
    "aoe_increment": 0.25,
    "base_casting_time": 350,
    "base_energy_cost": 350,
    "final_energy_cost": 500,
    "energy_increment": 5,
    "magic_type": "magiclysm_generic_magic",
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE", "VERBAL", "SOMATIC", "LOUD", "IGNITE_FLAMMABLE", "SPLIT_DAMAGE" ],
    "extra_effects": [ { "id": "vulcanist_pyroclastic_flow_smoke" }, { "id": "eoc_evocation_setup", "hit_self": true } ],
    "spell_class": "VULCANIST"
  },
  {
    "type": "SPELL",
    "id": "vulcanist_pyroclastic_flow_smoke",
    "name": { "str": "Pyroclastic Flow Smoke", "//~": "NO_I18N" },
    "description": { "str": "Creates smoke in the area.  Subspell; you aren't allowed to see it except in debug mode.", "//~": "NO_I18N" },
    "effect": "attack",
    "shape": "line",
    "valid_targets": [ "hostile", "ground", "ally" ],
    "field_id": "fd_fog",
    "max_level": 35,
    "min_field_intensity": 1,
    "max_field_intensity": 3,
    "field_intensity_increment": 2,
    "min_aoe": 3,
    "max_aoe": 7,
    "aoe_increment": 0.12
  }
]
