Here’s the SRD entry for the spell. It definitely nukes the neutrals.
Which is kind of horrifying because most of the population of any given setting is supposed to be neutral. The average commoner isn’t so greatly committed to following airtight moral codes that they’ll ping on a detect whatever spell, whether that’s good, evil, law, or chaos. Cast that on a crowd of randoms and you’ve probably wiped out three quarters of them.
Which is kind of horrifying because most of the population of any given setting is supposed to be neutral. The average commoner isn’t so greatly committed to following airtight moral codes that they’ll ping on a detect whatever spell, whether that’s good, evil, law, or chaos. Cast that on a crowd of randoms and you’ve probably wiped out three quarters of them.