[
  {
    "id": "gravitymage_graviton_damage",
    "type": "SPELL",
    "name": "Graviton Polarization Damage",
    "description": "Handles the damage part of Graviton Polarization - if you see this, something went wrong.",
    "valid_targets": [ "self", "ally", "hostile", "ground" ],
    "effect": "attack",
    "shape": "blast",
    "max_level": 35,
    "min_damage": 25,
    "max_damage": 60,
    "damage_increment": 1,
    "damage_type": "bash",
    "min_aoe": 2,
    "max_aoe": 7,
    "aoe_increment": 0.2,
    "min_range": 5,
    "max_range": 17,
    "range_increment": 0.5,
    "flags": [ "LOUD" ]
  },
  {
    "id": "gravitymage_graviton",
    "type": "SPELL",
    "spell_class": "GRAVITY_MAGE",
    "name": "Graviton Polarization",
    "description": "Changes and amplifies gravitational pull towards a point you choose even through walls.  Pulls in items and deals bashing damage in its center.",
    "valid_targets": [ "self", "ally", "hostile", "ground", "item", "field" ],
    "effect": "area_pull",
    "shape": "blast",
    "base_casting_time": 600,
    "base_energy_cost": 450,
    "energy_source": "MANA",
    "difficulty": 10,
    "max_level": 35,
    "min_damage": 25,
    "max_damage": 60,
    "damage_increment": 1,
    "damage_type": "bash",
    "min_aoe": 4,
    "max_aoe": 9,
    "aoe_increment": 0.2,
    "min_range": 5,
    "max_range": 17,
    "range_increment": 0.5,
    "extra_effects": [ { "id": "gravitymage_graviton_damage" }, { "id": "gravitymage_graviton_centerdamage" } ],
    "flags": [ "SOMATIC", "VERBAL", "CONCENTRATE", "NO_PROJECTILE", "IGNORE_WALLS", "LOUD", "MUST_HAVE_CLASS_TO_LEARN" ],
    "sound_description": "a crack"
  },
  {
    "id": "gravitymage_graviton_centerdamage",
    "type": "SPELL",
    "name": "Graviton Polarization Center Damage",
    "description": "Handles damage in the extreme center of the Graviton.",
    "valid_targets": [ "self", "ally", "hostile", "ground" ],
    "effect": "attack",
    "shape": "blast",
    "max_level": 35,
    "min_damage": 35,
    "max_damage": 105,
    "damage_increment": 2,
    "damage_type": "bash",
    "min_aoe": 0,
    "max_aoe": 2,
    "aoe_increment": 0.06,
    "min_range": 5,
    "max_range": 17,
    "range_increment": 0.5,
    "flags": [ "LOUD" ]
  },
  {
    "type": "SPELL",
    "id": "gravity_mage_leap",
    "name": "Gravity Leap",
    "description": "Decrease your mass at the minimum, and use mana flow to jump out of your enemies on really huge distance.",
    "valid_targets": [ "ground" ],
    "flags": [ "SILENT", "NO_LEGS", "NO_HANDS", "MUST_HAVE_CLASS_TO_LEARN" ],
    "effect": "dash",
    "shape": "cone",
    "damage_type": "bash",
    "min_range": 4,
    "max_range": 21,
    "range_increment": 0.5,
    "spell_class": "GRAVITY_MAGE",
    "difficulty": 5,
    "base_casting_time": 400,
    "final_casting_time": 50,
    "casting_time_increment": -10,
    "base_energy_cost": 200,
    "final_energy_cost": 50,
    "energy_increment": -4.5,
    "max_level": 35,
    "energy_source": "MANA"
  },
  {
    "id": "gravity_mage_melee",
    "type": "SPELL",
    "name": "Tactile Telekinesis",
    "description": "It's way easier to manipulate with object's gravity, when you take a contact with target.  Control the gravity around yourself to increase your own inertia to make heavy, devastating attacks.",
    "valid_targets": [ "self" ],
    "effect": "attack",
    "effect_str": "gravity_mage_melee",
    "shape": "blast",
    "flags": [ "NO_LEGS", "SILENT", "NO_EXPLOSION_SFX", "MUST_HAVE_CLASS_TO_LEARN" ],
    "spell_class": "GRAVITY_MAGE",
    "energy_source": "MANA",
    "difficulty": 7,
    "base_casting_time": 500,
    "final_casting_time": 150,
    "casting_time_increment": -10,
    "base_energy_cost": 500,
    "final_energy_cost": 150,
    "energy_increment": -10,
    "max_level": 35,
    "min_duration": 20000,
    "max_duration": 720000,
    "duration_increment": 20000
  },
  {
    "id": "gravity_mage_melee",
    "type": "effect_type",
    "name": [ "Gravity Control" ],
    "desc": [ "Decreases mass of weapon on swing, increases the gravity on attack." ],
    "remove_message": "You cease your control over gravity.",
    "rating": "good",
    "show_intensity": false,
    "enchantments": [
      {
        "values": [
          { "value": "ATTACK_SPEED", "add": 30 },
          { "value": "BONUS_BLOCK", "add": 2 },
          { "value": "MELEE_DAMAGE", "multiply": 1 }
        ]
      }
    ]
  }
]
