[
  {
    "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" ],
    "extra_effects": [ { "id": "eoc_restoration_setup", "hit_self": true } ],
    "effect": "attack",
    "effect_str": "cureall",
    "shape": "blast",
    "base_casting_time": 60000,
    "base_energy_cost": 800,
    "magic_type": "magiclysm_generic_magic",
    "difficulty": 8,
    "min_damage": { "math": [ "(u_spell_level('gaiaschosen_samsara') * -1.6) - 5" ] },
    "max_damage": { "math": [ "(u_spell_level('gaiaschosen_samsara') * -4) - 12" ] },
    "max_level": 40,
    "flags": [ "RESTORATION_SPELL", "RANDOM_DAMAGE", "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 the times come and your body is close to destruction, you can abandon it, transferring your consciousness into the cast.  But it brings with it a great price, and for your immortality, you pay with temporary bodily weakness.",
    "valid_targets": [ "self" ],
    "effect": "effect_on_condition",
    "effect_str": "EOC_DUST_REBORN_INITIAL",
    "extra_effects": [ { "id": "eoc_channeling_setup", "hit_self": true } ],
    "shape": "blast",
    "base_casting_time": 2160000,
    "base_energy_cost": 1000,
    "magic_type": "magiclysm_generic_magic",
    "flags": [ "CHANNELING_SPELL", "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 defense abilities.",
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "effect_terra_armor",
    "extra_effects": [ { "id": "eoc_enhancement_setup", "hit_self": true } ],
    "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": [ "ENHANCEMENT_SPELL", "SOMATIC" ],
    "spell_class": "GAIAS_CHOSEN",
    "magic_type": "magiclysm_generic_magic"
  },
  {
    "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_ALL", "add": { "math": [ "u_spell_level('terra_armor') * -3" ] } } ] } ]
  }
]
