As two actions, you craft an illusion that takes root in the mind of a creature that you can touch or see within 10 meters which must make a Will saving throw.
On a failed save, you create a phantasmal object, creature, or other visible phenomenon of your choice that is no larger than a 2-meter cube and that is perceivable only to the target for the duration. This spell has no effect on constructs or undead.
The phantasm includes sound, temperature, and other stimuli, also evident only to the creature.
A creature can use an action to examine the phantasm, making an ability check using Perception (Intelligence) against your spell save Difficulty. If the check succeeds, the target realizes that the phantasm is an illusion, and the spell ends.
While a target is affected by the spell, the target treats the phantasm as if it were real. The target rationalizes any illogical outcomes from interacting with the phantasm. For example, a target attempting to walk across a phantasmal bridge that spans a chasm falls once it steps onto the bridge. If the target survives the fall, it still believes that the bridge exists and comes up with some other explanation for its fall—it was pushed, it slipped, or a strong wind (at least 30 kilometers per hour) might have knocked it off.
An affected target is so convinced of the phantasm’s reality that it can even take damage from the illusion. A phantasm created to appear as a creature can attack the target. Similarly, a phantasm created to appear as fire, a pool of acid, or lava can burn the target. Each round on your turn, the phantasm can deal 1d6 psychic damage to the target if it is in the phantasm’s area or within 1 meter of the phantasm, provided that the illusion is of a creature or hazard that could logically deal damage, such as by attacking. The target perceives the damage as a type appropriate to the illusion.