A silvery beam of righteous moonlight shines down in a 20-foot- radius, 90-foot-high cylinder centered on a point within range. Until the spell ends, dim light fills the cylinder. When a creature enters the spell's area for the first time on a turn or starts its turn there, it is engulfed in ghostly flames that cause searing pain, and it must make a Constitution saving throw. On a failed save it takes 1d4 radiant damage and has disadvantage on attack rolls until the end of its next turn, on successful save it takes only half the damage. When you cast this spells you can choose which creatures are unaffected by the spell.
A shapechanger makes its saving throw with disadvantage. If it fails, it also instantly reverts to its original form and can't assume a different form until it leaves the spell's light.
At Higher Levels. When you cast this spell using a spell slot of 2nd level or higher, the damage increases by 1d4 for each slot level above 1st.