You attempt to reshape another creature’s memories. One creature that you can see within range makes an Intelligence saving throw. On a failed save, the target is Charmed for the duration. While Charmed in this way, the target will forget why it has walked into the room or the current thing it was doing. there is a 15% chance the spell backfires on the caster
While this charm lasts, you can affect the target’s memory of the event that it experienced within the last 60 seconds. You can permanently eliminate all memory of the event
You have to speak to the target to describe how its memories are affected it only forgets what it was doing or the current task it had set out to do when walking into the room and Its mind fills in any gaps in the details of your description. If the spell ends before you finish describing the modified memories, the creature’s memory isn’t altered. Otherwise, the modified memories take hold when the spell ends.
A modified memory doesn’t necessarily affect how a creature behaves, particularly if the memory contradicts the creature’s natural inclinations, alignment, or beliefs. An illogical modified memory, such as a false memory of how much the creature enjoyed swimming in acid, is dismissed as a bad dream. The DM might deem a modified memory too nonsensical to affect a creature.