[
  {
    "id": "twisted_restore",
    "type": "SPELL",
    "name": { "str": "Twisted Restoration", "//~": "NO_I18N" },
    "//": "Used for potion of Twisted Restoration, not castable",
    "description": {
      "str": "This spell overclocks your heart, generating new flesh and muscle.  It is unwise to use this in immediate danger, and may be fatal if done in critical condition.",
      "//~": "NO_I18N"
    },
    "valid_targets": [ "self" ],
    "flags": [ "SILENT", "NO_LEGS", "NO_HANDS", "NO_PROJECTILE" ],
    "max_level": 1,
    "min_damage": 10,
    "max_damage": 10,
    "damage_increment": 0,
    "damage_type": "poison",
    "difficulty": 0,
    "spell_class": "NONE",
    "effect": "attack",
    "shape": "blast",
    "energy_source": "HP",
    "base_casting_time": 30000,
    "base_energy_cost": 2,
    "extra_effects": [
      { "id": "light_healing" },
      { "id": "pain_damage" },
      { "id": "pain_damage" },
      { "id": "stamina_damage" },
      { "id": "stamina_damage" },
      { "id": "stamina_damage" }
    ]
  },
  {
    "id": "twisted_restore_improved",
    "type": "SPELL",
    "name": { "str": "Improved Twisted Restoration", "//~": "NO_I18N" },
    "//": "Used for Animist-exclusive potion, not castable",
    "description": {
      "str": "This spell overclocks your heart, generating new flesh and muscle.  It is unwise to use this in immediate danger, and may be fatal if done in critical condition.  Improved brewing mitigates the strain of the spell.",
      "//~": "NO_I18N"
    },
    "valid_targets": [ "self" ],
    "flags": [ "SILENT", "NO_LEGS", "NO_HANDS", "NO_PROJECTILE" ],
    "max_level": 1,
    "min_damage": 8,
    "max_damage": 8,
    "damage_increment": 0,
    "damage_type": "poison",
    "difficulty": 0,
    "spell_class": "NONE",
    "effect": "attack",
    "shape": "blast",
    "energy_source": "HP",
    "base_casting_time": 12000,
    "base_energy_cost": 2,
    "extra_effects": [ { "id": "light_healing" }, { "id": "pain_damage" }, { "id": "stamina_damage" }, { "id": "stamina_damage" } ]
  },
  {
    "id": "conj_throwing_blade3",
    "type": "SPELL",
    "name": { "str": "Conjure Throwing Blade I", "//~": "NO_I18N" },
    "description": { "str": "Conjures 3 throwing knives.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "spawn_item",
    "effect_str": "throwing_knife",
    "shape": "blast",
    "message": "You activate your ring and three throwing knives appear, ready to throw!",
    "spell_class": "NONE",
    "max_level": 1,
    "min_damage": 3,
    "max_damage": 3,
    "min_duration": 1500,
    "max_duration": 1500,
    "base_casting_time": 20
  },
  {
    "id": "conj_mag_throw_blade_group",
    "type": "SPELL",
    "name": { "str": "Conjure Random Magical Throwing Blade", "//~": "NO_I18N" },
    "description": { "str": "Conjures a magical throwing knife, one of the spells specified in extra effects.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "flags": [ "WONDER" ],
    "effect": "none",
    "message": "",
    "shape": "blast",
    "spell_class": "NONE",
    "min_damage": 1,
    "max_damage": 1,
    "base_casting_time": 30,
    "extra_effects": [
      { "id": "conj_mag_throw_blade_1" },
      { "id": "conj_mag_throw_blade_1" },
      { "id": "conj_mag_throw_blade_1" },
      { "id": "conj_mag_throw_blade_1" },
      { "id": "conj_mag_throw_blade_fire" },
      { "id": "conj_mag_throw_blade_fire" },
      { "id": "conj_mag_throw_blade_cold" },
      { "id": "conj_mag_throw_blade_cold" },
      { "id": "conj_mag_throw_blade_cut" },
      { "id": "conj_mag_throw_blade_cut" },
      { "id": "conj_mag_throw_blade_biological" },
      { "id": "conj_mag_throw_blade_biological" },
      { "id": "magical_throwing_knife_pure_special" }
    ]
  },
  {
    "id": "conj_mag_throw_blade_1",
    "type": "SPELL",
    "name": { "str": "Conjure Magical Throwing Blade I", "//~": "NO_I18N" },
    "description": { "str": "Conjures 1 magical throwing knife.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "spawn_item",
    "effect_str": "magical_throwing_knife",
    "shape": "blast",
    "message": "You activate your bag and a throwing knife appears, ready to throw!",
    "min_damage": 1,
    "max_damage": 1,
    "min_duration": 700,
    "max_duration": 700
  },
  {
    "id": "conj_mag_throw_blade_fire",
    "type": "SPELL",
    "name": { "str": "Conjure Magical Throwing Blade Fire", "//~": "NO_I18N" },
    "description": { "str": "Conjures 1 magical throwing knife.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "spawn_item",
    "effect_str": "magical_throwing_knife_fire",
    "shape": "blast",
    "message": "You activate your bag and a throwing knife wrapped in ethereal flames appears, ready to throw!",
    "min_damage": 1,
    "max_damage": 1,
    "min_duration": 700,
    "max_duration": 700
  },
  {
    "id": "conj_mag_throw_blade_cold",
    "type": "SPELL",
    "name": { "str": "Conjure Magical Throwing Blade Cold", "//~": "NO_I18N" },
    "description": { "str": "Conjures 1 magical throwing knife.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "spawn_item",
    "effect_str": "magical_throwing_knife_cold",
    "shape": "blast",
    "message": "You activate your bag and a throwing knife emanating cold appears, ready to throw!",
    "min_damage": 1,
    "max_damage": 1,
    "min_duration": 700,
    "max_duration": 700
  },
  {
    "id": "conj_mag_throw_blade_cut",
    "type": "SPELL",
    "name": { "str": "Conjure Magical Throwing Blade Cut", "//~": "NO_I18N" },
    "description": { "str": "Conjures 1 magical throwing knife.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "spawn_item",
    "effect_str": "magical_throwing_knife_cut",
    "shape": "blast",
    "message": "You activate your bag and a throwing knife with unnaturally sharp edges appears, ready to throw!",
    "min_damage": 1,
    "max_damage": 1,
    "min_duration": 700,
    "max_duration": 700
  },
  {
    "id": "conj_mag_throw_blade_biological",
    "type": "SPELL",
    "name": { "str": "Conjure Magical Throwing Blade Biological", "//~": "NO_I18N" },
    "description": { "str": "Conjures 1 magical throwing knife.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "spawn_item",
    "effect_str": "magical_throwing_knife_biological",
    "shape": "blast",
    "message": "You activate your bag and a throwing knife covered in dark ooze appears, ready to throw!",
    "min_damage": 1,
    "max_damage": 1,
    "min_duration": 700,
    "max_duration": 700
  },
  {
    "id": "magical_throwing_knife_pure_special",
    "type": "SPELL",
    "name": { "str": "Conjure Magical Throwing Blade Pure", "//~": "NO_I18N" },
    "description": { "str": "Conjures 1 magical throwing knife.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "spawn_item",
    "effect_str": "magical_throwing_knife_pure_special",
    "shape": "blast",
    "message": "You activate your bag and with a flash magical energies coalescence in your hand into a shape of knife.  It seems vastly more powerful than other knives that appear from the bag!",
    "min_damage": 1,
    "max_damage": 1,
    "min_duration": 900000,
    "max_duration": 900000
  },
  {
    "id": "potion_recover_mana",
    "type": "SPELL",
    "name": { "str": "Recover Mana", "//~": "NO_I18N" },
    "description": { "str": "You regain mana.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "min_damage": 250,
    "damage_increment": 50.0,
    "max_damage": 2000,
    "max_level": 35,
    "effect": "recover_energy",
    "effect_str": "MANA",
    "shape": "blast",
    "spell_class": "NONE",
    "message": "You start regenerating mana!",
    "energy_source": "MANA",
    "base_energy_cost": 0,
    "energy_increment": 0,
    "final_energy_cost": 0,
    "flags": [ "SILENT", "NO_LEGS" ],
    "difficulty": 3
  },
  {
    "id": "mana_doping",
    "type": "SPELL",
    "name": { "str": "Pain", "//~": "NO_I18N" },
    "description": { "str": "Increases pain.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "flags": [ "SILENT", "NO_LEGS", "NO_HANDS" ],
    "//": "Listed as a recover energy effect with a negative modifier that decreases with each level of the spell, which makes it cause damage instead.",
    "min_damage": -25,
    "max_damage": -225,
    "damage_increment": -50.0,
    "max_level": 10,
    "effect": "recover_energy",
    "effect_str": "PAIN",
    "shape": "blast",
    "spell_class": "NONE",
    "message": "Your veins feel like they are on fire!\nYou start regenerating mana!",
    "extra_effects": [ { "id": "potion_recover_mana" } ]
  },
  {
    "id": "lupercalia",
    "type": "SPELL",
    "name": { "str": "Lupercalian Release", "//~": "NO_I18N" },
    "//": "Used for wolfshead cufflinks not castable",
    "description": { "str": "This spell transforms you into a werewolf.  There may be some cons to this.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "flags": [ "SILENT", "NO_LEGS", "NO_HANDS" ],
    "effect": "spawn_item",
    "effect_str": "aura_werewolf",
    "shape": "blast",
    "max_level": 1,
    "min_damage": 1,
    "max_damage": 1,
    "damage_increment": 0,
    "damage_type": "biological",
    "difficulty": 0,
    "spell_class": "NONE",
    "base_casting_time": 300,
    "base_energy_cost": 2,
    "min_duration": 4320000,
    "max_duration": 4320000
  },
  {
    "id": "wolfsbane",
    "type": "SPELL",
    "name": { "str": "Wolfsbane", "//~": "NO_I18N" },
    "description": { "str": "The tip of the spear glows white hot as you strike.", "//~": "NO_I18N" },
    "valid_targets": [ "hostile" ],
    "flags": [ "NO_HANDS", "NO_LEGS" ],
    "damage_type": "heat",
    "min_damage": 35,
    "min_range": 2,
    "shape": "blast",
    "effect": "attack"
  },
  {
    "id": "mana_bolt_random",
    "type": "SPELL",
    "name": { "str": "Mana Bolt", "//~": "NO_I18N" },
    "description": { "str": "Semi controlled mana rocket.", "//~": "NO_I18N" },
    "valid_targets": [ "hostile" ],
    "flags": [ "RANDOM_TARGET", "RANDOM_DAMAGE", "SILENT" ],
    "effect": "attack",
    "shape": "blast",
    "min_damage": 60,
    "max_damage": 90,
    "damage_type": "nether",
    "min_range": 7,
    "max_range": 7
  },
  {
    "id": "missile_volley",
    "type": "SPELL",
    "name": { "str": "Missile volley", "//~": "NO_I18N" },
    "description": { "str": "Cast a swarm of mana bolts in random directions.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "flags": [ "WONDER" ],
    "effect": "attack",
    "shape": "blast",
    "min_damage": 25,
    "max_damage": 25,
    "min_range": 0,
    "max_range": 0,
    "extra_effects": [ { "id": "mana_bolt_random" } ],
    "energy_source": "MANA"
  },
  {
    "id": "gorgon_spell",
    "type": "SPELL",
    "name": { "str": "Petrification", "//~": "NO_I18N" },
    "description": { "str": "Freeze!", "//~": "NO_I18N" },
    "valid_targets": [ "hostile", "ground" ],
    "flags": [ "NO_PROJECTILE", "IGNORE_WALLS" ],
    "effect": "mod_moves",
    "shape": "cone",
    "min_damage": -2200,
    "max_damage": -2200,
    "min_range": 9,
    "max_range": 9,
    "min_aoe": 120,
    "max_aoe": 120
  },
  {
    "id": "disorient_spell",
    "type": "SPELL",
    "name": { "str": "Disorientation", "//~": "NO_I18N" },
    "description": { "str": "Mental sledgehammer strike.", "//~": "NO_I18N" },
    "valid_targets": [ "hostile", "ground" ],
    "flags": [ "NO_PROJECTILE", "IGNORE_WALLS" ],
    "effect": "attack",
    "shape": "cone",
    "effect_str": "stunned",
    "damage_type": "psionic",
    "min_range": 6,
    "max_range": 6,
    "min_aoe": 120,
    "max_aoe": 120,
    "min_duration": 1500,
    "max_duration": 1500
  },
  {
    "id": "super_hot_spell",
    "type": "SPELL",
    "name": { "str": "Propulsion", "//~": "NO_I18N" },
    "description": { "str": "Yep, you are fast.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "flags": [ "NO_LEGS", "LOUD", "SOMATIC" ],
    "effect": "mod_moves",
    "shape": "blast",
    "min_damage": 2400,
    "max_damage": 2400
  },
  {
    "id": "flask_clairvoyance",
    "type": "SPELL",
    "name": { "str": "Omniscientia", "//~": "NO_I18N" },
    "description": {
      "str": "Connect the user to a few ethereal sensory organs, that allow the user to \"feel\" the territory nearby.",
      "//~": "NO_I18N"
    },
    "valid_targets": [ "hostile", "ground" ],
    "flags": [ "IGNORE_WALLS", "NO_LEGS", "SILENT", "NO_EXPLOSION_SFX" ],
    "effect": "attack",
    "shape": "blast",
    "min_aoe": 30,
    "max_aoe": 30,
    "field_id": "fd_clairvoyant",
    "min_field_intensity": 1,
    "max_field_intensity": 1
  },
  {
    "id": "flask_spear",
    "type": "SPELL",
    "name": { "str": "Lancea", "//~": "NO_I18N" },
    "description": { "str": "Release a long, spear-like line of liquid, which punctures things on the path.", "//~": "NO_I18N" },
    "valid_targets": [ "hostile", "ground" ],
    "flags": [ "NO_LEGS", "SILENT", "RANDOM_DAMAGE" ],
    "min_aoe": 5,
    "max_aoe": 5,
    "effect": "attack",
    "shape": "cone",
    "min_damage": 150,
    "max_damage": 250,
    "damage_type": "stab",
    "min_range": 15,
    "max_range": 15
  },
  {
    "id": "flask_confusion",
    "type": "SPELL",
    "name": { "str": "Turbatio", "//~": "NO_I18N" },
    "description": { "str": "Mental sledgehammer strike.", "//~": "NO_I18N" },
    "valid_targets": [ "hostile", "ground" ],
    "flags": [ "NO_PROJECTILE", "IGNORE_WALLS" ],
    "effect": "attack",
    "shape": "cone",
    "effect_str": "stunned",
    "min_range": 6,
    "max_range": 6,
    "min_aoe": 120,
    "max_aoe": 120,
    "min_duration": 1500,
    "max_duration": 1500
  },
  {
    "id": "flask_teleport_rand",
    "type": "SPELL",
    "name": { "str": "Effugium", "//~": "NO_I18N" },
    "description": { "str": "Teleport the caster to a random point nearby.", "//~": "NO_I18N" },
    "effect": "short_range_teleport",
    "shape": "blast",
    "valid_targets": [ "ground" ],
    "flags": [ "IGNORE_WALLS", "NO_LEGS", "SILENT", "RANDOM_TARGET" ],
    "min_aoe": 3,
    "max_aoe": 3,
    "min_range": 15,
    "max_range": 15
  },
  {
    "id": "flask_teleport",
    "type": "SPELL",
    "name": { "str": "Ecfugium", "//~": "NO_I18N" },
    "description": { "str": "Teleport the caster to a selected point nearby.", "//~": "NO_I18N" },
    "effect": "short_range_teleport",
    "shape": "blast",
    "valid_targets": [ "ground" ],
    "flags": [ "IGNORE_WALLS", "NO_LEGS", "SILENT", "TARGET_TELEPORT" ],
    "min_aoe": 3,
    "max_aoe": 3,
    "min_range": 10,
    "max_range": 10
  },
  {
    "id": "flask_shadow_field",
    "type": "SPELL",
    "name": { "str": "Umbra", "//~": "NO_I18N" },
    "description": { "str": "Shrouds the user in a field of darkness.", "//~": "NO_I18N" },
    "effect": "attack",
    "field_id": "fd_darkness",
    "min_field_intensity": 1,
    "max_field_intensity": 1,
    "shape": "blast",
    "valid_targets": [ "self", "ground" ],
    "min_duration": 36000,
    "max_duration": 36000,
    "min_range": 10,
    "max_range": 10,
    "min_aoe": 3,
    "max_aoe": 3,
    "flags": [ "NO_LEGS", "SOMATIC", "CONCENTRATE" ]
  },
  {
    "id": "flask_fireball",
    "type": "SPELL",
    "name": { "str": "Flamma", "//~": "NO_I18N" },
    "description": { "str": "Molotovs magic equivalent.", "//~": "NO_I18N" },
    "effect": "attack",
    "shape": "blast",
    "valid_targets": [ "self", "ally", "hostile", "ground" ],
    "flags": [ "NO_LEGS", "SILENT", "RANDOM_DAMAGE", "IGNITE_FLAMMABLE", "SPLIT_DAMAGE" ],
    "min_damage": 68,
    "max_damage": 88,
    "min_aoe": 7,
    "max_aoe": 7,
    "min_range": 15,
    "max_range": 15,
    "field_id": "fd_fire",
    "field_chance": 5,
    "min_field_intensity": 1,
    "max_field_intensity": 2,
    "field_intensity_variance": 1,
    "damage_type": "heat"
  },
  {
    "id": "flask_invisibility",
    "type": "SPELL",
    "name": { "str": "Caecitas", "//~": "NO_I18N" },
    "description": { "str": "You are invisible now, and no one can see you.  They still can hear or smell though.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "invisibility",
    "shape": "blast",
    "flags": [ "NO_LEGS", "SILENT" ],
    "min_duration": 36000,
    "max_duration": 36000
  },
  {
    "id": "flask_feather",
    "type": "SPELL",
    "name": { "str": "Pluma", "//~": "NO_I18N" },
    "description": {
      "str": "Allows you to decrease your inertia, which allows you to jump from the skyscraper's roof onto the pavement below, unharmed.",
      "//~": "NO_I18N"
    },
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "feather_fall",
    "shape": "blast",
    "flags": [ "NO_LEGS", "SILENT" ],
    "min_duration": 36000,
    "max_duration": 36000
  },
  {
    "id": "flask_night_vision",
    "type": "SPELL",
    "name": { "str": "Visio", "//~": "NO_I18N" },
    "description": { "str": "Grants you the ability to see in the dark.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "dark_sight",
    "shape": "blast",
    "flags": [ "NO_LEGS", "SILENT" ],
    "min_duration": 36000,
    "max_duration": 36000
  },
  {
    "id": "flask_charm",
    "type": "SPELL",
    "name": { "str": "Venuste", "//~": "NO_I18N" },
    "description": {
      "str": "Make a creature ignore their own thoughts and make them think more positively towards a user, temporarily turning them friendly.",
      "//~": "NO_I18N"
    },
    "valid_targets": [ "hostile" ],
    "flags": [ "NO_LEGS" ],
    "effect": "charm_monster",
    "shape": "blast",
    "min_range": 9,
    "max_range": 9,
    "min_damage": 500,
    "max_damage": 500,
    "//": "now its 500 cause skeletal juggernaut has 480, but not sure isn't it too big?",
    "min_duration": 15000,
    "max_duration": 15000
  },
  {
    "id": "flask_sludge_field",
    "type": "SPELL",
    "name": { "str": "Lutum", "//~": "NO_I18N" },
    "description": { "str": "Cover the ground with a thick, sticky mass.", "//~": "NO_I18N" },
    "effect": "attack",
    "field_id": "fd_sludge",
    "min_field_intensity": 1,
    "max_field_intensity": 3,
    "field_intensity_variance": 2,
    "field_chance": 1,
    "shape": "blast",
    "valid_targets": [ "self", "ally", "hostile", "ground" ],
    "min_duration": 180000,
    "max_duration": 180000,
    "min_range": 10,
    "max_range": 10,
    "min_aoe": 6,
    "max_aoe": 6,
    "flags": [ "NO_LEGS", "SOMATIC", "CONCENTRATE" ]
  },
  {
    "id": "flask_speed",
    "type": "SPELL",
    "name": { "str": "Velocitas", "//~": "NO_I18N" },
    "description": { "str": "Makes you faster for quite some time.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "flask_speed_eff",
    "shape": "blast",
    "flags": [ "NO_LEGS", "SILENT" ],
    "min_duration": 360000,
    "max_duration": 360000
  },
  {
    "id": "flask_healing",
    "type": "SPELL",
    "name": { "str": "Sanatio", "//~": "NO_I18N" },
    "description": { "str": "Makes you feel healthier.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "flask_healing_eff",
    "shape": "blast",
    "flags": [ "NO_LEGS", "SILENT" ],
    "min_duration": 8640000,
    "max_duration": 8640000
  },
  {
    "id": "flask_stamina",
    "type": "SPELL",
    "name": { "str": "Constantia", "//~": "NO_I18N" },
    "description": { "str": "You can't get tired.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "flask_stamina_eff",
    "shape": "blast",
    "flags": [ "NO_LEGS", "SILENT" ],
    "min_duration": 1080000,
    "max_duration": 1080000
  },
  {
    "id": "flask_rebreather",
    "type": "SPELL",
    "name": { "str": "Spiritus", "//~": "NO_I18N" },
    "description": { "str": "Allow you to breathe underwater.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "spawn_item",
    "effect_str": "flask_ethereal_rebreather",
    "shape": "blast",
    "flags": [ "NO_LEGS", "SILENT" ],
    "min_duration": 360000,
    "max_duration": 360000
  },
  {
    "id": "flask_excitement",
    "type": "SPELL",
    "name": { "str": "Motus", "//~": "NO_I18N" },
    "description": { "str": "Improve your reaction abilities, which makes you a better fighter.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "flask_excitement",
    "shape": "blast",
    "flags": [ "NO_LEGS", "SILENT" ],
    "min_duration": 360000,
    "max_duration": 360000
  },
  {
    "id": "flask_resistance",
    "type": "SPELL",
    "name": { "str": "Resistentia", "//~": "NO_I18N" },
    "description": {
      "str": "A thin layer of energy covers your body, and allows you to take more physical damage than before.",
      "//~": "NO_I18N"
    },
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "flask_resistance",
    "shape": "blast",
    "flags": [ "NO_LEGS", "SILENT" ],
    "min_duration": 1080000,
    "max_duration": 1080000
  },
  {
    "id": "flask_illumination",
    "type": "SPELL",
    "name": { "str": "Illuminatio", "//~": "NO_I18N" },
    "description": { "str": "Emit a bright light from your body.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "flask_illumination",
    "shape": "blast",
    "flags": [ "NO_LEGS", "SILENT" ],
    "min_duration": 4320000,
    "max_duration": 4320000
  },
  {
    "id": "flask_mana_regen",
    "type": "SPELL",
    "name": { "str": "Recuperatio", "//~": "NO_I18N" },
    "description": {
      "str": "Increase the amount of ley-lines your body can process at once, making you restore your mana pool faster.",
      "//~": "NO_I18N"
    },
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "flask_mana_regen",
    "shape": "blast",
    "flags": [ "NO_LEGS", "SILENT" ],
    "min_duration": 4320000,
    "max_duration": 4320000
  },
  {
    "id": "flask_max_mana",
    "type": "SPELL",
    "name": { "str": "Augere", "//~": "NO_I18N" },
    "description": { "str": "The capability to hold mana in you is increased - for a while.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "flask_max_mana",
    "shape": "blast",
    "flags": [ "NO_LEGS", "SILENT" ],
    "min_duration": 4320000,
    "max_duration": 4320000
  },
  {
    "id": "flask_regeneration",
    "type": "SPELL",
    "name": { "str": "Renovamen", "//~": "NO_I18N" },
    "description": { "str": "Slowly regenerate your damaged body.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "flask_regeneration",
    "shape": "blast",
    "flags": [ "NO_LEGS", "SILENT" ],
    "min_duration": 60000,
    "max_duration": 60000
  },
  {
    "id": "flask_regeneration_effect",
    "type": "SPELL",
    "name": { "str": "Renovamen Healing Effect", "//~": "NO_I18N" },
    "description": { "str": "Heals the target.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "min_damage": -1,
    "max_damage": -1,
    "effect": "attack",
    "shape": "blast",
    "message": "You start regenerating!",
    "flags": [ "SILENT" ]
  },
  {
    "id": "flask_mood",
    "type": "SPELL",
    "name": { "str": "Iocus", "//~": "NO_I18N" },
    "description": { "str": "Makes you fun.", "//~": "NO_I18N" },
    "effect": "morale",
    "effect_str": "morale_iocus",
    "shape": "blast",
    "valid_targets": [ "self" ],
    "flags": [ "NO_LEGS", "SILENT", "RANDOM_DAMAGE", "RANDOM_DURATION" ],
    "min_damage": 50,
    "max_damage": 80,
    "min_duration": 8640000,
    "max_duration": 25920000
  },
  {
    "id": "flask_toxin",
    "type": "SPELL",
    "name": { "str": "Toxicum", "//~": "NO_I18N" },
    "description": { "str": "Release a toxic gas which will poison everybody in range.", "//~": "NO_I18N" },
    "valid_targets": [ "self", "ally", "hostile", "ground" ],
    "flags": [ "NO_LEGS", "RANDOM_DURATION", "SPLIT_DAMAGE" ],
    "effect": "attack",
    "shape": "blast",
    "min_dot": 1,
    "max_dot": 1,
    "min_aoe": 8,
    "max_aoe": 8,
    "field_id": "fd_toxic_gas",
    "field_chance": 1,
    "min_field_intensity": 1,
    "max_field_intensity": 1,
    "damage_type": "biological",
    "min_duration": 2500,
    "max_duration": 7500,
    "min_range": 15,
    "max_range": 15
  },
  {
    "id": "flask_venom",
    "type": "SPELL",
    "name": { "str": "Venenum", "//~": "NO_I18N" },
    "description": { "str": "Poison the targeted enemy.", "//~": "NO_I18N" },
    "min_dot": 5,
    "max_dot": 5,
    "effect": "attack",
    "shape": "blast",
    "valid_targets": [ "hostile" ],
    "flags": [ "NO_LEGS", "SILENT", "SPLIT_DAMAGE" ],
    "min_range": 15,
    "max_range": 15,
    "min_duration": 90000,
    "max_duration": 90000,
    "damage_type": "poison"
  },
  {
    "id": "alchemist_mine_pull",
    "type": "SPELL",
    "name": { "str": "Mana explosion", "//~": "NO_I18N" },
    "description": { "str": "Pull all creatures nearby, except the Alchemist.", "//~": "NO_I18N" },
    "valid_targets": [ "ally", "hostile", "ground", "item", "field" ],
    "effect": "area_pull",
    "shape": "blast",
    "max_level": 35,
    "min_damage": 30,
    "max_damage": 30,
    "min_aoe": 11,
    "max_aoe": 11,
    "extra_effects": [ { "id": "alchemist_mine_explosion" } ],
    "flags": [ "LOUD" ],
    "sound_description": "whoosh"
  },
  {
    "id": "alchemist_mine_explosion",
    "type": "SPELL",
    "name": { "str": "Mana explosion damage", "//~": "NO_I18N" },
    "description": { "str": "Deal some damage to creatures, except the Alchemist.", "//~": "NO_I18N" },
    "valid_targets": [ "ally", "hostile", "ground" ],
    "effect": "attack",
    "shape": "blast",
    "min_damage": 110,
    "max_damage": 220,
    "damage_type": "necrotic",
    "min_aoe": 4,
    "max_aoe": 4,
    "flags": [ "LOUD", "RANDOM_DAMAGE", "NO_EXPLOSION_SFX", "SPLIT_DAMAGE" ],
    "message": ""
  },
  {
    "id": "bramble_spear_slow",
    "type": "SPELL",
    "name": { "str": "Bramble spear slow", "//~": "NO_I18N" },
    "description": { "str": "Sticky sap coats your enemies.", "//~": "NO_I18N" },
    "valid_targets": [ "hostile" ],
    "flags": [ "RANDOM_DAMAGE" ],
    "shape": "blast",
    "effect": "mod_moves",
    "min_damage": -25,
    "max_damage": -75,
    "min_range": 2,
    "max_range": 2
  },
  {
    "id": "druid_thorn_skin_attacked",
    "type": "SPELL",
    "name": { "str": "Thorn skin aura", "//~": "NO_I18N" },
    "description": { "str": "Deal a small amount of damage to anything that attacks you.", "//~": "NO_I18N" },
    "valid_targets": [ "hostile" ],
    "flags": [ "RANDOM_DAMAGE" ],
    "shape": "blast",
    "effect": "attack",
    "damage_type": "stab",
    "min_damage": 2,
    "max_damage": 6,
    "min_range": 1,
    "max_range": 1
  },
  {
    "id": "forge_teleport",
    "type": "SPELL",
    "name": { "str": "Forge Teleport", "//~": "NO_I18N" },
    "description": { "str": "Travel to the forge marking your return point in the process.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "effect_on_condition",
    "effect_str": "EOC_FORGE_TELEPORT",
    "shape": "blast",
    "base_casting_time": 30000
  },
  {
    "id": "forge_return_teleport",
    "type": "SPELL",
    "name": { "str": "Forge Return Teleport", "//~": "NO_I18N" },
    "description": { "str": "Travel back to your saved forge return point.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "effect": "effect_on_condition",
    "effect_str": "EOC_FORGE_RETURN_TELEPORT",
    "shape": "blast",
    "base_casting_time": 30000
  },
  {
    "id": "ring_of_flight_spell",
    "type": "SPELL",
    "name": { "str": "Flight", "//~": "NO_I18N" },
    "description": { "str": "You can fly.", "//~": "NO_I18N" },
    "message": "",
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "effect_ring_of_flight",
    "shape": "blast",
    "min_duration": 90000,
    "max_duration": 90000
  },
  {
    "id": "mbracer_blinding_strike_spell",
    "type": "SPELL",
    "name": { "str": "The Blinding Strike", "//~": "NO_I18N" },
    "description": { "str": "Your attacks are much faster.", "//~": "NO_I18N" },
    "message": "",
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "effect_bracers_of_the_blinding_strike",
    "shape": "blast",
    "min_duration": 1500,
    "max_duration": 1500
  },
  {
    "id": "mana_leech_unlock",
    "type": "SPELL",
    "name": { "str": "Mana-leech Unlock", "//~": "NO_I18N" },
    "description": { "str": "Allows the removal of the mana-leech shackle and remove its negative effects.", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "message": "",
    "flags": [ "NO_LEGS", "SILENT", "NO_EXPLOSION_SFX" ],
    "effect": "effect_on_condition",
    "effect_str": "EOC_MANA_LEECH_UNLOCK",
    "shape": "blast",
    "base_casting_time": 30000
  },
  {
    "id": "mag_open_beetle_ball_large",
    "type": "SPELL",
    "name": "Call Stag Beetles",
    "description": "Call upon stag beetles for various tasks.",
    "valid_targets": [ "self" ],
    "effect": "effect_on_condition",
    "effect_str": "EOC_STAG_BEETLE_SELECTOR",
    "shape": "blast",
    "flags": [ "SOMATIC", "VERBAL" ],
    "base_casting_time": 0,
    "base_energy_cost": 0
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_STAG_BEETLE_SELECTOR",
    "effect": [
      {
        "run_eoc_selector": [ "EOC_CALL_STAG_BEETLE", "EOC_CALL_FORAGING_BEETLES" ],
        "names": [ "Call stag beetle for riding", "Call beetles for foraging" ],
        "keys": [ "1", "2" ],
        "descriptions": [
          "Call a stag beetle for riding.  Will respond if you haven't called for one in awhile.",
          "Call local beetles to forage hidden areas around you."
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_CALL_STAG_BEETLE",
    "effect": [
      { "u_add_trait": "MAG_STAG_BEETLE_BOND" },
      { "u_activate_trait": "MAG_STAG_BEETLE_BOND" },
      {
        "u_message": "The wildwood beetle makes its call.  You feel something large coming, and it is coming fast.",
        "type": "good"
      },
      { "run_eocs": "EOC_SUMMON_STAG_BEETLE", "time_in_future": [ "5 seconds", "50 seconds" ] },
      { "run_eocs": "EOC_LOSE_STAG_BEETLE_BOND", "time_in_future": "8 hours" }
    ],
    "false_effect": [
      { "run_eocs": "EOC_SUMMON_MUSHROOMS", "time_in_future": [ "25 seconds", "50 seconds" ] },
      {
        "u_message": "The wildwood beetle makes its call, but only some small beetles respond.  They'll bring you a small gift.",
        "type": "good"
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_SUMMON_STAG_BEETLE",
    "//": "Targetted to prevent failure due to monster placement",
    "effect": [
      { "u_cast_spell": { "id": "mag_call_stag_beetle_real", "min_level": 1 }, "targeted": true },
      {
        "u_message": "The stag beetle arrives, it is massive and powerful.  It can be used to carry you and your belongings so long as you have a wildwood rune and the skill to ride it.",
        "type": "good"
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_CALL_FORAGING_BEETLES",
    "//": "Consider changing this into a periodic for foraging in the area with randomized returns",
    "effect": [
      { "u_cast_spell": { "id": "mag_summon_mushrooms", "min_level": 5 }, "targeted": false },
      { "u_message": "The beetles come swiftly, bearing some mushrooms.", "type": "good" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_LOSE_STAG_BEETLE_BOND",
    "effect": [
      { "u_lose_trait": "MAG_STAG_BEETLE_BOND" },
      { "u_message": "Your bond with the stag beetle fades.  Another can answer the call now.", "type": "good" }
    ]
  },
  {
    "id": "mag_summon_mushrooms",
    "type": "SPELL",
    "name": { "str": "Summon mushrooms", "//~": "NO_I18N" },
    "description": { "str": "Summons some mushrooms, extra effect summons some morels", "//~": "NO_I18N" },
    "valid_targets": [ "self" ],
    "flags": [ "PERMANENT", "NO_LEGS", "NO_EXPLOSION_SFX", "NO_PROJECTILE", "SPAWN_GROUP", "RANDOM_DAMAGE" ],
    "difficulty": 0,
    "min_damage": { "math": [ "(u_spell_level('mag_summon_mushrooms')) + 3" ] },
    "max_damage": { "math": [ "(u_spell_level('mag_summon_mushrooms')) + 8" ] },
    "effect": "spawn_item",
    "effect_str": "mushroom_collection",
    "shape": "blast",
    "base_energy_cost": 0,
    "final_energy_cost": 0,
    "base_casting_time": 0,
    "final_casting_time": 0
  },
  {
    "id": "mag_call_stag_beetle_real",
    "type": "SPELL",
    "name": "Call Stag Beetle",
    "description": "A stag beetle responds to the call, arriving in the location you are in.  It can be used to carry you and your belongings so long as you have a wildwood rune and the skill to ride it.",
    "valid_targets": [ "ground" ],
    "min_damage": 1,
    "max_damage": 1,
    "min_range": 1,
    "max_range": 5,
    "base_casting_time": 0,
    "magic_type": "magiclysm_generic_magic",
    "max_level": 5,
    "difficulty": 1,
    "min_duration": 700000,
    "max_duration": 2200000,
    "duration_increment": 750000,
    "flags": [ "SOMATIC", "VERBAL", "NO_LEGS", "NO_CORPSE_QUIET" ],
    "shape": "blast",
    "effect": "summon",
    "effect_str": "mon_mag_stag_beetle"
  }
]
