[
  {
    "type": "SPELL",
    "id": "AEA_ADRENALINE",
    "name": { "str": "Artifact Adrenaline" },
    "description": "Causes a surge of adrenaline to flow throughout your body.",
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "adrenaline",
    "shape": "blast",
    "base_casting_time": 100,
    "flags": [ "RANDOM_DURATION", "NO_PROJECTILE", "NO_EXPLOSION_SFX" ],
    "//": "duration is randomly selected from the below values",
    "min_duration": 120000,
    "max_duration": 150000,
    "message": "You're filled with a roaring energy!"
  },
  {
    "type": "SPELL",
    "id": "AEA_BLOOD",
    "name": { "str": "Artifact Blood" },
    "description": "Causes blood to leak from nearby terrain.",
    "valid_targets": [ "ground", "self", "hostile", "ally" ],
    "effect": "attack",
    "flags": [ "NO_PROJECTILE", "NO_EXPLOSION_SFX" ],
    "shape": "blast",
    "base_casting_time": 100,
    "min_aoe": 4,
    "max_aoe": 4,
    "field_id": "fd_blood",
    "field_chance": 4,
    "min_field_intensity": 3,
    "max_field_intensity": 3,
    "message": "Blood soaks out of the ground and walls."
  },
  {
    "type": "SPELL",
    "id": "AEA_HEAL",
    "name": { "str": "Artifact Heal" },
    "description": "Will heal injuries all over your body.",
    "valid_targets": [ "self" ],
    "effect": "attack",
    "flags": [ "NO_PROJECTILE", "NO_EXPLOSION_SFX" ],
    "shape": "blast",
    "base_casting_time": 100,
    "min_damage": -2,
    "max_damage": -2,
    "message": "You feel healed."
  },
  {
    "type": "SPELL",
    "id": "AEA_CONFUSED",
    "name": { "str": "Artifact Confused" },
    "description": "Causes nearby enemies to become confused.",
    "valid_targets": [ "hostile" ],
    "effect": "attack",
    "effect_str": "stunned",
    "shape": "blast",
    "base_casting_time": 100,
    "min_aoe": 8,
    "max_aoe": 8,
    "flags": [ "RANDOM_DURATION", "NO_PROJECTILE", "NO_EXPLOSION_SFX" ],
    "//": "duration is randomly selected from the below values",
    "min_duration": 500,
    "max_duration": 1500
  },
  {
    "type": "SPELL",
    "id": "AEA_PAIN",
    "name": { "str": "Artifact Pain" },
    "description": "Owchie, that hurts.",
    "valid_targets": [ "self" ],
    "effect": "recover_energy",
    "effect_str": "PAIN",
    "shape": "blast",
    "base_casting_time": 100,
    "flags": [ "RANDOM_DAMAGE", "NO_EXPLOSION_SFX" ],
    "//": "Damage is randomly selected from the below values",
    "min_damage": -5,
    "max_damage": -15,
    "message": "You're wracked with pain!"
  },
  {
    "type": "SPELL",
    "id": "AEA_TELEPORT",
    "name": { "str": "Artifact Teleport" },
    "description": "Randomly teleports you a short distance.",
    "effect": "short_range_teleport",
    "shape": "blast",
    "valid_targets": [ "self" ],
    "flags": [ "NO_HANDS", "SILENT", "NO_LEGS", "UNSAFE_TELEPORT", "NO_EXPLOSION_SFX" ],
    "min_range": 2,
    "max_range": 12,
    "message": "You teleport!"
  },
  {
    "type": "SPELL",
    "id": "AEA_ATTENTION",
    "name": { "str": "Artifact Attention" },
    "description": "You're not quite sure what you did, but something is watching you for it.",
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "attention",
    "shape": "blast",
    "base_casting_time": 100,
    "flags": [ "RANDOM_DURATION", "NO_PROJECTILE", "NO_EXPLOSION_SFX" ],
    "//": "duration is randomly selected from the below values",
    "min_duration": 360000,
    "max_duration": 1080000,
    "message": "You feel like your action has attracted attention."
  },
  {
    "type": "SPELL",
    "id": "AEA_TELEGLOW",
    "name": { "str": "Artifact Teleglow" },
    "description": "DO YOU HEAR THE VOICES TOO?",
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "teleglow",
    "shape": "blast",
    "base_casting_time": 100,
    "flags": [ "RANDOM_DURATION", "NO_PROJECTILE", "NO_EXPLOSION_SFX" ],
    "//": "duration is randomly selected from the below values",
    "min_duration": 180000,
    "max_duration": 720000,
    "message": "You feel unhinged."
  },
  {
    "type": "SPELL",
    "id": "AEA_VOMIT",
    "name": { "str": "Artifact Vomit" },
    "description": "Causes the caster to vomit.",
    "valid_targets": [ "self" ],
    "effect": "vomit",
    "shape": "blast",
    "flags": [ "NO_EXPLOSION_SFX" ],
    "base_casting_time": 100,
    "message": "A wave of nausea passes through you!"
  },
  {
    "type": "SPELL",
    "id": "AEA_SHADOWS",
    "name": { "str": "Artifact Shadows" },
    "description": "Summons shadows.",
    "valid_targets": [ "ground" ],
    "effect": "summon",
    "effect_str": "mon_shadow",
    "shape": "blast",
    "base_casting_time": 100,
    "message": "Shadows form around you.",
    "min_damage": 4,
    "max_damage": 8,
    "min_aoe": 5,
    "max_aoe": 5,
    "//": "duration is only because the shadow needs to disappear upon death",
    "min_duration": 8640000,
    "max_duration": 8640000,
    "flags": [ "RANDOM_DAMAGE", "HOSTILE_SUMMON", "NO_EXPLOSION_SFX" ]
  },
  {
    "type": "SPELL",
    "id": "AEA_STAMINA_EMPTY",
    "name": { "str": "Artifact Stamina Empty" },
    "description": "Does a variable amount of stamina damage.",
    "min_damage": -1500,
    "max_damage": -5500,
    "base_casting_time": 100,
    "valid_targets": [ "self" ],
    "flags": [ "RANDOM_DAMAGE", "NO_EXPLOSION_SFX" ],
    "message": "Your body feels like jelly.",
    "shape": "blast",
    "effect": "recover_energy",
    "effect_str": "STAMINA"
  },
  {
    "type": "SPELL",
    "id": "AEA_RADIATION",
    "name": { "str": "Artifact Radiation" },
    "description": "Causes radiation.",
    "message": "Horrible gases are emitted!",
    "valid_targets": [ "self", "ground" ],
    "effect": "attack",
    "flags": [ "NO_PROJECTILE", "NO_EXPLOSION_SFX" ],
    "shape": "blast",
    "field_id": "fd_nuke_gas",
    "min_aoe": 2,
    "max_aoe": 2,
    "min_field_intensity": 2,
    "max_field_intensity": 2,
    "field_chance": 1
  },
  {
    "type": "SPELL",
    "id": "AEA_HURTALL",
    "name": { "str": "Artifact Hurtall" },
    "description": "Hurts all monsters within your view distance.",
    "message": "",
    "min_damage": 0,
    "max_damage": 5,
    "min_aoe": 40,
    "max_aoe": 40,
    "damage_type": "pure",
    "valid_targets": [ "hostile" ],
    "flags": [ "RANDOM_DAMAGE", "IGNORE_WALLS", "NO_PROJECTILE", "NO_EXPLOSION_SFX" ],
    "shape": "blast",
    "effect": "attack"
  },
  {
    "type": "SPELL",
    "id": "AEA_ACIDBALL",
    "name": { "str": "Artifact Acidball" },
    "description": "Fires an acidball.",
    "effect": "attack",
    "shape": "blast",
    "message": "",
    "min_range": 40,
    "max_range": 40,
    "min_aoe": 1,
    "max_aoe": 1,
    "damage_type": "acid",
    "field_id": "fd_acid",
    "min_field_intensity": 2,
    "max_field_intensity": 2,
    "valid_targets": [ "self", "hostile", "ally", "ground" ],
    "flags": [ "IGNORE_WALLS", "NO_PROJECTILE", "NO_EXPLOSION_SFX" ],
    "field_chance": 1
  },
  {
    "type": "SPELL",
    "id": "art_eff_pet",
    "name": { "str": "Pet" },
    "description": "Makes the target a pet.",
    "valid_targets": [ "ally", "hostile" ],
    "effect": "attack",
    "effect_str": "pet",
    "shape": "blast",
    "flags": [ "NO_PROJECTILE", "NO_EXPLOSION_SFX" ],
    "min_aoe": 2,
    "max_aoe": 2,
    "min_duration": 100,
    "max_duration": 100
  },
  {
    "type": "SPELL",
    "id": "art_flies_buzz",
    "name": { "str": "Artifact Flies Buzz" },
    "description": "Flies buzz around you.",
    "valid_targets": [ "self", "ground" ],
    "message": "Flies buzz around you.",
    "flags": [ "NO_PROJECTILE", "NO_EXPLOSION_SFX" ],
    "shape": "blast",
    "effect": "attack"
  },
  {
    "type": "SPELL",
    "id": "art_summon_flies",
    "name": { "str": "Artifact Summon Flies" },
    "description": "Summons some flies.",
    "valid_targets": [ "ground" ],
    "message": "Giant flies appear!",
    "effect": "summon",
    "effect_str": "mon_fly",
    "shape": "blast",
    "min_damage": 2,
    "max_damage": 4,
    "min_aoe": 2,
    "max_aoe": 2,
    "extra_effects": [ { "id": "art_eff_pet" } ],
    "flags": [ "RANDOM_DAMAGE", "PERMANENT", "NO_EXPLOSION_SFX" ]
  },
  {
    "type": "SPELL",
    "id": "art_summon_bees",
    "name": { "str": "Artifact Summon Bees" },
    "description": "Giant bees appear!",
    "valid_targets": [ "ground" ],
    "message": "Giant bees appear!",
    "effect": "summon",
    "effect_str": "mon_bee",
    "shape": "blast",
    "min_damage": 1,
    "max_damage": 3,
    "min_aoe": 2,
    "max_aoe": 2,
    "extra_effects": [ { "id": "art_eff_pet" } ],
    "flags": [ "RANDOM_DAMAGE", "PERMANENT", "NO_EXPLOSION_SFX" ]
  },
  {
    "type": "SPELL",
    "id": "art_summon_wasps",
    "name": { "str": "Artifact Summon Wasps" },
    "description": "Summons some wasps.",
    "valid_targets": [ "ground" ],
    "min_damage": 1,
    "max_damage": 2,
    "flags": [ "RANDOM_DAMAGE", "PERMANENT", "NO_EXPLOSION_SFX" ],
    "effect": "summon",
    "effect_str": "mon_wasp",
    "shape": "blast",
    "min_aoe": 2,
    "max_aoe": 2,
    "extra_effects": [ { "id": "art_eff_pet" } ],
    "message": "Giant wasps appear!"
  },
  {
    "type": "SPELL",
    "id": "AEA_BUGS",
    "name": { "str": "Artifact Bugs" },
    "description": "Summons some bugs.",
    "valid_targets": [ "ground", "self" ],
    "effect": "none",
    "shape": "blast",
    "//": "This is a shell for the spell that actually gets cast.",
    "base_casting_time": 100,
    "flags": [ "WONDER", "NO_EXPLOSION_SFX" ],
    "min_damage": 1,
    "max_damage": 1,
    "message": "",
    "extra_effects": [
      { "id": "art_flies_buzz" },
      { "id": "art_flies_buzz" },
      { "id": "art_flies_buzz" },
      { "id": "art_flies_buzz" },
      { "id": "art_summon_flies" },
      { "id": "art_summon_flies" },
      { "id": "art_summon_flies" },
      { "id": "art_summon_bees" },
      { "id": "art_summon_bees" },
      { "id": "art_summon_wasps" }
    ]
  },
  {
    "type": "SPELL",
    "id": "AEA_NOISE",
    "name": { "str": "Artifact Noise" },
    "description": "Makes a noise at your location.",
    "message": "You hear a deafening boom from your location!",
    "sound_description": "a deafening boom",
    "sound_type": "combat",
    "sound_ambient": true,
    "sound_id": "misc",
    "sound_variant": "shockwave",
    "flags": [ "NO_EXPLOSION_SFX" ],
    "min_damage": 100,
    "max_damage": 100,
    "valid_targets": [ "self" ],
    "shape": "blast",
    "effect": "noise"
  },
  {
    "type": "SPELL",
    "id": "AEA_LIGHT",
    "name": { "str": "Artifact Light" },
    "description": "Makes some light.",
    "valid_targets": [ "self" ],
    "effect": "timed_event",
    "effect_str": "artifact_light",
    "shape": "blast",
    "flags": [ "NO_EXPLOSION_SFX" ],
    "base_casting_time": 100,
    "min_duration": 18000,
    "max_duration": 18000,
    "message": "You glow brightly!"
  },
  {
    "type": "SPELL",
    "id": "AEA_DIM",
    "name": { "str": "Artifact Dim" },
    "description": "Darkens the sky.",
    "valid_targets": [ "self" ],
    "effect": "timed_event",
    "effect_str": "dim",
    "shape": "blast",
    "flags": [ "NO_EXPLOSION_SFX" ],
    "min_duration": 30000,
    "max_duration": 30000,
    "message": "The sky starts to dim."
  },
  {
    "type": "SPELL",
    "id": "AEA_FATIGUE",
    "name": { "str": "Artifact Dimensional Fatigue" },
    "description": "Creates some dimensional fatigue at a random point within range.",
    "valid_targets": [ "ground", "self", "ally", "hostile" ],
    "effect": "attack",
    "shape": "blast",
    "field_id": "fd_fatigue",
    "field_chance": 1,
    "min_field_intensity": 2,
    "max_field_intensity": 2,
    "field_intensity_variance": 0.5,
    "min_range": 3,
    "max_range": 3,
    "flags": [ "RANDOM_TARGET", "NO_PROJECTILE", "NO_EXPLOSION_SFX" ]
  },
  {
    "type": "SPELL",
    "id": "AEA_FIREBALL",
    "name": { "str": "Artifact Fireball" },
    "description": "Causes an explosion at the target.",
    "valid_targets": [ "hostile", "ground", "ally" ],
    "effect": "explosion",
    "shape": "blast",
    "base_casting_time": 100,
    "min_damage": 180,
    "max_damage": 180,
    "min_aoe": 5,
    "max_aoe": 5,
    "message": "",
    "min_range": 40,
    "max_range": 40
  },
  {
    "type": "SPELL",
    "id": "AEA_FLASH",
    "name": { "str": "Artifact Flash" },
    "description": "Causes a flashbang at the target.",
    "valid_targets": [ "hostile", "ground", "self" ],
    "effect": "flashbang",
    "shape": "blast",
    "base_casting_time": 100,
    "message": "",
    "min_range": 40,
    "max_range": 40
  },
  {
    "type": "SPELL",
    "id": "AEA_PARALYZE",
    "name": { "str": "Artifact Paralyze" },
    "description": "Paralyzes you for a second or two.",
    "message": "You're paralyzed!",
    "valid_targets": [ "self" ],
    "min_damage": -50,
    "max_damage": -200,
    "effect": "mod_moves",
    "shape": "blast",
    "flags": [ "RANDOM_DAMAGE", "SILENT", "NO_EXPLOSION_SFX" ]
  },
  {
    "type": "SPELL",
    "id": "AEA_MAP",
    "effect": "map",
    "shape": "blast",
    "name": { "str": "Artifact Map" },
    "description": "Reveals an area around you on the overmap.",
    "valid_targets": [ "self" ],
    "flags": [ "NO_EXPLOSION_SFX" ],
    "min_aoe": 20,
    "max_aoe": 20,
    "message": "You have a vision of the surrounding area…",
    "base_casting_time": 100
  },
  {
    "type": "SPELL",
    "id": "AEA_FIRESTORM",
    "name": { "str": "Artifact Firestorm" },
    "description": "Calls a firestorm around you.",
    "effect": "attack",
    "shape": "blast",
    "valid_targets": [ "ground", "self", "ally", "hostile" ],
    "min_aoe": 3,
    "max_aoe": 3,
    "message": "Fire rains down around you!",
    "field_id": "fd_fire",
    "field_chance": 2,
    "field_intensity_variance": 0.6,
    "min_field_intensity": 2,
    "max_field_intensity": 2,
    "min_duration": 18000,
    "max_duration": 18000,
    "flags": [ "LOUD", "NO_PROJECTILE" ]
  },
  {
    "type": "SPELL",
    "id": "AEA_FUN",
    "name": { "str": "Artifact Fun" },
    "description": "Makes you feel pretty good.",
    "effect": "morale",
    "effect_str": "morale_feeling_good",
    "shape": "blast",
    "message": "You're filled with euphoria!",
    "min_damage": 20,
    "max_damage": 50,
    "valid_targets": [ "self" ],
    "min_duration": 30000,
    "max_duration": 30000,
    "flags": [ "RANDOM_DAMAGE", "SILENT", "NO_EXPLOSION_SFX" ]
  },
  {
    "type": "SPELL",
    "id": "AEA_MUTATE",
    "name": { "str": "Artifact Mutate" },
    "description": "Mutates you randomly.",
    "effect": "mutate",
    "shape": "blast",
    "message": "",
    "//": "33.33% chance, or 1/3",
    "min_damage": 3333,
    "max_damage": 3333,
    "flags": [ "VERBAL", "SILENT", "NO_EXPLOSION_SFX" ],
    "valid_targets": [ "self" ]
  },
  {
    "type": "SPELL",
    "id": "AEA_STORM_bolt",
    "name": { "str": "Bolt" },
    "description": "One of the bolts thrown by Artifact Storm.",
    "effect": "attack",
    "shape": "line",
    "valid_targets": [ "ground", "hostile", "ally" ],
    "sound_ambient": true,
    "sound_description": "Ka-BOOM!",
    "sound_id": "thunder_near",
    "sound_variant": "environment",
    "message": "",
    "field_id": "fd_electricity",
    "field_chance": 1,
    "field_intensity_variance": 0.5,
    "min_field_intensity": 2,
    "max_field_intensity": 2,
    "min_range": 12,
    "max_range": 12,
    "min_aoe": 2,
    "max_aoe": 2,
    "flags": [ "RANDOM_TARGET", "NO_EXPLOSION_SFX" ]
  },
  {
    "type": "SPELL",
    "id": "AEA_STORM",
    "name": { "str": "Artifact Storm" },
    "description": "Calls down a storm near you.",
    "valid_targets": [ "self" ],
    "message": "",
    "effect": "attack",
    "shape": "blast",
    "min_damage": 2,
    "max_damage": 4,
    "flags": [ "WONDER", "RANDOM_DAMAGE", "NO_PROJECTILE", "NO_EXPLOSION_SFX" ],
    "extra_effects": [ { "id": "AEA_STORM_bolt" } ]
  },
  {
    "type": "SPELL",
    "id": "AEA_SCREAM_morale",
    "name": { "str": "Morale Scream" },
    "description": "Morale effect from Artifact Scream.",
    "effect": "morale",
    "effect_str": "morale_scream",
    "shape": "blast",
    "valid_targets": [ "self" ],
    "flags": [ "NO_EXPLOSION_SFX" ],
    "min_damage": -10,
    "max_damage": -10,
    "min_duration": 180000,
    "max_duration": 180000
  },
  {
    "type": "SPELL",
    "id": "AEA_ENTRANCE",
    "name": { "str": "Artifact Entrance" },
    "description": "Entrances surrounding monsters.",
    "effect": "charm_monster",
    "shape": "blast",
    "message": "",
    "min_damage": 0,
    "max_damage": 600,
    "min_duration": 500,
    "max_duration": 5000,
    "min_aoe": 8,
    "max_aoe": 8,
    "valid_targets": [ "self", "hostile" ],
    "flags": [ "RANDOM_DAMAGE", "RANDOM_DURATION", "NO_EXPLOSION_SFX" ]
  },
  {
    "type": "SPELL",
    "id": "AEA_SCREAM",
    "name": { "str": "Artifact Scream" },
    "description": "An ethereal scream.",
    "message": "",
    "effect": "noise",
    "shape": "blast",
    "sound_ambient": true,
    "sound_id": "shout",
    "sound_description": "an ethereal scream",
    "sound_type": "alert",
    "sound_variant": "scream",
    "flags": [ "NO_EXPLOSION_SFX" ],
    "min_damage": 40,
    "max_damage": 40,
    "valid_targets": [ "self" ],
    "extra_effects": [ { "id": "AEA_SCREAM_morale" } ]
  },
  {
    "type": "SPELL",
    "id": "AEA_PULSE_bash_terrain",
    "name": { "str": "Bash Terrain" },
    "description": "Damages the terrain.",
    "valid_targets": [ "self", "ally", "hostile", "ground" ],
    "effect": "bash",
    "shape": "blast",
    "flags": [ "NO_EXPLOSION_SFX" ],
    "min_damage": 40,
    "max_damage": 40,
    "min_aoe": 2,
    "max_aoe": 2
  },
  {
    "type": "SPELL",
    "id": "AEA_PULSE",
    "name": { "str": "Artifact Pulse" },
    "description": "Damages the terrain.",
    "message": "",
    "sound_description": "The earth shakes!",
    "sound_id": "misc",
    "sound_variant": "earthquake",
    "sound_ambient": true,
    "sound_type": "combat",
    "valid_targets": [ "self" ],
    "flags": [ "NO_EXPLOSION_SFX" ],
    "min_damage": 30,
    "max_damage": 30,
    "effect": "noise",
    "shape": "blast",
    "extra_effects": [ { "id": "AEA_PULSE_bash_terrain" }, { "id": "AEA_PULSE_bash_terrain" }, { "id": "AEA_PULSE_bash_terrain" } ]
  }
]
