[
  {
    "id": "head_go_bye",
    "type": "SPELL",
    "name": { "str": "Cranial Explosion", "//~": "NO_I18N" },
    "description": { "str": "This fake spell occurs on cranial bomb activation.  Likely fatal.", "//~": "NO_I18N" },
    "effect": "attack",
    "shape": "blast",
    "valid_targets": [ "self" ],
    "flags": [ "SILENT", "NO_LEGS", "NO_HANDS", "NO_PROJECTILE", "SPLIT_DAMAGE" ],
    "min_damage": 158,
    "max_damage": 212,
    "damage_type": "heat"
  },
  {
    "id": "static_field",
    "type": "SPELL",
    "name": { "str": "Bullet Shield Static Field", "//~": "NO_I18N" },
    "description": {
      "str": "This fake spell occurs on hit_me with medium bullet forcefield CBM activated.  Creates electrical field around PC.  May shock PC.",
      "//~": "NO_I18N"
    },
    "effect": "attack",
    "shape": "blast",
    "valid_targets": [ "self" ],
    "field_id": "fd_electricity",
    "field_chance": 60,
    "min_field_intensity": 2,
    "max_field_intensity": 2,
    "field_intensity_increment": 1,
    "field_intensity_variance": 0.5,
    "flags": [ "LOUD", "NO_LEGS", "NO_HANDS", "NO_PROJECTILE" ],
    "min_damage": 0,
    "max_damage": 8,
    "damage_type": "electric"
  },
  {
    "id": "conversion_field_flash",
    "type": "SPELL",
    "name": { "str": "Conversion Field Flash", "//~": "NO_I18N" },
    "description": { "str": "Flashbang effect on hit against shield.", "//~": "NO_I18N" },
    "effect": "flashbang",
    "shape": "blast",
    "valid_targets": [ "self" ],
    "flags": [ "LOUD", "NO_LEGS", "NO_HANDS", "NO_PROJECTILE" ],
    "min_damage": 0,
    "max_damage": 5,
    "damage_type": "heat"
  },
  {
    "id": "radiation_field",
    "type": "SPELL",
    "name": { "str": "Hacked Shield Radiation", "//~": "NO_I18N" },
    "description": {
      "str": "This fake spell occurs intermittently with the heavy bullet forcefield CBM activated.  Creates an electrical field around the PC.  May shock the PC.",
      "//~": "NO_I18N"
    },
    "effect": "attack",
    "shape": "blast",
    "valid_targets": [ "self" ],
    "field_id": "fd_rad_glimmer",
    "field_chance": 60,
    "min_field_intensity": 2,
    "max_field_intensity": 2,
    "field_intensity_increment": 1,
    "field_intensity_variance": 0.5,
    "flags": [ "LOUD", "NO_LEGS", "NO_HANDS", "NO_PROJECTILE" ],
    "min_damage": 0,
    "max_damage": 8,
    "damage_type": "electric"
  },
  {
    "id": "gunship_drive_overload",
    "type": "SPELL",
    "name": { "str": "Damage Robots EMP", "//~": "NO_I18N" },
    "description": { "str": "Damages all robots", "//~": "NO_I18N" },
    "valid_targets": [ "hostile", "ally" ],
    "effect": "attack",
    "shape": "blast",
    "targeted_monster_species": [ "ROBOT" ],
    "damage_type": "pure",
    "min_damage": 14,
    "max_damage": 84,
    "min_aoe": 48,
    "max_aoe": 48,
    "aoe_increment": 48,
    "flags": [ "SILENT", "IGNORE_WALLS", "RANDOM_DAMAGE" ]
  },
  {
    "id": "prison_cell_open",
    "type": "SPELL",
    "name": { "str": "Open prison gratings", "//~": "NO_I18N" },
    "description": { "str": "Open prison gratings", "//~": "NO_I18N" },
    "valid_targets": [ "ground" ],
    "effect": "ter_transform",
    "shape": "blast",
    "effect_str": "transform_gratings",
    "min_aoe": 4,
    "max_aoe": 4,
    "flags": [ "SILENT" ]
  },
  {
    "id": "afs_generic_free_turn",
    "type": "SPELL",
    "name": { "str": "Aftershock Extra Turn", "//~": "NO_I18N" },
    "description": { "str": "Grants you an extra turn.", "//~": "NO_I18N" },
    "message": "",
    "valid_targets": [ "self" ],
    "effect": "mod_moves",
    "shape": "blast",
    "min_damage": 100,
    "max_damage": 100,
    "base_casting_time": 1
  },
  {
    "id": "afs_clairvoyance_cone",
    "type": "SPELL",
    "name": { "str": "Aftershock Clairvoyance Cone", "//~": "NO_I18N" },
    "description": { "str": "Reveals a cone shaped area centered on the caster.", "//~": "NO_I18N" },
    "message": "",
    "valid_targets": [ "hostile", "ground", "ally" ],
    "flags": [ "CONCENTRATE", "IGNORE_WALLS" ],
    "effect": "attack",
    "shape": "cone",
    "field_id": "fd_clairvoyant",
    "min_field_intensity": 1,
    "max_field_intensity": 1,
    "difficulty": 6,
    "min_range": 10,
    "max_range": 20,
    "range_increment": 0.5,
    "max_level": 20,
    "min_aoe": 15,
    "max_aoe": 60,
    "aoe_increment": 1.5,
    "min_duration": 0,
    "max_duration": 900,
    "duration_increment": 45,
    "base_casting_time": 100,
    "base_energy_cost": 550
  },
  {
    "id": "afs_generic_speed_bonus",
    "type": "SPELL",
    "name": { "str": "Aftershock Stacking Speed Bonus", "//~": "NO_I18N" },
    "description": { "str": "Grants you a stackable speed bonus.", "//~": "NO_I18N" },
    "message": "",
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "afs_generic_speed_bonus",
    "shape": "blast",
    "flags": [ "NO_PROJECTILE" ],
    "base_casting_time": 1,
    "min_duration": 100,
    "max_duration": 100
  },
  {
    "id": "cream_prot_cold",
    "type": "SPELL",
    "name": { "str": "Heat Retention Cream", "//~": "NO_I18N" },
    "//": "Used for heat retention cream not castable",
    "description": { "str": "You rub the thick cream all over your body in preparation for the expected cold.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "flags": [ "SILENT", "NO_LEGS", "NO_HANDS" ],
    "effect": "spawn_item",
    "effect_str": "cold_res_cream",
    "shape": "blast",
    "max_level": 0,
    "min_damage": 0,
    "max_damage": 0,
    "damage_increment": 0,
    "damage_type": "biological",
    "difficulty": 0,
    "spell_class": "NONE",
    "base_casting_time": 6000,
    "base_energy_cost": 2,
    "min_duration": 720000,
    "max_duration": 720000
  },
  {
    "type": "SPELL",
    "id": "afs_motion_sensor_spell",
    "name": { "str": "motion sensor spell", "//~": "NO_I18N" },
    "description": { "str": "EOCs the victim.", "//~": "NO_I18N" },
    "valid_targets": [ "self", "hostile", "ally" ],
    "max_level": 1,
    "flags": [ "SILENT", "NO_EXPLOSION_SFX" ],
    "base_casting_time": 75,
    "shape": "blast",
    "min_range": 0,
    "min_aoe": 1,
    "max_aoe": 1,
    "effect": "effect_on_condition",
    "effect_str": "afs_motion_sensor_eoc"
  },
  {
    "id": "spell_fusion_fan",
    "type": "SPELL",
    "name": { "str": "Plasma fan", "//~": "NO_I18N" },
    "description": { "str": "Your weapon releases a searing fan of plasma.", "//~": "NO_I18N" },
    "effect": "attack",
    "shape": "cone",
    "field_id": "fd_rad_glimmer",
    "min_field_intensity": 3,
    "max_field_intensity": 9,
    "valid_targets": [ "hostile", "ally", "ground" ],
    "flags": [ "LOUD", "NO_EXPLOSION_SFX", "RANDOM_DAMAGE", "IGNORE_WALLS", "SPLIT_DAMAGE" ],
    "min_damage": 15,
    "max_damage": 15,
    "min_bash_scaling": 1,
    "max_bash_scaling": 4,
    "min_aoe": 15,
    "max_aoe": 15,
    "min_range": 10,
    "max_range": 10,
    "difficulty": 1,
    "sound_description": "fzzzt",
    "damage_type": "afs_plasma"
  },
  {
    "id": "spell_vahagn",
    "type": "SPELL",
    "name": { "str": "Vahagn Targeting", "//~": "NO_I18N" },
    "description": { "str": "Targets foes in a 120° cone around the original target.  Queues firing.", "//~": "NO_I18N" },
    "effect": "attack",
    "shape": "cone",
    "effect_str": "smart_targeted",
    "valid_targets": [ "hostile", "ground" ],
    "extra_effects": [ { "id": "vahagn_extra_shots", "hit_self": true } ],
    "flags": [ "NO_EXPLOSION_SFX" ],
    "min_damage": 0,
    "max_damage": 0,
    "min_bash_scaling": 1,
    "max_bash_scaling": 4,
    "min_aoe": 60,
    "max_aoe": 60,
    "min_range": 45,
    "max_range": 45,
    "difficulty": 1,
    "sound_description": "fzzzt",
    "damage_type": "afs_plasma"
  },
  {
    "id": "vahagn_extra_shots",
    "type": "SPELL",
    "name": { "str": "Vahagn fire", "//~": "NO_I18N" },
    "description": { "str": "Fires at up to 10 tagged targets", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "message": "Casted",
    "flags": [ "NO_EXPLOSION_SFX" ],
    "effect": "effect_on_condition",
    "effect_str": "EOC_vahagn_check_shootfoes",
    "shape": "blast"
  },
  {
    "id": "spell_electric_chain",
    "type": "SPELL",
    "name": { "str": "Superconductive Arc", "//~": "NO_I18N" },
    "description": { "str": "Your  weapon arcs electricity to a nearby target.", "//~": "NO_I18N" },
    "effect": "attack",
    "shape": "line",
    "valid_targets": [ "hostile", "ground" ],
    "flags": [ "SOMATIC", "NO_LEGS", "RANDOM_TARGET", "NO_EXPLOSION_SFX", "RANDOM_DAMAGE" ],
    "min_damage": 15,
    "max_damage": 15,
    "min_range": 15,
    "max_range": 15,
    "extra_effects": [ { "id": "spell_electric_chain_2" } ],
    "difficulty": 1,
    "sound_description": "a crackle",
    "damage_type": "electric"
  },
  {
    "id": "spell_electric_chain_2",
    "type": "SPELL",
    "name": { "str": "Superconductive Arc II", "//~": "NO_I18N" },
    "description": { "str": "Your bionic weapon arcs electricity to a nearby target.", "//~": "NO_I18N" },
    "effect": "attack",
    "shape": "blast",
    "valid_targets": [ "ally", "hostile", "ground" ],
    "flags": [ "LOUD", "RANDOM_TARGET", "RANDOM_CRITTER", "NO_EXPLOSION_SFX", "NO_PROJECTILE" ],
    "min_damage": 10,
    "max_damage": 15,
    "extra_effects": [ { "id": "spell_electric_chain_3" } ],
    "min_range": 4,
    "max_range": 4,
    "min_aoe": 2,
    "max_aoe": 2,
    "field_id": "fd_electricity",
    "min_field_intensity": 1,
    "max_field_intensity": 1,
    "field_chance": 5,
    "damage_type": "electric",
    "sound_description": "a crackle"
  },
  {
    "id": "spell_electric_chain_3",
    "type": "SPELL",
    "name": { "str": "Superconductive Arc III", "//~": "NO_I18N" },
    "description": { "str": "Your bionic weapon arcs electricity to a nearby target.", "//~": "NO_I18N" },
    "effect": "attack",
    "shape": "blast",
    "valid_targets": [ "ally", "hostile", "ground" ],
    "flags": [ "LOUD", "RANDOM_TARGET", "RANDOM_CRITTER", "NO_EXPLOSION_SFX", "NO_PROJECTILE" ],
    "min_damage": 10,
    "max_damage": 15,
    "min_range": 4,
    "max_range": 4,
    "min_aoe": 2,
    "max_aoe": 2,
    "field_id": "fd_electricity",
    "min_field_intensity": 1,
    "max_field_intensity": 1,
    "field_chance": 5,
    "damage_type": "electric",
    "sound_description": "a crackle"
  },
  {
    "id": "bio_blade_electric_arc",
    "type": "SPELL",
    "name": { "str": "Superconductive Arc", "//~": "NO_I18N" },
    "description": { "str": "Your bionic weapon arcs electricity to a nearby target.", "//~": "NO_I18N" },
    "effect": "attack",
    "shape": "blast",
    "valid_targets": [ "hostile", "ally", "self" ],
    "flags": [ "LOUD", "RANDOM_TARGET", "RANDOM_DAMAGE", "RANDOM_AOE" ],
    "max_level": 1,
    "min_damage": 5,
    "max_damage": 15,
    "min_range": 1,
    "max_range": 1,
    "extra_effects": [ { "id": "bio_blade_electric_arc_2" } ],
    "difficulty": 1,
    "sound_description": "a crackle",
    "damage_type": "electric"
  },
  {
    "id": "bio_blade_electric_arc_2",
    "type": "SPELL",
    "name": { "str": "Superconductive Arc", "//~": "NO_I18N" },
    "description": { "str": "Your bionic weapon arcs electricity to a nearby target.", "//~": "NO_I18N" },
    "effect": "attack",
    "shape": "blast",
    "valid_targets": [ "hostile", "ally", "self" ],
    "flags": [ "LOUD", "RANDOM_TARGET", "RANDOM_DAMAGE", "RANDOM_AOE" ],
    "max_level": 1,
    "min_damage": 5,
    "max_damage": 15,
    "min_range": 1,
    "max_range": 1,
    "difficulty": 1,
    "sound_description": "a crackle",
    "damage_type": "electric"
  },
  {
    "id": "cream_greater_prot_cold",
    "type": "SPELL",
    "name": { "str": "Heat Retention Cream Xtreme", "//~": "NO_I18N" },
    "//": "Used for heat retention cream not castable",
    "description": { "str": "You rub the thick cream all over your body in preparation for unbearable cold.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "flags": [ "SILENT", "NO_LEGS", "NO_HANDS" ],
    "effect": "spawn_item",
    "effect_str": "cold_res_cream_greater",
    "shape": "blast",
    "max_level": 0,
    "min_damage": 0,
    "max_damage": 0,
    "damage_increment": 0,
    "damage_type": "biological",
    "difficulty": 0,
    "spell_class": "NONE",
    "base_casting_time": 6000,
    "base_energy_cost": 2,
    "min_duration": 720000,
    "max_duration": 720000
  },
  {
    "id": "protection_from_cold",
    "type": "SPELL",
    "name": { "str": "Emergency Insulation", "//~": "NO_I18N" },
    "//": "Used for CBM not castable",
    "description": { "str": "You feel a jolt through your body as energy pulses through the wires in your flesh.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "flags": [ "SILENT", "NO_LEGS", "NO_HANDS", "NO_PROJECTILE" ],
    "effect": "attack",
    "effect_str": "afs_cold_protect",
    "shape": "blast",
    "max_level": 0,
    "spell_class": "NONE",
    "base_casting_time": 1,
    "min_duration": 1000,
    "max_duration": 1000
  },
  {
    "id": "cryo_blast",
    "type": "SPELL",
    "name": { "str": "Cryokinetic Blast", "//~": "NO_I18N" },
    "description": { "str": "You blast a cone of frigid air toward the target.", "//~": "NO_I18N" },
    "effect": "attack",
    "shape": "cone",
    "valid_targets": [ "ally", "hostile", "ground" ],
    "flags": [ "SILENT", "VERBAL", "NO_FAIL", "NO_LEGS", "NO_HANDS", "SPLIT_DAMAGE" ],
    "max_level": 20,
    "min_damage": 24,
    "max_damage": 68,
    "damage_increment": 1.2,
    "min_aoe": 30,
    "max_aoe": 60,
    "aoe_increment": 1.4,
    "min_range": 6,
    "max_range": 20,
    "range_increment": 1.0,
    "base_casting_time": 200,
    "base_energy_cost": 350,
    "energy_source": "MANA",
    "difficulty": 4,
    "field_id": "fd_cold_air2",
    "min_field_intensity": 0,
    "max_field_intensity": 4,
    "field_intensity_increment": 0.5,
    "damage_type": "cold"
  }
]
