As two actions, a creature that you can touch or see within 20 meters must make a Will saving throw. Creatures immune to being frightened automatically succeed on the saving throw.
On a failed save, you force it to see enemies everywhere as it loses the ability to distinguish friend from foe, regarding all creatures it can see as enemies until the spell ends. Each time the target takes damage, it can repeat the saving throw, ending the effect on itself on a success.
Whenever the affected creature chooses another creature as a target, it must choose the target at random from among the creatures it can see within 20 meters of the attack, spell, or other ability it’s using. If an enemy provokes an opportunity attack from the affected creature, the creature must make that attack if it is able to.
You can target one additional creature for each additional mana or psi expended. The creatures must be within 5 meters of each other when you target them.