[
  {
    "id": "gaiaschosen_samsara",
    "type": "SPELL",
    "spell_class": "GAIAS_CHOSEN",
    "name": "Samsara",
    "description": "You tie your ley lines to the world's, renewing your flesh as if reborn.",
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "cureall",
    "shape": "blast",
    "base_casting_time": 60000,
    "base_energy_cost": 800,
    "energy_source": "MANA",
    "difficulty": 8,
    "min_damage": -20,
    "max_damage": -200,
    "damage_increment": -4.5,
    "max_level": 40,
    "flags": [ "SOMATIC", "VERBAL", "CONCENTRATE", "LOUD" ]
  },
  {
    "id": "dust_reborn",
    "type": "SPELL",
    "name": "Dust Reborn",
    "description": "Create a cast of your own body and soul, hidden inside the earth's lines.  When times come, and your body will be close to destruction, you can abandon it, transferring your consciousness into undamaged one.  But it has the huge price, and for body immortality you pay with temporary body weakness.",
    "valid_targets": [ "self" ],
    "effect": "effect_on_condition",
    "effect_str": "EOC_DUST_REBORN_INITIAL",
    "shape": "blast",
    "base_casting_time": 2160000,
    "base_energy_cost": 1000,
    "energy_source": "MANA",
    "flags": [ "SOMATIC", "VERBAL", "CONCENTRATE", "MUST_HAVE_CLASS_TO_LEARN" ],
    "spell_class": "GAIAS_CHOSEN",
    "difficulty": 0,
    "max_level": 0
  },
  {
    "id": "terra_armor",
    "type": "SPELL",
    "name": "Terra Armor",
    "description": "Cover yourself in dense, invisible energy of Earth.  Higher level increase your defence abilities.",
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "effect_terra_armor",
    "shape": "blast",
    "base_casting_time": 550,
    "base_energy_cost": 750,
    "min_duration": 50000,
    "max_duration": 1800000,
    "duration_increment": 50000,
    "difficulty": 7,
    "max_level": 35,
    "flags": [ "SOMATIC" ],
    "spell_class": "GAIAS_CHOSEN",
    "energy_source": "MANA"
  },
  {
    "id": "effect_terra_armor",
    "type": "effect_type",
    "name": [ "Terra Armor" ],
    "desc": [ "Your body is covered in dense, ethereal shell, that protect you." ],
    "remove_message": "Your lost your terra shell.",
    "enchantments": [
      {
        "values": [
          {
            "value": "ARMOR_ACID",
            "add": { "arithmetic": [ { "u_val": "spell_level", "spell": "terra_armor" }, "*", { "const": -3 } ] }
          },
          {
            "value": "ARMOR_BASH",
            "add": { "arithmetic": [ { "u_val": "spell_level", "spell": "terra_armor" }, "*", { "const": -3 } ] }
          },
          {
            "value": "ARMOR_BIO",
            "add": { "arithmetic": [ { "u_val": "spell_level", "spell": "terra_armor" }, "*", { "const": -3 } ] }
          },
          {
            "value": "ARMOR_BULLET",
            "add": { "arithmetic": [ { "u_val": "spell_level", "spell": "terra_armor" }, "*", { "const": -3 } ] }
          },
          {
            "value": "ARMOR_COLD",
            "add": { "arithmetic": [ { "u_val": "spell_level", "spell": "terra_armor" }, "*", { "const": -3 } ] }
          },
          {
            "value": "ARMOR_CUT",
            "add": { "arithmetic": [ { "u_val": "spell_level", "spell": "terra_armor" }, "*", { "const": -3 } ] }
          },
          {
            "value": "ARMOR_ELEC",
            "add": { "arithmetic": [ { "u_val": "spell_level", "spell": "terra_armor" }, "*", { "const": -3 } ] }
          },
          {
            "value": "ARMOR_HEAT",
            "add": { "arithmetic": [ { "u_val": "spell_level", "spell": "terra_armor" }, "*", { "const": -3 } ] }
          },
          {
            "value": "ARMOR_STAB",
            "add": { "arithmetic": [ { "u_val": "spell_level", "spell": "terra_armor" }, "*", { "const": -3 } ] }
          }
        ]
      }
    ]
  }
]
