[
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_SPACIAL_VORTEX",
    "effect": [
      { "u_cast_spell": { "id": "psionic_drained_difficulty_four", "hit_self": true } },
      {
        "switch": { "math": [ "u_spell_level('teleport_collapse')" ] },
        "cases": [
          { "case": 0, "effect": [ { "u_cast_spell": { "id": "teleport_collapse_01", "hit_self": false }, "targeted": true } ] },
          {
            "case": 4,
            "effect": [ { "u_cast_spell": { "id": "teleport_collapse_02", "hit_self": false }, "targeted": true } ]
          },
          {
            "case": 8,
            "effect": [ { "u_cast_spell": { "id": "teleport_collapse_03", "hit_self": false }, "targeted": true } ]
          },
          {
            "case": 12,
            "effect": [ { "u_cast_spell": { "id": "teleport_collapse_04", "hit_self": false }, "targeted": true } ]
          },
          {
            "case": 16,
            "effect": [ { "u_cast_spell": { "id": "teleport_collapse_05", "hit_self": false }, "targeted": true } ]
          },
          {
            "case": 20,
            "effect": [ { "u_cast_spell": { "id": "teleport_collapse_06", "hit_self": false }, "targeted": true } ]
          },
          {
            "case": 24,
            "effect": [ { "u_cast_spell": { "id": "teleport_collapse_07", "hit_self": false }, "targeted": true } ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_SUMMON",
    "effect": [
      { "u_spawn_monster": "GROUP_NETHER_BREACH", "group": true, "real_count": [ 1, 3 ], "min_radius": 2, "max_radius": 6 }
    ]
  }
]
