[
  {
    "id": "photokinetic_light_local",
    "type": "SPELL",
    "name": "[Ψ]Candle's Glow (C)",
    "description": "Create a simple patch of light nearby, sufficient to read or perform simple tasks with.\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": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "RANDOM_DURATION" ],
    "difficulty": 1,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "effect_on_condition",
    "effect_str": "EOC_PHOTOKIN_LIGHT_LOCAL_INITIATE",
    "shape": "blast",
    "min_duration": {
      "math": [
        "( (u_spell_level('photokinetic_light_local') * 26000) + 156000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_duration": {
      "math": [
        "( (u_spell_level('photokinetic_light_local') * 87000) + 342000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "energy_source": "STAMINA",
    "base_energy_cost": {
      "math": [
        "u_effect_intensity('effect_photokin_light_local') > -1 ? 0 : max((1500 - (u_spell_level('photokinetic_light_local') * 80)), 450)"
      ]
    },
    "base_casting_time": {
      "math": [
        "u_effect_intensity('effect_photokin_light_local') > -1 ? 10 : max((125 -(u_spell_level('photokinetic_light_local') * 7.5)), 50)"
      ]
    }
  },
  {
    "id": "photokinetic_create_light",
    "type": "SPELL",
    "name": "[Ψ]Field of Light",
    "description": "Create photons to illuminate an entire area.",
    "message": "Sudden light bursts forth!",
    "teachable": false,
    "valid_targets": [ "self" ],
    "spell_class": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_PROJECTILE", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX" ],
    "difficulty": 2,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "effect_on_condition",
    "effect_str": "EOC_PHOTOKIN_CREATE_LIGHT_SWITCH",
    "extra_effects": [ { "id": "psionic_drained_difficulty_two", "hit_self": true } ],
    "shape": "blast",
    "energy_source": "STAMINA",
    "base_energy_cost": 2500,
    "final_energy_cost": 1000,
    "energy_increment": -115,
    "base_casting_time": 150,
    "final_casting_time": 75,
    "casting_time_increment": -6.5
  },
  {
    "id": "photokinetic_create_light_01",
    "type": "SPELL",
    "name": "[Ψ]Field of Light",
    "description": "Create photons to illuminate an entire area.",
    "message": "",
    "teachable": false,
    "valid_targets": [ "self", "ground", "ally", "hostile" ],
    "spell_class": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_PROJECTILE", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "RANDOM_DURATION" ],
    "difficulty": 2,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "attack",
    "shape": "blast",
    "min_range": {
      "math": [
        "min( (( (u_spell_level('photokinetic_create_light') * 1.2) + 5) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 70)"
      ]
    },
    "max_range": 70,
    "min_aoe": {
      "math": [
        "min( (( (u_spell_level('photokinetic_create_light') * 0.8) + 1) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 50)"
      ]
    },
    "max_aoe": 50,
    "field_id": "fd_photokin_light_1",
    "min_field_intensity": 1,
    "max_field_intensity": 3,
    "field_chance": 3
  },
  {
    "id": "photokinetic_create_light_02",
    "type": "SPELL",
    "name": "[Ψ]Field of Light",
    "description": "Create photons to illuminate an entire area.",
    "message": "",
    "teachable": false,
    "valid_targets": [ "self", "ground", "ally", "hostile" ],
    "spell_class": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_PROJECTILE", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "RANDOM_DURATION" ],
    "difficulty": 2,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "attack",
    "shape": "blast",
    "min_range": {
      "math": [
        "min( (( (u_spell_level('photokinetic_create_light') * 1.2) + 5) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 70)"
      ]
    },
    "max_range": 70,
    "min_aoe": {
      "math": [
        "min( (( (u_spell_level('photokinetic_create_light') * 0.8) + 1) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 50)"
      ]
    },
    "max_aoe": 50,
    "field_id": "fd_photokin_light_2",
    "min_field_intensity": 1,
    "max_field_intensity": 3,
    "field_chance": 3
  },
  {
    "id": "photokinetic_create_light_03",
    "type": "SPELL",
    "name": "[Ψ]Field of Light",
    "description": "Create photons to illuminate an entire area.",
    "message": "",
    "teachable": false,
    "valid_targets": [ "self", "ground", "ally", "hostile" ],
    "spell_class": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_PROJECTILE", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "RANDOM_DURATION" ],
    "difficulty": 2,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "attack",
    "shape": "blast",
    "min_range": {
      "math": [
        "min( (( (u_spell_level('photokinetic_create_light') * 1.2) + 5) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 70)"
      ]
    },
    "max_range": 70,
    "min_aoe": {
      "math": [
        "min( (( (u_spell_level('photokinetic_create_light') * 0.8) + 1) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 50)"
      ]
    },
    "max_aoe": 50,
    "field_id": "fd_photokin_light_3",
    "min_field_intensity": 1,
    "max_field_intensity": 3,
    "field_chance": 3
  },
  {
    "id": "photokinetic_snuff_light",
    "type": "SPELL",
    "name": "[Ψ]Blackout",
    "description": "Interrupt the flow of photons to create an area of darkness.",
    "message": "As you concentrate, an area nearby is plunged into darkness!",
    "teachable": false,
    "valid_targets": [ "self", "ground" ],
    "spell_class": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_PROJECTILE", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "RANDOM_DURATION" ],
    "difficulty": 2,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "attack",
    "extra_effects": [ { "id": "psionic_drained_difficulty_two", "hit_self": true } ],
    "shape": "blast",
    "min_duration": { "math": [ "((u_spell_level('photokinetic_snuff_light') * 1000) + 5000) * u_nether_attunement_power_scaling" ] },
    "max_duration": { "math": [ "((u_spell_level('photokinetic_snuff_light') * 1000) + 10000) * u_nether_attunement_power_scaling" ] },
    "min_range": {
      "math": [
        "min( (( (u_spell_level('photokinetic_snuff_light') * 1.2) + 5) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 70)"
      ]
    },
    "max_range": 70,
    "min_aoe": {
      "math": [
        "min( (( (u_spell_level('photokinetic_snuff_light') * 0.8) + 1) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 50)"
      ]
    },
    "field_id": "fd_darkness",
    "min_field_intensity": 1,
    "max_field_intensity": 1,
    "energy_source": "STAMINA",
    "base_energy_cost": 2500,
    "final_energy_cost": 1000,
    "energy_increment": -150,
    "base_casting_time": 150,
    "final_casting_time": 75,
    "casting_time_increment": -6.5
  },
  {
    "id": "photokinetic_light_dodge",
    "type": "SPELL",
    "name": "[Ψ]Trick of the Light",
    "description": "Manipulate the light around your body, creating small illusions and becoming harder to hit.\n\nAn enemy successfully hitting you will <color_red>disrupt the power</color>.",
    "message": "You are surrounded by shifting illusions.",
    "teachable": false,
    "valid_targets": [ "self" ],
    "spell_class": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "RANDOM_DURATION" ],
    "difficulty": 2,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "attack",
    "effect_str": "effect_photokin_dodge",
    "extra_effects": [ { "id": "psionic_drained_difficulty_two", "hit_self": true } ],
    "shape": "blast",
    "min_duration": {
      "math": [
        "( (u_spell_level('photokinetic_light_dodge') * 1300) + 2800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_duration": {
      "math": [
        "( (u_spell_level('photokinetic_light_dodge') * 2700) + 12500) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "energy_source": "STAMINA",
    "base_energy_cost": 2250,
    "final_energy_cost": 500,
    "energy_increment": -135,
    "base_casting_time": 200,
    "final_casting_time": 65,
    "casting_time_increment": -9.5
  },
  {
    "id": "photokinetic_light_beam",
    "type": "SPELL",
    "name": "[Ψ]Photon Beam",
    "description": "Concentrate photons into a high-energy beam.",
    "message": "You fire a searing beam of light!",
    "teachable": false,
    "valid_targets": [ "ground", "hostile" ],
    "spell_class": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "SILENT", "RANDOM_DAMAGE" ],
    "effect": "attack",
    "extra_effects": [ { "id": "psionic_drained_difficulty_three", "hit_self": true } ],
    "difficulty": 3,
    "shape": "line",
    "min_damage": {
      "math": [
        "( (u_spell_level('photokinetic_light_beam') * 1.5) + 3) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_damage": {
      "math": [
        "( (u_spell_level('photokinetic_light_beam') * 3.5) + 15) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "damage_type": "psi_photokinetic_damage",
    "min_range": {
      "math": [
        "min( (( (u_spell_level('photokinetic_light_beam') * 0.6) + 2) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 30)"
      ]
    },
    "max_range": 30,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "field_id": "fd_laser",
    "min_field_intensity": 2,
    "max_field_intensity": 2,
    "field_chance": 1,
    "energy_source": "STAMINA",
    "base_energy_cost": 2750,
    "final_energy_cost": 800,
    "energy_increment": -110,
    "base_casting_time": 100,
    "final_casting_time": 35,
    "casting_time_increment": -6
  },
  {
    "id": "photokinetic_camouflage",
    "type": "SPELL",
    "name": { "//~": "Combination of chameleon and camouflage", "str": "[Ψ]Chameleoflage (C)" },
    "description": "By blending the light reflecting from you with the light reflecting from nearby surfaces, you can make yourself much harder to spot from a distance.\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": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "RANDOM_DURATION", "NO_EXPLOSION_SFX" ],
    "difficulty": 3,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "effect_on_condition",
    "effect_str": "EOC_PHOTOKIN_CAMOUFLAGE_INITIATE",
    "shape": "blast",
    "min_duration": {
      "math": [
        "( (u_spell_level('photokinetic_camouflage') * 4800) + 69000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_duration": {
      "math": [
        "( (u_spell_level('photokinetic_camouflage') * 11300) + 143000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "energy_source": "STAMINA",
    "base_energy_cost": {
      "math": [
        "u_effect_intensity('effect_photokin_camouflage') > -1 ? 0 : max((3500 - (u_spell_level('photokinetic_camouflage') * 75)), 1500)"
      ]
    },
    "base_casting_time": {
      "math": [
        "u_effect_intensity('effect_photokin_camouflage') > -1 ? 10 : max((150 -(u_spell_level('photokinetic_camouflage') * 8)), 75)"
      ]
    }
  },
  {
    "id": "photokinetic_rad_immunity",
    "type": "SPELL",
    "name": "[Ψ]Lucent Barrier (C)",
    "description": "Create a barrier of light around yourself to protect against radiation and light 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": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "RANDOM_DURATION", "NO_EXPLOSION_SFX" ],
    "difficulty": 3,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "effect_on_condition",
    "effect_str": "EOC_PHOTOKIN_RAD_IMMUNITY_INITIATE",
    "shape": "blast",
    "min_duration": {
      "math": [
        "( (u_spell_level('photokinetic_rad_immunity') * 1800) + 37000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_duration": {
      "math": [
        "( (u_spell_level('photokinetic_rad_immunity') * 18200) + 81000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "energy_source": "STAMINA",
    "base_energy_cost": {
      "math": [
        "u_effect_intensity('effect_photokin_light_barrier') > -1 ? 0 : max((3000 - (u_spell_level('photokinetic_rad_immunity') * 125)), 800)"
      ]
    },
    "base_casting_time": {
      "math": [
        "u_effect_intensity('effect_photokin_light_barrier') > -1 ? 10 : max((250 -(u_spell_level('photokinetic_rad_immunity') * 4.5)), 100)"
      ]
    }
  },
  {
    "id": "photokinetic_light_arms",
    "type": "SPELL",
    "name": "[Ψ]Refracted Arms",
    "description": "Create the illusion of extra arms and wielded items to trick your enemies, forcing them off balance and rendering them open to attack.",
    "message": "Light around your arms shimmers and refracts, creating the illusion of multiple arms.",
    "teachable": false,
    "valid_targets": [ "self" ],
    "spell_class": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "RANDOM_DURATION" ],
    "difficulty": 4,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "attack",
    "effect_str": "effect_photokin_arms",
    "extra_effects": [ { "id": "psionic_drained_difficulty_four", "hit_self": true } ],
    "shape": "blast",
    "min_duration": {
      "math": [
        "( (u_spell_level('photokinetic_light_arms') * 800) + 2600) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_duration": {
      "math": [
        "( (u_spell_level('photokinetic_light_arms') * 4100) + 7100) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "energy_source": "STAMINA",
    "base_energy_cost": 4000,
    "final_energy_cost": 1500,
    "energy_increment": -125,
    "base_casting_time": 125,
    "final_casting_time": 25,
    "casting_time_increment": -7
  },
  {
    "id": "photokinetic_hide_ugly",
    "type": "SPELL",
    "name": "[Ψ]Mirror-Mask (C)",
    "description": "Hide your true form behind unassuming illusions, preventing baseline humans from reacting poorly to your presence if you are mutated or a cyborg.\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": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "RANDOM_DURATION" ],
    "difficulty": 4,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "effect_on_condition",
    "effect_str": "EOC_PHOTOKIN_HIDE_UGLY_INITIATE",
    "extra_effects": [ { "id": "psionic_drained_difficulty_four", "hit_self": true } ],
    "shape": "blast",
    "min_duration": {
      "math": [
        "( (u_spell_level('photokinetic_hide_ugly') * 2250) + 45000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_duration": {
      "math": [
        "( (u_spell_level('photokinetic_hide_ugly') * 5500) + 89000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "energy_source": "STAMINA",
    "base_energy_cost": {
      "math": [
        "u_effect_intensity('effect_photokin_hide_ugly') > -1 ? 0 : max((6500 - (u_spell_level('photokinetic_hide_ugly') * 150)), 2000)"
      ]
    },
    "base_casting_time": {
      "math": [
        "u_effect_intensity('effect_photokin_hide_ugly') > -1 ? 10 : max((1500 -(u_spell_level('photokinetic_hide_ugly') * 75)), 150)"
      ]
    }
  },
  {
    "id": "photokinetic_light_image",
    "type": "SPELL",
    "name": "[Ψ]Lucid Shadows",
    "description": "Form images of yourself to confuse and distract enemies.",
    "message": "Identical copies of you suddenly appear!",
    "valid_targets": [ "ground", "hostile", "self", "ally" ],
    "spell_class": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "RANDOM_DURATION", "RANDOM_DAMAGE" ],
    "difficulty": 5,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "summon",
    "effect_str": "mon_photokin_image",
    "extra_effects": [ { "id": "psionic_drained_difficulty_five", "hit_self": true } ],
    "shape": "blast",
    "min_damage": 1,
    "max_damage": {
      "math": [
        " (u_spell_level('photokinetic_light_beam') / 3) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "min_duration": { "math": [ "((u_spell_level('photokinetic_light_image') * 550) + 4840) * u_nether_attunement_power_scaling" ] },
    "max_duration": { "math": [ "((u_spell_level('photokinetic_light_image') * 1350) + 13650) * u_nether_attunement_power_scaling" ] },
    "min_range": {
      "math": [
        "min( (( (u_spell_level('photokinetic_light_image') * 0.8) + 2) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 40)"
      ]
    },
    "max_range": 40,
    "min_aoe": 3,
    "max_aoe": 3,
    "energy_source": "STAMINA",
    "base_energy_cost": 4000,
    "final_energy_cost": 1750,
    "energy_increment": -145,
    "base_casting_time": 150,
    "final_casting_time": 90,
    "casting_time_increment": -4
  },
  {
    "id": "photokinetic_radio",
    "type": "SPELL",
    "name": "[Ψ]Radio Transception (C)",
    "description": "Attune your senses to radio waves, allowing you to listen to transmissions and send them yourself.\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": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "RANDOM_DURATION", "NO_EXPLOSION_SFX" ],
    "difficulty": 5,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "effect_on_condition",
    "effect_str": "EOC_PHOTOKIN_RADIO_INITIATE",
    "shape": "blast",
    "min_duration": {
      "math": [
        "( (u_spell_level('photokinetic_radio') * 12600) + 145600) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_duration": {
      "math": [
        "( (u_spell_level('photokinetic_radio') * 77200) + 522000) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "energy_source": "STAMINA",
    "base_energy_cost": {
      "math": [
        "u_effect_intensity('effect_photokinetic_radio') > -1 ? 0 : max((5000 - (u_spell_level('photokinetic_radio') * 100)), 2250)"
      ]
    },
    "base_casting_time": {
      "math": [
        "u_effect_intensity('effect_photokinetic_radio') > -1 ? 10 : max((250 -(u_spell_level('biokin_hammerhand') * 10)), 75)"
      ]
    }
  },
  {
    "id": "photokinetic_invisibility",
    "type": "SPELL",
    "name": "[Ψ]Veil of Light",
    "description": "Refract light around yourself to become invisible.",
    "message": "Suddenly, the world around you seems like it's on the other side of the surface of water.",
    "teachable": false,
    "valid_targets": [ "self" ],
    "spell_class": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "RANDOM_DURATION" ],
    "difficulty": 6,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "attack",
    "effect_str": "effect_photokin_invisibility",
    "extra_effects": [ { "id": "psionic_drained_difficulty_six", "hit_self": true } ],
    "shape": "blast",
    "min_duration": {
      "math": [
        "( (u_spell_level('photokinetic_invisibility') * 600) + 1600) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_duration": {
      "math": [
        "( (u_spell_level('photokinetic_invisibility') * 2300) + 4200) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "energy_source": "STAMINA",
    "base_energy_cost": 3500,
    "final_energy_cost": 1200,
    "energy_increment": -125,
    "base_casting_time": 150,
    "final_casting_time": 35,
    "casting_time_increment": -6.5
  },
  {
    "id": "photokinetic_light_flash",
    "type": "SPELL",
    "name": "[Ψ]Star Flash",
    "description": "Create a destructive flash of light.",
    "message": "You fire a searing wave of light!",
    "teachable": false,
    "valid_targets": [ "ground", "hostile" ],
    "spell_class": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "NO_HANDS", "NO_LEGS", "SILENT", "RANDOM_DAMAGE" ],
    "difficulty": 6,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "attack",
    "extra_effects": [ { "id": "psionic_drained_difficulty_six", "hit_self": true } ],
    "shape": "line",
    "min_damage": {
      "math": [
        "( (u_spell_level('photokinetic_light_flash') * 2.5) + 20) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_damage": {
      "math": [
        "( (u_spell_level('photokinetic_light_flash') * 6) + 54) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "damage_type": "psi_photokinetic_damage",
    "min_range": {
      "math": [
        "min( (( (u_spell_level('photokinetic_light_flash') * 0.6) + 2) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 50)"
      ]
    },
    "max_range": 50,
    "min_aoe": {
      "math": [
        "min( (( (u_spell_level('photokinetic_light_flash') * 0.3) + 1) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 20)"
      ]
    },
    "max_aoe": 20,
    "field_id": "fd_laser",
    "min_field_intensity": 2,
    "max_field_intensity": 3,
    "field_chance": 1,
    "energy_source": "STAMINA",
    "base_energy_cost": 5500,
    "final_energy_cost": 2750,
    "energy_increment": -125,
    "base_casting_time": 135,
    "final_casting_time": 40,
    "casting_time_increment": -8.5
  },
  {
    "id": "photokinetic_blinding_glare",
    "type": "SPELL",
    "name": "[Ψ]Blinding Radiance",
    "description": "You can emit so much light that anyone trying to attack you risks being blinded.",
    "message": "You begin glowing as brightly as the sun!",
    "teachable": false,
    "valid_targets": [ "self" ],
    "spell_class": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "SILENT", "NO_HANDS", "NO_LEGS", "NO_EXPLOSION_SFX", "RANDOM_DURATION" ],
    "difficulty": 7,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "attack",
    "effect_str": "effect_photokin_blinding_glare",
    "extra_effects": [ { "id": "psionic_drained_difficulty_seven", "hit_self": true } ],
    "shape": "blast",
    "min_duration": {
      "math": [
        "( (u_spell_level('photokinetic_blinding_glare') * 1100) + 5900) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_duration": {
      "math": [
        "( (u_spell_level('photokinetic_blinding_glare') * 4700) + 17800) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "energy_source": "STAMINA",
    "base_energy_cost": 6500,
    "final_energy_cost": 3250,
    "energy_increment": -95,
    "base_casting_time": 125,
    "final_casting_time": 25,
    "casting_time_increment": -7.5
  },
  {
    "id": "photokinetic_light_disintegrate",
    "type": "SPELL",
    "name": "[Ψ]Luminous Disintegration",
    "description": "Concentrate a massive amount of light into a single target, causing it to disintegrate.",
    "message": "You focus a pointpoint burst of light on your target!",
    "teachable": false,
    "valid_targets": [ "hostile" ],
    "spell_class": "PHOTOKINETIC",
    "skill": "metaphysics",
    "flags": [ "PSIONIC", "CONCENTRATE", "NO_HANDS", "NO_LEGS", "SILENT", "RANDOM_DAMAGE" ],
    "difficulty": 8,
    "max_level": { "math": [ "int_to_level(1)" ] },
    "effect": "attack",
    "shape": "blast",
    "extra_effects": [ { "id": "psionic_drained_difficulty_eight", "hit_self": true } ],
    "min_damage": {
      "math": [
        "( (u_spell_level('photokinetic_light_disintegrate') * 5.5) + 45) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "max_damage": {
      "math": [
        "( (u_spell_level('photokinetic_light_disintegrate') * 17) + 135) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling"
      ]
    },
    "damage_type": "psi_photokinetic_damage",
    "min_range": {
      "math": [
        "min( (( (u_spell_level('photokinetic_light_disintegrate') * 0.8) + 2) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 50)"
      ]
    },
    "max_range": 50,
    "energy_source": "STAMINA",
    "base_energy_cost": 8000,
    "final_energy_cost": 4000,
    "energy_increment": -150,
    "base_casting_time": 200,
    "final_casting_time": 50,
    "casting_time_increment": -10
  }
]
