Adeila’s Mind Worm
7th-level enchantment
Casting Time: 1 action
Range: 60 feet
Components: V, S
Duration: Concentration up to 1 minute
A creature within range must make an Intelligence saving throw. On a failed save, it takes 6d6 psychic damage and a mirror of your mind enters the mind of the target burrowing deep within its psyche. When it makes an Intelligence or Wisdom ability check, it treats a d20 roll of 16 or higher as a 15. If the save succeeds, it only takes half the damage.
At the start of each of its turns the target makes another Intelligence saving throw. On a failed save, it takes 2d6 psychic damage and you choose a one-minute block of its memories to erase. If the save is successful, the target only takes the psychic damage and the spell ends.
Lost memory can only be restored by Psychic Chirurgery or greater restoration.