Curse of Shadow

4th-level Necromancy
Casting Time: 1 action
Range: 90 feet
Components: VS
Duration: (C) 1 minute

Choose one creature you can see within range, and choose one of the following damage types: arcane, psychic, necrotic, shadow, or poison. The target must succeed on a Constitution saving throw or be affected by the spell for its duration. The first time each turn the affected target takes damage of the chosen type, the target takes an extra 2d6 damage of that type. Moreover, the target loses any resistance to that damage type until the spell ends.
Dispel magic has no effect on this spell, but remove curse or other similar abilities can remove it.
At Higher Levels. If you cast this spell using a spell slot of 5th level or higher, you can target one additional creature for each slot level above 4th. The creatures must be within 30 feet of each other when you target them.

Source: Homebrew