[
  {
    "type": "effect_on_condition",
    "id": "EOC_CHECK_GAMESTART_ELECTROKIN_UPDATE",
    "eoc_type": "EVENT",
    "required_event": "game_start",
    "condition": { "u_has_trait": "ELECTROKINETIC" },
    "effect": [ { "math": [ "u_electrokinesis_has_been_updated", "=", "1" ] } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE",
    "eoc_type": "EVENT",
    "required_event": "game_load",
    "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_electrokinesis_has_been_updated", "!=", "1" ] } ] },
    "effect": [
      { "math": [ "u_electrokinesis_has_been_updated", "=", "1" ] },
      {
        "run_eocs": [
          "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_MELEE_ATTACKS",
          "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_PERSONAL_BATTERY",
          "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_PARALYSIS",
          "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_REDUCE_PAIN",
          "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_LIGHTNING_BOLT",
          "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_RECHARGE_VEHICLE",
          "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_PAIN_IMMUNE",
          "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_SPEED_BOOST",
          "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_KILL_ROBOT",
          "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_LIGHTNING_AURA",
          "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_LIGHTNING_BLAST",
          "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_REVIVE"
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_MELEE_ATTACKS",
    "condition": {
      "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_melee_attacks')", "<", "0" ] } ]
    },
    "effect": [ { "u_forget_recipe": "practice_electrokinetic_melee_attacks" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_PERSONAL_BATTERY",
    "condition": {
      "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_personal_battery')", "<", "0" ] } ]
    },
    "effect": [ { "u_forget_recipe": "practice_electrokinetic_personal_battery" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_PARALYSIS",
    "condition": {
      "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_paralysis')", "<", "0" ] } ]
    },
    "effect": [ { "u_forget_recipe": "practice_electrokinetic_paralysis" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_REDUCE_PAIN",
    "condition": {
      "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_reduce_pain')", "<", "0" ] } ]
    },
    "effect": [ { "u_forget_recipe": "practice_electrokinetic_reduce_pain" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_LIGHTNING_BOLT",
    "condition": {
      "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_lightning_bolt')", "<", "0" ] } ]
    },
    "effect": [ { "u_forget_recipe": "practice_electrokinetic_lightning_bolt" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_RECHARGE_VEHICLE",
    "condition": {
      "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_recharge_vehicle')", "<", "0" ] } ]
    },
    "effect": [ { "u_forget_recipe": "practice_electrokinetic_recharge_vehicle" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_PAIN_IMMUNE",
    "condition": {
      "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_pain_immune')", "<", "0" ] } ]
    },
    "effect": [ { "u_forget_recipe": "practice_electrokinetic_pain_immune" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_SPEED_BOOST",
    "condition": {
      "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_speed_boost')", "<", "0" ] } ]
    },
    "effect": [ { "u_forget_recipe": "practice_electrokinetic_speed_boost" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_KILL_ROBOT",
    "condition": {
      "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_kill_robot')", "<", "0" ] } ]
    },
    "effect": [ { "u_forget_recipe": "practice_electrokinetic_kill_robot" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_LIGHTNING_AURA",
    "condition": {
      "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_lightning_aura')", "<", "0" ] } ]
    },
    "effect": [ { "u_forget_recipe": "practice_electrokinetic_lightning_aura" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_LIGHTNING_BLAST",
    "condition": {
      "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_lightning_blast')", "<", "0" ] } ]
    },
    "effect": [ { "u_forget_recipe": "practice_electrokinetic_lightning_blast" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_CHECK_GAMELOAD_ELECTROKIN_UPDATE_REVIVE",
    "condition": { "and": [ { "u_has_trait": "ELECTROKINETIC" }, { "math": [ "u_spell_level('electrokinetic_revive')", "<", "0" ] } ] },
    "effect": [ { "u_forget_recipe": "practice_electrokinetic_revive" } ]
  }
]
