[
  {
    "id": "telekinetic_pull",
    "type": "SPELL",
    "name": "[Ψ]Far Hand",
    "description": "Pull a target or set of items to you.",
    "message": "You reach out and pull your target to you.",
    "teachable": false,
    "valid_targets": [ "ally", "hostile", "item", "ground" ],
    "spell_class": "TELEKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX" ],
    "difficulty": 1,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "directed_push",
    "extra_effects": [ { "id": "psionic_drained_difficulty_one", "hit_self": true } ],
    "shape": "blast",
    "damage_type": "psi_telekinetic_damage",
    "min_damage": {
      "math": [
        "( (u_spell_level('telekinetic_pull') * -0.5) - 1) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_damage": {
      "math": [
        "( (u_spell_level('telekinetic_pull') * -1.5) - 6) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "min_range": {
      "math": [
        "min( (( (u_spell_level('telekinetic_pull') * 0.9) + 3) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 40)"
      ]
    },
    "max_range": 40,
    "energy_source": "STAMINA",
    "base_energy_cost": 1750,
    "final_energy_cost": 750,
    "energy_increment": -80,
    "base_casting_time": 50,
    "final_casting_time": 10,
    "casting_time_increment": -4,
    "ignored_monster_species": [ "PSI_NULL" ]
  },
  {
    "id": "telekinetic_push",
    "type": "SPELL",
    "name": "[Ψ]Force Shove",
    "description": "Shove something away with a burst of psionic force.",
    "message": "You hurl your target away.",
    "teachable": false,
    "valid_targets": [ "ally", "hostile", "item", "ground" ],
    "spell_class": "TELEKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "RANDOM_DAMAGE", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX" ],
    "difficulty": 1,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "directed_push",
    "extra_effects": [ { "id": "psionic_drained_difficulty_one", "hit_self": true } ],
    "shape": "blast",
    "damage_type": "psi_telekinetic_damage",
    "min_damage": {
      "math": [
        "min( ( ( (u_spell_level('telekinetic_push') * 0.5) + 2) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 30)"
      ]
    },
    "max_damage": {
      "math": [
        "min( ( ( (u_spell_level('telekinetic_push') * 1) + 4) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 30)"
      ]
    },
    "min_range": {
      "math": [
        "min( ( ( (u_spell_level('telekinetic_push') * 0.9) + 1) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 40)"
      ]
    },
    "max_range": 40,
    "energy_source": "STAMINA",
    "base_energy_cost": 1750,
    "final_energy_cost": 750,
    "energy_increment": -80,
    "base_casting_time": 50,
    "final_casting_time": 10,
    "casting_time_increment": -4,
    "ignored_monster_species": [ "PSI_NULL" ]
  },
  {
    "id": "telekinetic_noise",
    "type": "SPELL",
    "name": "[Ψ]Noisemaker",
    "description": "Using a focused burst of telekinesis, slam two objects together, or an object into the ground, or simply hit the ground with your powers, causing a loud noise.",
    "message": "You lash out at the ground with your powers.",
    "teachable": false,
    "valid_targets": [ "ground" ],
    "spell_class": "TELEKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "RANDOM_DAMAGE", "NO_PROJECTILE", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX" ],
    "difficulty": 2,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "noise",
    "shape": "blast",
    "min_damage": {
      "math": [
        "( (u_spell_level('telekinetic_noise') * 0.5) + 3) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_damage": {
      "math": [
        "( (u_spell_level('telekinetic_noise') * 1.5) + 8) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "min_range": {
      "math": [
        "min( (( (u_spell_level('telekinetic_noise') * 0.9) + 2) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 60)"
      ]
    },
    "max_range": 60,
    "energy_source": "STAMINA",
    "base_energy_cost": 1750,
    "final_energy_cost": 450,
    "energy_increment": -85,
    "base_casting_time": 65,
    "final_casting_time": 15,
    "casting_time_increment": -4,
    "sound_type": "combat",
    "sound_description": "a loud thump"
  },
  {
    "id": "telekinetic_slam_down",
    "type": "SPELL",
    "name": "[Ψ]Knockdown",
    "description": "Slam something to the ground with a burst of telekinetic force, doing a small amount of damage and downing them.",
    "message": "Your target is knocked to the ground.",
    "teachable": false,
    "valid_targets": [ "ally", "hostile", "ground" ],
    "spell_class": "TELEKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "RANDOM_DAMAGE", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX" ],
    "difficulty": 2,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "attack",
    "effect_str": "downed",
    "extra_effects": [ { "id": "psionic_drained_difficulty_two", "hit_self": true } ],
    "shape": "blast",
    "damage_type": "psi_telekinetic_damage",
    "min_damage": {
      "math": [
        "( (u_spell_level('telekinetic_slam_down') * 0.5) + 5) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_damage": {
      "math": [
        "( (u_spell_level('telekinetic_slam_down') * 1.2) + 15) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "min_duration": {
      "math": [
        "( (u_spell_level('telekinetic_slam_down') * 25) + 100) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_duration": {
      "math": [
        "( (u_spell_level('telekinetic_slam_down') * 95) + 400) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "min_range": {
      "math": [
        "min( (( (u_spell_level('telekinetic_slam_down') * 0.5) + 2) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 40)"
      ]
    },
    "max_range": 40,
    "energy_source": "STAMINA",
    "base_energy_cost": 2500,
    "final_energy_cost": 850,
    "energy_increment": -65,
    "base_casting_time": 75,
    "final_casting_time": 30,
    "casting_time_increment": -3,
    "ignored_monster_species": [ "PSI_NULL" ]
  },
  {
    "id": "telekinetic_momentum",
    "type": "SPELL",
    "name": "[Ψ]Momentum Alteration (C)",
    "description": "Edit the momentum of yourself and nearby objects to your benefit, slowing damaging force and slightly increasing your speed.\n\nThis power <color_yellow>is maintained by concentration</color> and <color_red>may fail</color> if <color_yellow>concentration is interrupted</color>.  It requires <color_yellow>even more concentration</color> than usual.",
    "message": "",
    "teachable": false,
    "valid_targets": [ "self" ],
    "spell_class": "TELEKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "RANDOM_DURATION" ],
    "difficulty": 3,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "effect_on_condition",
    "effect_str": "EOC_TELEKIN_MOMENTUM_INITIATE",
    "shape": "blast",
    "min_duration": {
      "math": [
        "( (u_spell_level('telekinetic_momentum') * 1000) + 9000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_duration": {
      "math": [
        "( (u_spell_level('telekinetic_momentum') * 2000) + 60000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "energy_source": "STAMINA",
    "base_energy_cost": {
      "math": [
        "u_effect_intensity('effect_telekinetic_momentum') > -1 ? 0 : max((3500 - (u_spell_level('telekinetic_momentum') * 125)), 1750)"
      ]
    },
    "base_casting_time": {
      "math": [
        "u_effect_intensity('effect_telekinetic_momentum') > -1 ? 10 : max((300 -(u_spell_level('telekinetic_momentum') * 7.5)), 125)"
      ]
    }
  },
  {
    "id": "telekinetic_slowfall",
    "type": "SPELL",
    "name": "[Ψ]Slowfall",
    "description": "Counteract the pull of gravity with telekinetic force, greatly reducing or even eliminating damage from falling and becoming much more buoyant.",
    "message": "You feel lighter.",
    "teachable": false,
    "valid_targets": [ "self" ],
    "spell_class": "TELEKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "RANDOM_DURATION" ],
    "difficulty": 3,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "attack",
    "effect_str": "effect_telekinetic_slowfall",
    "extra_effects": [ { "id": "psionic_drained_difficulty_three", "hit_self": true } ],
    "shape": "blast",
    "min_duration": {
      "math": [
        "( (u_spell_level('telekinetic_slowfall') * 100) + 300) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_duration": {
      "math": [
        "( (u_spell_level('telekinetic_slowfall') * 400) + 1500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "energy_source": "STAMINA",
    "base_energy_cost": 2250,
    "final_energy_cost": 650,
    "energy_increment": -85,
    "base_casting_time": 85,
    "final_casting_time": 25,
    "casting_time_increment": -4.5
  },
  {
    "id": "telekinetic_wave",
    "type": "SPELL",
    "name": "[Ψ]Wave of Force",
    "description": "Unleash a telekinetic wave around you that indiscriminately knocks everything back.",
    "message": "You knock everything nearby backwards!",
    "teachable": false,
    "valid_targets": [ "self" ],
    "spell_class": "TELEKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "NO_HANDS", "NO_LEGS" ],
    "difficulty": 4,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "effect_on_condition",
    "effect_str": "EOC_TELEKIN_WAVE_FORCE",
    "shape": "blast",
    "energy_source": "STAMINA",
    "base_energy_cost": 4500,
    "final_energy_cost": 2250,
    "energy_increment": -125,
    "base_casting_time": 50,
    "final_casting_time": 20,
    "casting_time_increment": -4
  },
  {
    "id": "telekinetic_wave_wonder",
    "type": "SPELL",
    "name": "[Ψ]Wave of Force WONDER",
    "description": "The WONDER spell that casts multiple waves of force .",
    "message": "",
    "teachable": false,
    "valid_targets": [ "self" ],
    "spell_class": "TELEKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "NO_HANDS", "NO_LEGS", "WONDER" ],
    "effect": "attack",
    "extra_effects": [ { "id": "telekinetic_wavepush", "hit_self": true } ],
    "shape": "blast",
    "min_damage": 12,
    "max_damage": 12
  },
  {
    "id": "telekinetic_wavepush",
    "type": "SPELL",
    "name": "[Ψ]Telekinetic Wave Push",
    "description": "Part of Wave of Force.  If you see this it's a bug.",
    "message": "",
    "valid_targets": [ "ally", "hostile", "item" ],
    "spell_class": "TELEKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "RANDOM_DAMAGE", "NO_HANDS", "NO_LEGS", "RANDOM_TARGET", "NO_EXPLOSION_SFX" ],
    "effect": "directed_push",
    "shape": "blast",
    "max_level": { "math": [ "int_to_level(1)" ] },
    "damage_type": "psi_telekinetic_damage",
    "min_damage": {
      "math": [
        "min( (( (u_spell_level('telekinetic_wave') * 0.1) + 2) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 15)"
      ]
    },
    "max_damage": {
      "math": [
        "( (u_spell_level('telekinetic_wave') * 0.25) + 6) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "min_range": 1,
    "max_range": 1,
    "ignored_monster_species": [ "PSI_NULL" ]
  },
  {
    "id": "telekinetic_strength",
    "type": "SPELL",
    "name": "[Ψ]Enhance Strength (C)",
    "description": "Focus your powers to allow you to move much heavier objects and smash through walls.\n\nThis power <color_yellow>is maintained by concentration</color> and <color_red>may fail</color> if <color_yellow>concentration is interrupted</color>.  It is <color_red>canceled by engaging in combat</color>.",
    "message": "",
    "teachable": false,
    "valid_targets": [ "self" ],
    "spell_class": "TELEKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "RANDOM_DURATION" ],
    "difficulty": 5,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "effect_on_condition",
    "effect_str": "EOC_TELEKIN_STRENGTH_INITIATE",
    "shape": "blast",
    "min_duration": {
      "math": [
        "( (u_spell_level('telekinetic_strength') * 1500) + 3000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_duration": {
      "math": [
        "( (u_spell_level('telekinetic_strength') * 3000) + 12000 )* (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "energy_source": "STAMINA",
    "base_energy_cost": {
      "math": [
        "u_effect_intensity('effect_telekinetic_strength') > -1 ? 0 : max((5000 - (u_spell_level('telekinetic_strength') * 150)), 2000)"
      ]
    },
    "base_casting_time": { "math": [ "u_effect_intensity('effect_telekinetic_strength') > -1 ? 10 : 300" ] }
  },
  {
    "id": "telekinetic_hammer",
    "type": "SPELL",
    "name": "[Ψ]Mindhammer",
    "description": "Smash a single target or small area with a fist of telekinetic force.",
    "message": "You smash your target with a fist of force.",
    "teachable": false,
    "valid_targets": [ "hostile", "ground" ],
    "spell_class": "TELEKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "NO_PROJECTILE", "RANDOM_DAMAGE", "NO_HANDS", "NO_LEGS" ],
    "difficulty": 5,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "extra_effects": [
      { "id": "tele_mindhammer_bash", "hit_self": false, "max_level": 20 },
      { "id": "psionic_drained_difficulty_five", "hit_self": true }
    ],
    "damage_type": "psi_telekinetic_damage",
    "effect": "attack",
    "shape": "blast",
    "min_damage": {
      "math": [
        "( (u_spell_level('telekinetic_hammer') * 1.25) + 18) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_damage": {
      "math": [
        "( (u_spell_level('telekinetic_hammer') * 3.5) + 55) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "min_range": {
      "math": [
        "min( (( (u_spell_level('telekinetic_hammer') * 0.9) + 3) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 70)"
      ]
    },
    "max_range": 70,
    "energy_source": "STAMINA",
    "base_energy_cost": 3750,
    "final_energy_cost": 1750,
    "energy_increment": -135,
    "base_casting_time": 50,
    "final_casting_time": 25,
    "casting_time_increment": -2.5,
    "sound_type": "combat",
    "sound_description": "a heavy thud!",
    "ignored_monster_species": [ "PSI_NULL" ]
  },
  {
    "id": "tele_mindhammer_bash",
    "type": "SPELL",
    "name": "Mindhammer Ground damage",
    "description": "Damages ground when you use Mindhammer.  If you have this you debugged it in.",
    "valid_targets": [ "ground" ],
    "spell_class": "TELEKINETIC",
    "flags": [ "PSIONIC", "RANDOM_DAMAGE", "IGNORE_WALLS", "NO_PROJECTILE" ],
    "effect": "bash",
    "shape": "blast",
    "damage_type": "bash",
    "min_damage": {
      "math": [
        "( (u_spell_level('telekinetic_hammer') * 1.5) + 25) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_damage": {
      "math": [
        "( (u_spell_level('telekinetic_hammer') * 3) + 55) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "min_range": {
      "math": [
        "min( (( (u_spell_level('telekinetic_hammer') * 0.9) + 3) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 70)"
      ]
    },
    "max_range": 70,
    "ignored_monster_species": [ "PSI_NULL" ]
  },
  {
    "id": "telekinetic_vehicle_lift",
    "type": "SPELL",
    "name": "[Ψ]Lift Vehicle (C)",
    "description": "Focus your powers to raise a vehicle just enough to change a tire or perform repairs.  As your powers increase, you will be able to lift heavier vehicles.\n\nThis power <color_yellow>is maintained by concentration</color> and <color_red>may fail</color> if <color_yellow>concentration is interrupted</color>.  It is <color_red>canceled by engaging in combat</color>.",
    "message": "",
    "teachable": false,
    "valid_targets": [ "self" ],
    "spell_class": "TELEKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX" ],
    "difficulty": 6,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "effect_on_condition",
    "effect_str": "EOC_TELEKIN_SUMMON_JACKING_TOOL_INITIATE",
    "shape": "blast",
    "min_duration": {
      "math": [
        "( (u_spell_level('telekinetic_vehicle_lift') * 19000) + 60000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_duration": {
      "math": [
        "( (u_spell_level('telekinetic_vehicle_lift') * 42000) + 150000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "energy_source": "STAMINA",
    "base_energy_cost": {
      "math": [
        "u_effect_intensity('effect_telekinetic_vehicle_lift') > -1 ? 0 : max((6500 - (u_spell_level('telekinetic_vehicle_lift') * 200)), 3250)"
      ]
    },
    "base_casting_time": {
      "math": [
        "u_effect_intensity('effect_telekinetic_vehicle_lift') > -1 ? 10 : max((250 -(u_spell_level('telekinetic_vehicle_lift') * 8)), 125)"
      ]
    }
  },
  {
    "id": "telekinetic_shield",
    "type": "SPELL",
    "name": "[Ψ]Inertial Barrier (C)",
    "description": "Create a telekinetic barrier around yourself to protect you from damage.\n\nThis power <color_yellow>is maintained by concentration</color> and <color_red>may fail</color> if <color_yellow>concentration is interrupted</color>.",
    "message": "",
    "teachable": false,
    "valid_targets": [ "self" ],
    "spell_class": "TELEKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "RANDOM_DURATION" ],
    "difficulty": 6,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "effect_on_condition",
    "effect_str": "EOC_TELEKIN_SHIELD_INITIATE",
    "shape": "blast",
    "min_duration": {
      "math": [
        "( (u_spell_level('telekinetic_shield') * 1400) + 28000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_duration": {
      "math": [
        "( (u_spell_level('telekinetic_shield') * 3700) + 72000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "energy_source": "STAMINA",
    "base_energy_cost": {
      "math": [
        "u_effect_intensity('effect_telekinetic_armor') > -1 ? 0 : max((8000 - (u_spell_level('telekinetic_shield') * 185)), 3250)"
      ]
    },
    "base_casting_time": {
      "math": [
        "u_effect_intensity('effect_telekinetic_armor') > -1 ? 10 : max((250 -(u_spell_level('telekinetic_shield') * 8)), 65)"
      ]
    }
  },
  {
    "id": "telekinetic_explosion",
    "type": "SPELL",
    "name": "[Ψ]Wrecking Ball",
    "description": "A burst of telekinetic force shatters the terrain at the target location, as well as anything caught inside.",
    "message": "You indiscriminately blast your targets!",
    "teachable": false,
    "valid_targets": [ "ally", "hostile", "ground" ],
    "spell_class": "TELEKINETIC",
    "skill": "metaphysics",
    "flags": [
      "PSIONIC",
      "CONCENTRATE",
      "LOUD",
      "NO_PROJECTILE",
      "EXTRA_EFFECTS_FIRST",
      "RANDOM_DAMAGE",
      "NO_HANDS",
      "NO_LEGS",
      "IGNORE_WALLS",
      "NO_EXPLOSION_SFX"
    ],
    "difficulty": 7,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "bash",
    "extra_effects": [
      { "id": "tele_explosion_damage", "hit_self": false, "max_level": 20 },
      { "id": "psionic_drained_difficulty_seven", "hit_self": true }
    ],
    "shape": "blast",
    "min_damage": {
      "math": [
        "( (u_spell_level('telekinetic_explosion') * 3) + 22) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_damage": {
      "math": [
        "( (u_spell_level('telekinetic_explosion') * 7.5) + 99) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "min_range": {
      "math": [
        "min( (( (u_spell_level('telekinetic_explosion') * 0.9) + 4) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 60)"
      ]
    },
    "max_range": 60,
    "min_aoe": {
      "math": [
        "min( (( (u_spell_level('telekinetic_explosion') * 0.3) + 2) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 30)"
      ]
    },
    "max_aoe": 30,
    "energy_source": "STAMINA",
    "base_energy_cost": 8500,
    "final_energy_cost": 4500,
    "energy_increment": -200,
    "base_casting_time": 200,
    "final_casting_time": 75,
    "casting_time_increment": -7.5,
    "sound_type": "combat",
    "sound_description": "a loud crash!",
    "ignored_monster_species": [ "PSI_NULL" ]
  },
  {
    "id": "tele_explosion_damage",
    "type": "SPELL",
    "name": "Wrecking Ball Enemy damage",
    "description": "Damages enemies when you use Wrecking Ball on the ground.  If you have this you debugged it in.",
    "valid_targets": [ "ally", "hostile", "item", "ground" ],
    "spell_class": "TELEKINETIC",
    "flags": [ "PSIONIC", "LOUD", "RANDOM_DAMAGE", "IGNORE_WALLS" ],
    "effect": "attack",
    "shape": "blast",
    "damage_type": "psi_telekinetic_damage",
    "min_damage": {
      "math": [
        "( (u_spell_level('telekinetic_explosion') * 3) + 22) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_damage": {
      "math": [
        "( (u_spell_level('telekinetic_explosion') * 7.5) + 99) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "min_range": {
      "math": [
        "min( (( (u_spell_level('telekinetic_explosion') * 0.9) + 4) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 60)"
      ]
    },
    "max_range": 60,
    "min_aoe": {
      "math": [
        "min( (( (u_spell_level('telekinetic_explosion') * 0.3) + 2) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 30)"
      ]
    },
    "max_aoe": 30,
    "ignored_monster_species": [ "PSI_NULL" ]
  },
  {
    "id": "telekinetic_levitation",
    "type": "SPELL",
    "name": "[Ψ]Levitation (C)",
    "description": "Use your telekinesis and lift yourself up, defying gravity.  While not true flight, you can cross open air and descend safely.\n\nThis power <color_yellow>is maintained by concentration</color> and <color_red>may fail</color> if <color_yellow>concentration is interrupted</color>.  It is <color_red>canceled by engaging in combat</color>.",
    "message": "",
    "teachable": false,
    "valid_targets": [ "self" ],
    "spell_class": "TELEKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "RANDOM_DURATION" ],
    "difficulty": 7,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "effect_on_condition",
    "effect_str": "EOC_TELEKIN_LEVITATION_INITIATE",
    "shape": "blast",
    "min_duration": {
      "math": [
        "( (u_spell_level('telekinetic_levitation') * 75) + 100) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_duration": {
      "math": [
        "( (u_spell_level('telekinetic_levitation') * 200) + 500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "energy_source": "STAMINA",
    "base_energy_cost": {
      "math": [
        "u_effect_intensity('effect_telekinetic_levitation') > -1 ? 0 : max((7500 - (u_spell_level('telekinetic_levitation') * 165)), 3500)"
      ]
    },
    "base_casting_time": {
      "math": [
        "u_effect_intensity('effect_telekinetic_levitation') > -1 ? 10 : max((75 -(u_spell_level('telekinetic_levitation') * 7.5)), 15)"
      ]
    }
  },
  {
    "id": "telekinetic_aegis",
    "type": "SPELL",
    "name": "[Ψ]Aegis",
    "description": "Create a shield impenetrable to physical damage around yourself.  It will <color_yellow>only last a few moments</color>.  You will be <color_red>unable to move</color> while the power is in effect.",
    "message": "The air around you becomes as hard as adamant.",
    "teachable": false,
    "valid_targets": [ "self" ],
    "spell_class": "TELEKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "RANDOM_DURATION" ],
    "difficulty": 9,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "attack",
    "effect_str": "effect_telekinetic_aegis",
    "extra_effects": [ { "id": "psionic_drained_difficulty_nine", "hit_self": true } ],
    "shape": "blast",
    "min_duration": 100,
    "max_duration": {
      "math": [
        "( (u_spell_level('telekinetic_aegis') * 20) + 200) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "energy_source": "STAMINA",
    "base_energy_cost": 9500,
    "final_energy_cost": 5500,
    "energy_increment": -225,
    "base_casting_time": 125,
    "final_casting_time": 55,
    "casting_time_increment": -5
  },
  {
    "id": "telekinetic_earthshaker",
    "type": "SPELL",
    "name": "[Ψ]Earthshaker",
    "description": "Seize the nearby earth with your powers and *wrench* it, toppling buildings and knocking everyone nearby off their feet.",
    "message": "The earth shakes!",
    "teachable": false,
    "valid_targets": [ "hostile", "ground", "ally" ],
    "spell_class": "TELEKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "LOUD", "NO_HANDS", "NO_LEGS", "NO_PROJECTILE", "IGNORE_WALLS", "RANDOM_DURATION" ],
    "difficulty": 10,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "attack",
    "effect_str": "downed",
    "extra_effects": [
      { "id": "psionic_drained_difficulty_ten", "hit_self": true },
      { "id": "telekinetic_earthshaker_bash_terrain", "hit_self": false },
      { "id": "telekinetic_earthshaker_spawn_rubble", "hit_self": false }
    ],
    "shape": "blast",
    "min_duration": {
      "math": [
        "( (u_spell_level('telekinetic_earthshaker') * 45) + 200) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_duration": {
      "math": [
        "( (u_spell_level('telekinetic_earthshaker') * 75) + 500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "min_aoe": {
      "math": [
        "min( ( ( (u_spell_level('telekinetic_earthshaker') * 0.8) + 5) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 35)"
      ]
    },
    "max_aoe": 30,
    "energy_source": "STAMINA",
    "base_energy_cost": 11500,
    "final_energy_cost": 7000,
    "base_casting_time": 150,
    "final_casting_time": 45,
    "casting_time_increment": -6,
    "sound_description": "the ground shaking!",
    "sound_id": "earth_spell",
    "sound_variant": "strong"
  },
  {
    "id": "telekinetic_earthshaker_bash_terrain",
    "type": "SPELL",
    "name": "[Ψ]Earthshaker Bash Terrain",
    "description": "Destroy furniture and terrain nearby.",
    "valid_targets": [ "hostile", "ground" ],
    "flags": [ "SILENT", "NO_EXPLOSION_SFX", "IGNORE_WALLS", "RANDOM_DAMAGE" ],
    "effect": "bash",
    "shape": "blast",
    "min_damage": {
      "math": [
        "( (u_spell_level('telekinetic_earthshaker') * 2.5) + 30) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_damage": {
      "math": [
        "( (u_spell_level('telekinetic_earthshaker') * 7) + 80) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "min_aoe": {
      "math": [
        "min( ( ( (u_spell_level('telekinetic_earthshaker') * 0.7) + 5) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 35)"
      ]
    },
    "max_aoe": 35
  },
  {
    "id": "telekinetic_earthshaker_spawn_rubble",
    "type": "SPELL",
    "name": "[Ψ]Earthshaker Rubble",
    "description": "Causes rubble to be spawned occasionally.",
    "valid_targets": [ "hostile", "ground" ],
    "flags": [ "SILENT", "NO_EXPLOSION_SFX", "IGNORE_WALLS" ],
    "effect": "ter_transform",
    "effect_str": "telekinetic_earthshaker_transform",
    "shape": "blast",
    "min_aoe": {
      "math": [
        "min( ( ( (u_spell_level('telekinetic_earthshaker') * 0.7) + 5) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 35)"
      ]
    },
    "max_aoe": 35
  }
]
