[
  {
    "id": "death_blindness",
    "type": "SPELL",
    "name": { "str": "Death Blinding", "//~": "NO_I18N" },
    "description": { "str": "Blinding flash on death.", "//~": "NO_I18N" },
    "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", "//~": "NO_I18N" },
    "valid_targets": [ "ally", "ground", "hostile" ],
    "description": { "str": "1/4 chance to release a blinding flash.", "//~": "NO_I18N" },
    "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", "//~": "NO_I18N" },
    "valid_targets": [ "ally", "ground", "hostile" ],
    "description": { "str": "1/2 chance to release a blinding flash.", "//~": "NO_I18N" },
    "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", "//~": "NO_I18N" },
    "valid_targets": [ "ally", "ground", "hostile" ],
    "description": { "str": "1/4 chance to burst into flames.", "//~": "NO_I18N" },
    "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", "//~": "NO_I18N" },
    "valid_targets": [ "ally", "ground", "hostile" ],
    "description": { "str": "1/2 chance to burst into flames.", "//~": "NO_I18N" },
    "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", "//~": "NO_I18N" },
    "valid_targets": [ "ally", "ground", "hostile" ],
    "description": { "str": "1/5 chance to knock targets down.", "//~": "NO_I18N" },
    "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", "//~": "NO_I18N" },
    "valid_targets": [ "ally", "ground", "hostile" ],
    "description": { "str": "1/3 chance to knock targets down.", "//~": "NO_I18N" },
    "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", "//~": "NO_I18N" },
    "valid_targets": [ "ally", "ground", "hostile" ],
    "description": { "str": "Knocks everyone near the feral telekinetic down.", "//~": "NO_I18N" },
    "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", "//~": "NO_I18N" },
    "valid_targets": [ "ally", "ground", "hostile" ],
    "description": { "str": "Possibly stuns and blinds if the player is near the telepath when they die.", "//~": "NO_I18N" },
    "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": { "str": "[Ψ]Breach Monster", "//~": "NO_I18N" },
    "description": { "str": "Summons Nether creatures when the target dies.  It's a bug if you have it.", "//~": "NO_I18N" },
    "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": { "str": "[Ψ]Delete Nullifying Fields Monster", "//~": "NO_I18N" },
    "description": {
      "str": "This cleans up the nullifying fields after a zombie null dies.  It's a bug if you have it.",
      "//~": "NO_I18N"
    },
    "valid_targets": [ "ground", "hostile", "ally", "self" ],
    "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
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_VITAKIN3_DEATH_EFFECT",
    "effect": [
      { "npc_location_variable": { "context_val": "spawn_place" }, "min_radius": 0 },
      { "npc_spawn_monster": "mon_feral_human_vita3_revived", "real_count": 1, "min_radius": 0, "max_radius": 0 },
      { "run_eocs": "EOC_VITAKIN3_DEATH_EFFECT_2", "alpha_loc": { "context_val": "spawn_place" } }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_VITAKIN3_DEATH_EFFECT_2",
    "effect": [
      { "math": [ "u_hp('ALL') = 25" ] },
      { "u_add_effect": "effect_feral_regeneration", "duration": [ "15 seconds", "30 seconds" ] }
    ]
  }
]
