[
  {
    "id": "death_blindness",
    "type": "SPELL",
    "name": { "str": "Death Blinding" },
    "description": "Blinding flash on death.",
    "flags": [ "SILENT", "NO_EXPLOSION_SFX" ],
    "valid_targets": [ "self", "ally", "hostile", "ground" ],
    "effect": "attack",
    "effect_str": "effect_photokin_blind",
    "shape": "blast",
    "max_level": 1,
    "min_duration": 500,
    "max_duration": 500,
    "min_aoe": 3,
    "max_aoe": 3
  },
  {
    "id": "death_blind_oneineight",
    "type": "SPELL",
    "name": { "str": "Photokinetic Radical Death" },
    "valid_targets": [ "ally", "ground", "hostile" ],
    "description": "1/4 chance to release a blinding flash.",
    "flags": [ "WONDER", "NO_EXPLOSION_SFX" ],
    "shape": "blast",
    "effect": "attack",
    "min_damage": 0,
    "max_damage": 0,
    "extra_effects": [
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_blindness", "hit_self": true }
    ]
  },
  {
    "id": "death_blind_oneinfour",
    "type": "SPELL",
    "name": { "str": "Photokinetic Beacon Death" },
    "valid_targets": [ "ally", "ground", "hostile" ],
    "description": "1/2 chance to release a blinding flash.",
    "flags": [ "WONDER", "NO_EXPLOSION_SFX" ],
    "shape": "blast",
    "effect": "attack",
    "min_damage": 0,
    "max_damage": 0,
    "extra_effects": [
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_blindness", "hit_self": true }
    ]
  },
  {
    "id": "death_explosion_oneineight",
    "type": "SPELL",
    "name": { "str": "Pyrokinetic Burner Death" },
    "valid_targets": [ "ally", "ground", "hostile" ],
    "description": "1/4 chance to burst into flames.",
    "flags": [ "WONDER", "NO_EXPLOSION_SFX" ],
    "shape": "blast",
    "effect": "noise",
    "min_damage": 1,
    "max_damage": 1,
    "extra_effects": [
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_conflagration", "hit_self": true }
    ]
  },
  {
    "id": "death_explosion_oneinfour",
    "type": "SPELL",
    "name": { "str": "Pyrokinetic Inferno Death" },
    "valid_targets": [ "ally", "ground", "hostile" ],
    "description": "1/2 chance to burst into flames.",
    "flags": [ "WONDER", "NO_EXPLOSION_SFX" ],
    "shape": "blast",
    "effect": "noise",
    "min_damage": 1,
    "max_damage": 1,
    "extra_effects": [
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_conflagration", "hit_self": true }
    ]
  },
  {
    "id": "death_telekeinetic_hit_oneinfive",
    "type": "SPELL",
    "name": { "str": "Telekinetic Death" },
    "valid_targets": [ "ally", "ground", "hostile" ],
    "description": "1/5 chance to knock targets down.",
    "flags": [ "WONDER" ],
    "shape": "blast",
    "effect": "noise",
    "min_damage": 1,
    "max_damage": 1,
    "extra_effects": [
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_fakespell" },
      { "id": "death_knockdown", "hit_self": true }
    ]
  },
  {
    "id": "death_telekeinetic_hit_oneinthree",
    "type": "SPELL",
    "name": { "str": "Telekinetic Death" },
    "valid_targets": [ "ally", "ground", "hostile" ],
    "description": "1/3 chance to knock targets down.",
    "flags": [ "WONDER" ],
    "shape": "blast",
    "effect": "noise",
    "min_damage": 1,
    "max_damage": 1,
    "extra_effects": [ { "id": "death_fakespell" }, { "id": "death_fakespell" }, { "id": "death_knockdown", "hit_self": true } ]
  },
  {
    "id": "death_knockdown",
    "type": "SPELL",
    "name": { "str": "Telekinetic Wave" },
    "valid_targets": [ "ally", "ground", "hostile" ],
    "description": "Knocks everyone near the feral telekinetic down.",
    "flags": [ "NO_EXPLOSION_SFX", "SILENT", "RANDOM_DURATION" ],
    "shape": "blast",
    "effect": "attack",
    "effect_str": "downed",
    "min_aoe": 6,
    "min_duration": 100,
    "max_duration": 300
  },
  {
    "id": "death_psychic_scream",
    "type": "SPELL",
    "name": { "str": "Psychic Scream" },
    "valid_targets": [ "ally", "ground", "hostile" ],
    "description": "Possibly stuns and blinds if the player is near the telepath when they die.",
    "flags": [ "NO_EXPLOSION_SFX", "SILENT", "IGNORE_WALLS", "PERCENTAGE_DAMAGE" ],
    "shape": "blast",
    "effect": "attack",
    "damage_type": "psi_telepathic_damage",
    "max_level": 30,
    "min_damage": 5,
    "max_damage": 15,
    "damage_increment": 0.5,
    "min_aoe": 1,
    "max_aoe": 30,
    "aoe_increment": 1
  },
  {
    "id": "teleport_summon_monster",
    "type": "SPELL",
    "name": "[Ψ]Breach Monster",
    "description": "Summons Nether creatures when the target dies.  It's a bug if you have it.",
    "message": "The air nearby fractures and something comes through!",
    "valid_targets": [ "self", "ally", "hostile", "ground" ],
    "flags": [
      "RANDOM_DAMAGE",
      "RANDOM_AOE",
      "SPAWN_GROUP",
      "PERMANENT",
      "HOSTILE_SUMMON",
      "SPAWN_WITH_DEATH_DROPS",
      "NO_EXPLOSION_SFX"
    ],
    "effect": "summon",
    "effect_str": "GROUP_NETHER_BREACH",
    "shape": "blast",
    "max_level": 10,
    "min_damage": 1,
    "max_damage": 3,
    "min_range": 3,
    "min_aoe": 2,
    "max_aoe": 6,
    "min_duration": 9999999999999999999
  },
  {
    "id": "delete_nullifying_fields_monster",
    "type": "SPELL",
    "name": "[Ψ]Delete Nullifying Fields Monster",
    "description": "This cleans up the nullifying fields after a zombie null dies.  It's a bug if you have it.",
    "valid_targets": [ "ground" ],
    "flags": [ "SILENT", "NO_EXPLOSION_SFX", "IGNORE_WALLS" ],
    "effect": "ter_transform",
    "effect_str": "ter_null_zombie_delete_fields",
    "shape": "blast",
    "max_level": 1,
    "min_aoe": 12,
    "max_aoe": 12
  }
]
